You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
965B

  1. # pip install -U -r requirements.txt
  2. Cython
  3. numpy==1.17
  4. opencv-python
  5. torch>=1.5.1
  6. matplotlib
  7. pillow
  8. tensorboard
  9. PyYAML>=5.3
  10. torchvision
  11. scipy
  12. tqdm
  13. git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI
  14. # Nvidia Apex (optional) for mixed precision training --------------------------
  15. # git clone https://github.com/NVIDIA/apex && cd apex && pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" . --user && cd .. && rm -rf apex
  16. # Conda commands (in place of pip) ---------------------------------------------
  17. # conda update -yn base -c defaults conda
  18. # conda install -yc anaconda numpy opencv matplotlib tqdm pillow ipython
  19. # conda install -yc conda-forge scikit-image pycocotools tensorboard
  20. # conda install -yc spyder-ide spyder-line-profiler
  21. # conda install -yc pytorch pytorch torchvision
  22. # conda install -yc conda-forge protobuf numpy && pip install onnx==1.6.0 # https://github.com/onnx/onnx#linux-and-macos