Closed
Description
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, only data_root
was successfully changed whereas img_prefix
, ann_file
under cfg.data.train
and cfg.data.val
are still populated by the default data/coco/
(for example, data/coco/train2017/
). It looks like those fields have already been populated in _base_/datasets/coco_detection.py
before my change to data_root
takes place.
I want to avoid making symlinks under the current project. How to overwrite fields like this?
Thank you!