cchen-cc / SFDA-DPL

[MICCAI'21] Source-Free domain adaptive fundus image segmentation with denoised pseudo-labeling
51 stars 9 forks source link

Have a problem on source model #2

Open Hazusa opened 2 years ago

Hazusa commented 2 years ago

The following error occurs when running the program:

==> Loading DeepLab model file: ./logs/source/source_model.pth.tar 0%| | 0/2 [00:05<?, ?it/s] Traceback (most recent call last): File "D:/MyDownloads/SFDA-DPL-main/train_target.py", line 211, in val_cup_dice /= datanum_cnt ZeroDivisionError: float division by zero

Is there something wrong with the source model?

yongpi-scu commented 2 years ago

Please check your data path. You should modify the data path in ./train_source.py, which is "../../../../Data/Fundus/" in default.