-
Notifications
You must be signed in to change notification settings - Fork 9.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a better way to specify data root? #6915
Labels
Comments
4 tasks
ZwwWayne
added
enhancement
New feature or request
feature request
Request new features
labels
Mar 14, 2022
CCODING04
pushed a commit
to CCODING04/mmdetection
that referenced
this issue
Mar 14, 2022
CCODING04
added a commit
to CCODING04/mmdetection
that referenced
this issue
Mar 15, 2022
CCODING04
pushed a commit
to CCODING04/mmdetection
that referenced
this issue
Mar 15, 2022
CCODING04
added a commit
to CCODING04/mmdetection
that referenced
this issue
Mar 15, 2022
CCODING04
added a commit
to CCODING04/mmdetection
that referenced
this issue
Mar 15, 2022
CCODING04
added a commit
to CCODING04/mmdetection
that referenced
this issue
Mar 15, 2022
CCODING04
added a commit
to CCODING04/mmdetection
that referenced
this issue
Mar 16, 2022
… test.py and browse_dataset.py
CCODING04
added a commit
to CCODING04/mmdetection
that referenced
this issue
Mar 16, 2022
CCODING04
added a commit
to CCODING04/mmdetection
that referenced
this issue
Mar 16, 2022
ZwwWayne
pushed a commit
that referenced
this issue
Mar 25, 2022
* Fix #6915: Support to set data root through commands * Support #6915: seperate function in tools/utils.py, support test.py and browse_dataset.py * update #6915: refactor the code ref @hhaAndroid advice * support #6915: fix format problem * supoort corresponding scripts and update doc @hhaAndroid * updata misc.py as @ZwwWayne and @hhaAndroid * Update mmdet/utils/misc.py Co-authored-by: Haian Huang(深度眸) <[email protected]> * fix mmdet/utils/misc.py format problem Co-authored-by: Haian Huang(深度眸) <[email protected]>
ZwwWayne
pushed a commit
that referenced
this issue
Jul 18, 2022
* Fix #6915: Support to set data root through commands * Support #6915: seperate function in tools/utils.py, support test.py and browse_dataset.py * update #6915: refactor the code ref @hhaAndroid advice * support #6915: fix format problem * supoort corresponding scripts and update doc @hhaAndroid * updata misc.py as @ZwwWayne and @hhaAndroid * Update mmdet/utils/misc.py Co-authored-by: Haian Huang(深度眸) <[email protected]> * fix mmdet/utils/misc.py format problem Co-authored-by: Haian Huang(深度眸) <[email protected]>
ZwwWayne
pushed a commit
to ZwwWayne/mmdetection
that referenced
this issue
Jul 19, 2022
* Fix open-mmlab#6915: Support to set data root through commands * Support open-mmlab#6915: seperate function in tools/utils.py, support test.py and browse_dataset.py * update open-mmlab#6915: refactor the code ref @hhaAndroid advice * support open-mmlab#6915: fix format problem * supoort corresponding scripts and update doc @hhaAndroid * updata misc.py as @ZwwWayne and @hhaAndroid * Update mmdet/utils/misc.py Co-authored-by: Haian Huang(深度眸) <[email protected]> * fix mmdet/utils/misc.py format problem Co-authored-by: Haian Huang(深度眸) <[email protected]>
SakiRinn
pushed a commit
to SakiRinn/mmdetection-locount
that referenced
this issue
Mar 17, 2023
* Fix open-mmlab#6915: Support to set data root through commands * Support open-mmlab#6915: seperate function in tools/utils.py, support test.py and browse_dataset.py * update open-mmlab#6915: refactor the code ref @hhaAndroid advice * support open-mmlab#6915: fix format problem * supoort corresponding scripts and update doc @hhaAndroid * updata misc.py as @ZwwWayne and @hhaAndroid * Update mmdet/utils/misc.py Co-authored-by: Haian Huang(深度眸) <[email protected]> * fix mmdet/utils/misc.py format problem Co-authored-by: Haian Huang(深度眸) <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Hi! I was wondering if there's a better way to change the data root. Specifically, when I tried to train on COCO I specified
data_root
either through--cfg-options
or hard-code it in the config file. However, onlydata_root
was successfully changed whereasimg_prefix
,ann_file
undercfg.data.train
andcfg.data.val
are still populated by the defaultdata/coco/
(for example,data/coco/train2017/
). It looks like those fields have already been populated in_base_/datasets/coco_detection.py
before my change todata_root
takes place.I want to avoid making symlinks under the current project. How to overwrite fields like this?
Thank you!
The text was updated successfully, but these errors were encountered: