2019-12-03 00:46:15 +00:00
|
|
|
# pip install -U -r requirements.txt
|
2020-05-16 03:50:58 +00:00
|
|
|
# pycocotools requires numpy 1.17 https://github.com/cocodataset/cocoapi/issues/356
|
|
|
|
numpy == 1.17
|
2020-01-16 17:47:33 +00:00
|
|
|
opencv-python >= 4.1
|
2020-04-23 00:54:56 +00:00
|
|
|
torch >= 1.5
|
2020-06-25 13:09:41 +00:00
|
|
|
torchvision
|
2018-08-26 08:51:39 +00:00
|
|
|
matplotlib
|
2019-03-25 13:59:38 +00:00
|
|
|
pycocotools
|
|
|
|
tqdm
|
2020-01-23 20:24:52 +00:00
|
|
|
pillow
|
2020-04-27 16:21:34 +00:00
|
|
|
tensorboard >= 1.14
|
2019-08-14 13:54:40 +00:00
|
|
|
|
2019-12-14 22:49:18 +00:00
|
|
|
# Nvidia Apex (optional) for mixed precision training --------------------------
|
|
|
|
# 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
|
|
|
|
|
|
|
|
# Conda commands (in place of pip) ---------------------------------------------
|
2019-12-22 16:12:23 +00:00
|
|
|
# conda update -yn base -c defaults conda
|
2020-04-26 21:09:12 +00:00
|
|
|
# conda install -yc anaconda numpy opencv matplotlib tqdm pillow ipython
|
2020-01-18 19:52:26 +00:00
|
|
|
# conda install -yc conda-forge scikit-image pycocotools tensorboard
|
2019-09-04 08:05:42 +00:00
|
|
|
# conda install -yc spyder-ide spyder-line-profiler
|
|
|
|
# conda install -yc pytorch pytorch torchvision
|
2020-01-18 19:52:26 +00:00
|
|
|
# conda install -yc conda-forge protobuf numpy && pip install onnx # https://github.com/onnx/onnx#linux-and-macos
|