Skip to content

[Feature]Add coco, lvis and voc dataset download script based on pr #6715#7015

Merged
ZwwWayne merged 18 commits intoopen-mmlab:devfrom
Czm369:coco_download
Jan 19, 2022
Merged

[Feature]Add coco, lvis and voc dataset download script based on pr #6715#7015
ZwwWayne merged 18 commits intoopen-mmlab:devfrom
Czm369:coco_download

Conversation

@Czm369
Copy link
Copy Markdown
Collaborator

@Czm369 Czm369 commented Jan 17, 2022

Motivation

Add a script to download coco2017, lvis, voc2007 dataset based on #6715

Modification

Add a python file in tools/misc

BC-breaking (Optional)

This script do not link any other files

Use cases (Optional)

You can use command "python tools/download.py " to download coco2017 dataset.
Linux for using command "python tools/misc/download.py
You can alse use flag --unzip to unzip the zipfiles
such as python tools/misc/download.py --unzip

Checklist

  1. Pre-commit or other linting tools are used to fix the potential lint issues.
  2. The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
  3. If the modification has potential influence on downstream projects, this PR should be tested with downstream projects, like MMDet or MMCls.
  4. The documentation has been modified accordingly, like docstring or example tutorials.

@Czm369 Czm369 changed the title Coco download based on https://github.com/open-mmlab/mmdetection/pull/6715/commits [Feature]Add coco dataset download script based on pr #6715 Jan 17, 2022
@Czm369 Czm369 changed the title [Feature]Add coco dataset download script based on pr #6715 [Feature]Add coco, lvis and voc dataset download script based on pr #6715 Jan 17, 2022
@Czm369 Czm369 changed the base branch from master to dev January 17, 2022 07:36
@RangiLyu RangiLyu added enhancement New feature or request planned feature labels Jan 17, 2022
@codecov
Copy link
Copy Markdown

codecov bot commented Jan 17, 2022

Codecov Report

Merging #7015 (2d1b96d) into dev (4b87ddc) will not change coverage.
The diff coverage is n/a.

❗ Current head 2d1b96d differs from pull request most recent head 110d45a. Consider uploading reports for the commit 110d45a to get more accurate results
Impacted file tree graph

@@           Coverage Diff           @@
##              dev    #7015   +/-   ##
=======================================
  Coverage   62.39%   62.39%           
=======================================
  Files         329      329           
  Lines       26176    26176           
  Branches     4432     4432           
=======================================
  Hits        16332    16332           
- Misses       8974     8975    +1     
+ Partials      870      869    -1     
Flag Coverage Δ
unittests 62.37% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
mmdet/core/bbox/samplers/random_sampler.py 75.00% <0.00%> (-5.56%) ⬇️
mmdet/core/bbox/assigners/max_iou_assigner.py 73.68% <0.00%> (+1.31%) ⬆️
mmdet/core/bbox/samplers/sampling_result.py 74.60% <0.00%> (+1.58%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4b87ddc...110d45a. Read the comment docs.

@RangiLyu
Copy link
Copy Markdown
Member

Add documentation of this tool in docs/en/1_exist_data_model.md and docs/en/useful_tools.md.

…/zh_cn/1_exist_data_model.md and docs/en/useful_tools.md.
hhaAndroid
hhaAndroid previously approved these changes Jan 19, 2022
@ZwwWayne ZwwWayne merged commit 75f26c8 into open-mmlab:dev Jan 19, 2022
chhluo pushed a commit to chhluo/mmdetection that referenced this pull request Feb 21, 2022
…pen-mmlab#6715 (open-mmlab#7015)

* Add coco dataset download script 

You can use command "python tools/download.py --win --unzip" to download coco dataset.
Linux for using command "python tools/download.py  --unzip"

* Add coco dataset download script

* Add coco dataset download script

* Add coco dataset download script

* add some notes and modify dataset urls

* add some notes and modify dataset urls

* remove some useless lines and modify urls list to dict

* add urls of lvis and voc, and delete --win

* add parse_args()

* Add documentation of this tool in docs/en/1_exist_data_model.md, docs/zh_cn/1_exist_data_model.md and docs/en/useful_tools.md.

* add a link

* Download files regardless of system。

* Use get() of dict

* add empty line above the code block

* Update useful_tools.md

Co-authored-by: q3394101 <92794867+q3394101@users.noreply.github.com>
Co-authored-by: q3394101 <3394101@qq.com>
Co-authored-by: Wenwei Zhang <40779233+ZwwWayne@users.noreply.github.com>
ZwwWayne added a commit that referenced this pull request Jul 18, 2022
…6715 (#7015)

* Add coco dataset download script 

You can use command "python tools/download.py --win --unzip" to download coco dataset.
Linux for using command "python tools/download.py  --unzip"

* Add coco dataset download script

* Add coco dataset download script

* Add coco dataset download script

* add some notes and modify dataset urls

* add some notes and modify dataset urls

* remove some useless lines and modify urls list to dict

* add urls of lvis and voc, and delete --win

* add parse_args()

* Add documentation of this tool in docs/en/1_exist_data_model.md, docs/zh_cn/1_exist_data_model.md and docs/en/useful_tools.md.

* add a link

* Download files regardless of system。

* Use get() of dict

* add empty line above the code block

* Update useful_tools.md

Co-authored-by: q3394101 <92794867+q3394101@users.noreply.github.com>
Co-authored-by: q3394101 <3394101@qq.com>
Co-authored-by: Wenwei Zhang <40779233+ZwwWayne@users.noreply.github.com>
ZwwWayne added a commit to ZwwWayne/mmdetection that referenced this pull request Jul 19, 2022
…pen-mmlab#6715 (open-mmlab#7015)

* Add coco dataset download script 

You can use command "python tools/download.py --win --unzip" to download coco dataset.
Linux for using command "python tools/download.py  --unzip"

* Add coco dataset download script

* Add coco dataset download script

* Add coco dataset download script

* add some notes and modify dataset urls

* add some notes and modify dataset urls

* remove some useless lines and modify urls list to dict

* add urls of lvis and voc, and delete --win

* add parse_args()

* Add documentation of this tool in docs/en/1_exist_data_model.md, docs/zh_cn/1_exist_data_model.md and docs/en/useful_tools.md.

* add a link

* Download files regardless of system。

* Use get() of dict

* add empty line above the code block

* Update useful_tools.md

Co-authored-by: q3394101 <92794867+q3394101@users.noreply.github.com>
Co-authored-by: q3394101 <3394101@qq.com>
Co-authored-by: Wenwei Zhang <40779233+ZwwWayne@users.noreply.github.com>
@Czm369 Czm369 deleted the coco_download branch August 20, 2022 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request planned feature

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

5 participants