Error with Inference
Closed this issue · 2 comments
akmaralAW commented
Hello !
I am getting RuntimeError: Error(s) in loading state_dict for DataParallel: size mismatch for module.main_decoder.upsample error. What may cause this error ? I am using images of the same size as for training dataset images.
Akmaral
yassouali commented
Hi @akmaralAW
Maybe try commenting line 85 (not adding data-parallel)
akmaralAW commented
Great ! Works ! Thanks !