Skip to content
Snippets Groups Projects
Unverified Commit 5e69769a authored by Jerry Jiarui XU's avatar Jerry Jiarui XU Committed by GitHub
Browse files

Update setup.py (#3293)

* Update setup.py

* update ci
parent af33f11c
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,6 @@ jobs:
run: |
pip install mmcv-full==latest+torch${{matrix.torch}}+cu101 -f https://openmmlab.oss-accelerate.aliyuncs.com/mmcv/dist/index.html
pip install -r requirements.txt
pip install "git+https://github.com/open-mmlab/cocoapi.git#subdirectory=pycocotools"
- name: Lint with flake8
run: flake8 .
- name: Lint with isort
......
......@@ -16,6 +16,10 @@
```
pip install "git+https://github.com/open-mmlab/cocoapi.git#subdirectory=lvis"
```
or
```
pip install -r requirements/optional.txt
```
* All experiments use oversample strategy [here](../../docs/tutorials/new_dataset.md#class-balanced-dataset) with oversample threshold `1e-3`.
* The size of LVIS v0.5 is half of COCO, so schedule `2x` in LVIS is roughly the same iterations as `1x` in COCO.
......
......@@ -74,7 +74,6 @@ for better compatibility with our repo.)
```shell
pip install -r requirements/build.txt
pip install "git+https://github.com/open-mmlab/cocoapi.git#subdirectory=pycocotools"
pip install -v -e . # or "python setup.py develop"
```
......@@ -152,7 +151,6 @@ pip install mmcv-full
git clone https://github.com/open-mmlab/mmdetection.git
cd mmdetection
pip install -r requirements/build.txt
pip install "git+https://github.com/open-mmlab/cocoapi.git#subdirectory=pycocotools"
pip install -v -e .
```
......
albumentations>=0.3.2
cityscapesscripts
imagecorruptions
lvis@git+https://github.com/open-mmlab/cocoapi.git#subdirectory=lvis
......@@ -6,3 +6,4 @@ six
terminaltables
torch>=1.3
torchvision
pycocotools@git+https://github.com/open-mmlab/cocoapi.git#subdirectory=pycocotools
......@@ -142,6 +142,8 @@ def parse_requirements(fname='requirements.txt', with_version=True):
info = {'line': line}
if line.startswith('-e '):
info['package'] = line.split('#egg=')[1]
elif '@git+' in line:
info['package'] = line
else:
# Remove versioning from the package
pat = '(' + '|'.join(['>=', '==', '>']) + ')'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment