Closed Kim-yhao closed 10 months ago
I want to finetune a DINO with swin-b you provided in Model Zoo on my custom dataset, but it shows that the number of categories does not match.
I guess this is because I didn't change the number of categories. Can you tell me where to change it? Or are there some parameters I need to ignore when loading the model? Where to change them if I need to? THX!
You should check your config and modify the classes num in the config file
I add model.num_classes to the config. It works. THX!
I want to finetune a DINO with swin-b you provided in Model Zoo on my custom dataset, but it shows that the number of categories does not match.
I guess this is because I didn't change the number of categories. Can you tell me where to change it? Or are there some parameters I need to ignore when loading the model? Where to change them if I need to? THX!