mmdetection
mmdetection copied to clipboard
Training with custom dataset but it stuck in an infinite loop
I try to train the mask2former for own dataset. The annotation format is same with coco format. Just resize the image size to (512, 512) and change normalize parameter.
It does print any error message so i can't find the problem. Have anyone get same problem? Thanks.
There's where the program stuck in an infinite loop.

Can you set some breakpoints to locate where it gets stuck?
same here
same here
I fixed it, turns out the classes list has to be given to the dataset, also make sure the num classes are correct everywhere and defined in model and also in dataset config