-
I'm currently training a segmentation model with MONAI Label. After each epoch ends, I encounter the following three errors 3 to 5 times:
Despite these errors, the next epoch proceeds and I can see the train_loss gradually but surely decreasing. I am wondering if it's okay to continue training like this despite the errors. Additionally, I would like to know how to fix these errors. Please advise. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
Hi @yys9905, Sorry, I missed this thread. Let us know, |
Beta Was this translation helpful? Give feedback.
-
Encountered similar error while trying to train the Radiology segmentation model. @diazandr3s seek your inputs to overcome the issue.
How to modify the pre-transforms? Please advice. Thank you. Best Regards, |
Beta Was this translation helpful? Give feedback.
-
Hello @diazandr3s , Thank you for your responses.
I've been training MONAILabel for liver, HCC, Hepatic veins and portal vein segmentation, when i encountered the error. No changes have been made to the data or segmentations during training. Similar data and segmentations were used for training on 20 similar cases before!
Please find the error log here. Look forward to further guidance. Thanks and Regards, |
Beta Was this translation helpful? Give feedback.
-
Hi @amitjc, Can you please change this argument to Otherwise, I'd suggest commenting out the whole transform: MONAILabel/sample-apps/radiology/lib/trainers/segmentation.py Lines 119 to 124 in 159e142 Let us know, |
Beta Was this translation helpful? Give feedback.
-
Thanks a ton @diazandr3s.
Changing this parameter, as suggested, has resolved the problem. Best Wishes, |
Beta Was this translation helpful? Give feedback.
Thanks a ton @diazandr3s.
Changing this parameter, as suggested, has resolved the problem.
Best Wishes,
Amit.