mmsegmentation icon indicating copy to clipboard operation
mmsegmentation copied to clipboard

there are nan values

Open Winnie202 opened this issue 3 years ago • 2 comments

I don't know why there are nan values,train config is upernet_convnext_large_fp16_640x640_160k_ade20k.py 2022-08-09 19-09-32屏幕截图

Winnie202 avatar Aug 09 '22 11:08 Winnie202

Hi @Winnie202, Thanks for your error report and we appreciate it a lot. Did you make any modifications to the code or config? Is the num_classe of decode_head the same as the number of classes in your dataset? If possible, is it convenient to provide more details? This will help us locate the problem.

xiexinch avatar Aug 09 '22 11:08 xiexinch

Yes, I modified the category in the configuration file to be consistent with my data, this is my json file and classes 2022-08-10 10-00-59屏幕截图 2022-08-10 10-01-16屏幕截图 2022-08-10 10-01-37屏幕截图 2022-08-10 10-16-49屏幕截图

Winnie202 avatar Aug 10 '22 02:08 Winnie202

Any update on this?

yxchng avatar Mar 06 '23 01:03 yxchng