From de5c1cede7b6339612564117416914e5633501c8 Mon Sep 17 00:00:00 2001 From: zhiqwang Date: Tue, 20 Apr 2021 23:21:42 -0400 Subject: [PATCH 1/2] Add comments about requirements --- requirements.txt | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index 12c7e451..5e411181 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,16 +1,33 @@ -# Do not add opencv here. Just like pytorch, user should install +# PyTorch/TorchVision ------------------------- +# Do not add pytorch/torchvision here. For PyTorch and TorchVision +# follow the official instructions at https://pytorch.org/get-started/locally/ +# to install PyTorch 1.7.1+ and torchvision 0.8.2+ +# torch>=1.7.1 +# torchvision>=0.8.2 + +# base ---------------------------------------- +# Just like PyTorch, user should install # opencv themselves, preferrably by OS's package manager, or by # choosing the proper pypi package name at https://github.com/skvark/opencv-python +# opencv-python>=4.1.2 Cython matplotlib>=3.2.2 numpy>=1.18.5 pillow scipy>=1.4.1 tqdm>=4.41.0 + +# export -------------------------------------- onnx>=1.8.0 + +# plotting ------------------------------------ ipython -# pycocotools need python3.7 as minimal -# pip install -U pycocotools>=2.0.2 # corresponds to https://github.com/ppwwyyxx/cocoapi +tabulate + +# Lightning ----------------------------------- pytorch_lightning==1.3.0rc1 torchmetrics -tabulate + +# extras -------------------------------------- +# pycocotools on PyPI needs python3.7 as minimal +# pycocotools>=2.0.2 # corresponds to https://github.com/ppwwyyxx/cocoapi From 2324e734e8393231e5dd2e2a4911cc0ba983dd41 Mon Sep 17 00:00:00 2001 From: zhiqwang Date: Tue, 20 Apr 2021 23:25:14 -0400 Subject: [PATCH 2/2] Remove Cython from requirements --- requirements.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 5e411181..f72d9caa 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,7 +10,6 @@ # opencv themselves, preferrably by OS's package manager, or by # choosing the proper pypi package name at https://github.com/skvark/opencv-python # opencv-python>=4.1.2 -Cython matplotlib>=3.2.2 numpy>=1.18.5 pillow