The child configuration file inherits the parent configuration file, and then modifies the child configuration file, which does not take effect? #10891
【Problem description】
In the dino configuration file, run the configuration file and find that there are some rewritten configurations in the dino-4scale_r50_8xb2-12e_coco.py file. The field of key = 'train_pipeline' is overwritten, and then re-handed to key = ['train_dataloader']. However, during the training process, the field was not overridden, train_pipeline was successfully overridden, but the'pipeline 'field in train_dataloader' was not overridden, or inherited the'pipeline 'field in the original coco_detection.py, why is this?
this is config.py
Found that the field pipeline has not been overwritten!!!
The field piple is inherited from coco_detection.py file
because import 'base = [...]'
coco_detection.py
However, the source file needs to modify the information!! Why is there no modification!
【Problem description】 In the dino configuration file, run the configuration file and find that there are some rewritten configurations in the dino-4scale_r50_8xb2-12e_coco.py file. The field of key = 'train_pipeline' is overwritten, and then re-handed to key = ['train_dataloader']. However, during the training process, the field was not overridden, train_pipeline was successfully overridden, but the'pipeline 'field in train_dataloader' was not overridden, or inherited the'pipeline 'field in the original coco_detection.py, why is this?
this is config.py Found that the field pipeline has not been overwritten!!! The field piple is inherited from coco_detection.py file because import 'base = [...]' coco_detection.py However, the source file needs to modify the information!! Why is there no modification!