-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganize requirements, make albumentations optional (#1969)
* reorganize requirements, make albumentations optional * fix flake8 error * force older version of Pillow until torchvision is fixed * make imagecorruptions optional and update INSTALL.dm * update INSTALL.md * Add note about pillow version * Add build requirements to install instructions
- Loading branch information
Showing
9 changed files
with
138 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,4 @@ | ||
albumentations>=0.3.2 | ||
imagecorruptions | ||
matplotlib | ||
mmcv>=0.2.16 | ||
numpy | ||
pycocotools | ||
six | ||
terminaltables | ||
torch>=1.1 | ||
torchvision | ||
-r requirements/runtime.txt | ||
-r requirements/optional.txt | ||
-r requirements/tests.txt | ||
-r requirements/build.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# These must be installed before building mmdetection | ||
cython | ||
numpy | ||
torch>=1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
albumentations>=0.3.2 | ||
imagecorruptions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
matplotlib | ||
mmcv>=0.2.15 | ||
numpy | ||
pycocotools | ||
six | ||
terminaltables | ||
torch>=1.1 | ||
torchvision | ||
|
||
# need older pillow until torchvision is fixed | ||
Pillow<=6.2.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
isort | ||
asynctest | ||
codecov | ||
flake8 | ||
yapf | ||
isort | ||
pytest | ||
pytest-cov | ||
codecov | ||
pytest-runner | ||
xdoctest >= 0.10.0 | ||
asynctest | ||
|
||
yapf | ||
# Note: used for kwarray.group_items, this may be ported to mmcv in the future. | ||
kwarray |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters