likyoo/open-cd

Where can I modify the real configuration file?

Opened this issue · 1 comments

Hello!Where can I modify the real configuration file? I modified the file under the config path, but it didn't take effect during training. Even if I changed it to my own path name, it still prompted me to need "LEVIR-CD". In addition, I did not find the interface for the data set in the configuration file, and I wanted to use some new format of the data set.

Hi! Let's take changeformer as an example.
In the file configs/changeformer/changeformer_mit-b0_256x256_40k_levircd.py , you can see the parm__base__ = '../_base_/models/changeformer_mit-b0.py', '../common/standard_256x256_40k_levircd.py' .
you can modify your dataset configuration file in ../common/standard_256x256_40k_levircd.py and data_root is the base root of your dataset.

If you want to introduce some new format of the data set, the MMSegmentation official docs will help, please see https://mmsegmentation.readthedocs.io/zh_CN/main/user_guides/visualization.html

Hope the above can help you!