You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@w1oves
Thanks for sharing your code, I was wondering which part of the code I should modify if I want to train my own data set? Because your code is complicated, I am not sure if it is ok to modify only train_dataloader? And I don't know how to modify train_dataloader properly
Now, can you choose one of the following questions to answer me?
First question: How do you train the model without using mmengine
Second question: If you have to use mmengine, how many parameter Settings in your config file are redundant? In other words, how many of the parameters in configs/dinov2/rein_dinov2_mask2former_512x512_bs1x4.py can be removed during training?
If you could answer my question, I would be very grateful for it.
The text was updated successfully, but these errors were encountered:
w1oves
changed the title
How to train my own dataset。
How to train on new dataset.
Apr 5, 2024
If you intend to train a model on a new dataset, follow these steps:
Create a new configuration file Cfg1 by copying and pasting the configuration from configs/dinov2/rein_dinov2_mask2former_512x512_bs1x4.py.
Create a new dataset configuration Cfg2 in configs/_base_/datasets/.
For standard settings, link it to configs/_base_/datasets/cityscapes_512x512.py.
For domain generalization settings, link it to configs/_base_/datasets/dg_gta_512x512.py.
Adjust certain parameters in Cfg2, such as train_pipeline (especially for scale), data_root, data_prefix, data_suffix, img_suffix, and seg_map_suffix. Also, modify num_classes in Cfg1.
Replace the imported dataset in the _base_ section of Cfg1.
For more detailed information, refer to the documentation.
@w1oves
Thanks for sharing your code, I was wondering which part of the code I should modify if I want to train my own data set? Because your code is complicated, I am not sure if it is ok to modify only train_dataloader? And I don't know how to modify train_dataloader properly
Now, can you choose one of the following questions to answer me?
First question: How do you train the model without using mmengine
Second question: If you have to use mmengine, how many parameter Settings in your config file are redundant? In other words, how many of the parameters in configs/dinov2/rein_dinov2_mask2former_512x512_bs1x4.py can be removed during training?
If you could answer my question, I would be very grateful for it.
The text was updated successfully, but these errors were encountered: