jeya-maria-jose / UNeXt-pytorch

Official Pytorch Code base for "UNeXt: MLP-based Rapid Medical Image Segmentation Network", MICCAI 2022
https://jeya-maria-jose.github.io/UNext-web/
MIT License
459 stars 76 forks source link

Unexpected error in data traning #40

Open sunqiangzai opened 7 months ago

sunqiangzai commented 7 months ago

I am a newer for machine learning. I got the following error:

image

here is the code: python train.py --dataset test --arch UNext --name test --img_ext .jpg --mask_ext .png --lr 0.0001 --epochs 500 --input_w 512 --input_h 512 --b 8

and test data folder structure:

image

How can I fix it.