mmdetection icon indicating copy to clipboard operation
mmdetection copied to clipboard

Training with custom dataset but it stuck in an infinite loop

Open MinHsuanYu opened this issue 2 years ago • 2 comments

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. image

MinHsuanYu avatar Dec 09 '22 10:12 MinHsuanYu

Can you set some breakpoints to locate where it gets stuck?

RangiLyu avatar Dec 13 '22 01:12 RangiLyu

same here

satyajit-ink avatar Jan 10 '23 12:01 satyajit-ink

same here

chenjw1009 avatar Jan 12 '23 02:01 chenjw1009

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

satyajitghana avatar Jan 12 '23 03:01 satyajitghana