-
Notifications
You must be signed in to change notification settings - Fork 9.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mim download odl dataset (#10460)
- Loading branch information
1 parent
5036dc5
commit b3c1165
Showing
8 changed files
with
108 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
include requirements/*.txt | ||
include mmdet/VERSION | ||
include mmdet/.mim/model-index.yml | ||
include mmdet/.mim/dataset-index.yml | ||
include mmdet/.mim/demo/*/* | ||
recursive-include mmdet/.mim/configs *.py *.yml | ||
recursive-include mmdet/.mim/tools *.sh *.py |
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,17 @@ | ||
voc2007: | ||
dataset: PASCAL_VOC2007 | ||
download_root: data | ||
data_root: data | ||
script: tools/dataset_converters/scripts/preprocess_voc2007.sh | ||
|
||
voc2012: | ||
dataset: PASCAL_VOC2012 | ||
download_root: data | ||
data_root: data | ||
script: tools/dataset_converters/scripts/preprocess_voc2012.sh | ||
|
||
coco2017: | ||
dataset: COCO_2017 | ||
download_root: data | ||
data_root: data/coco | ||
script: tools/dataset_converters/scripts/preprocess_coco2017.sh |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env bash | ||
|
||
DOWNLOAD_DIR=$1 | ||
DATA_ROOT=$2 | ||
|
||
unzip $DOWNLOAD_DIR/COCO_2017/raw/Images/val2017.zip -d $DATA_ROOT | ||
unzip $DOWNLOAD_DIR/COCO_2017/raw/Images/train2017.zip -d $DATA_ROOT | ||
unzip $DOWNLOAD_DIR/COCO_2017/raw/Images/test2017.zip -d $DATA_ROOT/ | ||
unzip $DOWNLOAD_DIR/COCO_2017/raw/Images/unlabeled2017.zip -d $DATA_ROOT | ||
unzip $DOWNLOAD_DIR/COCO_2017/raw/Annotations/stuff_annotations_trainval2017.zip -d $DATA_ROOT/ | ||
unzip $DOWNLOAD_DIR/COCO_2017/raw/Annotations/panoptic_annotations_trainval2017.zip -d $DATA_ROOT/ | ||
unzip $DOWNLOAD_DIR/COCO_2017/raw/Annotations/image_info_unlabeled2017.zip -d $DATA_ROOT/ | ||
unzip $DOWNLOAD_DIR/COCO_2017/raw/Annotations/image_info_test2017.zip -d $DATA_ROOT/ | ||
unzip $DOWNLOAD_DIR/COCO_2017/raw/Annotations/annotations_trainval2017.zip -d $DATA_ROOT | ||
rm -rf $DATA_ROOT/COCO_2017 |
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,8 @@ | ||
#!/usr/bin/env bash | ||
|
||
DOWNLOAD_DIR=$1 | ||
DATA_ROOT=$2 | ||
|
||
tar -xvf $DOWNLOAD_DIR/PASCAL_VOC2007/raw/VOCtrainval_06-Nov-2007.tar -C $DATA_ROOT | ||
tar -xvf $DOWNLOAD_DIR/PASCAL_VOC2007/raw/VOCtestnoimgs_06-Nov-2007.tar -C $DATA_ROOT | ||
rm -rf $DATA_ROOT/PASCAL_VOC2007 |
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,8 @@ | ||
#!/usr/bin/env bash | ||
|
||
DOWNLOAD_DIR=$1 | ||
DATA_ROOT=$2 | ||
|
||
tar -xvf $DOWNLOAD_DIR/PASCAL_VOC2012/raw/VOCtrainval_11-May-2012.tar -C $DATA_ROOT | ||
tar -xvf $DOWNLOAD_DIR/PASCAL_VOC2012/raw/VOC2012test.tar -C $DATA_ROOT | ||
rm -rf $DATA_ROOT/PASCAL_VOC2012 |