LinGrayy / PLPB

Datasets & Code for the WACV 2024 paper 'Robust Source-Free Domain Adaptation for Fundus Image Segmentation'
10 stars 1 forks source link

Label_to_colormap file missing from dataloaders #3

Open dogeONE-bit opened 10 months ago

dogeONE-bit commented 10 months ago

When I train train_source.py, I encounter problems: no module named 'dataloaders.label_to_colormap'

CakeZH commented 10 months ago

There's a lot of mistake in this project code. You can try the "label_to_colormap.py" in this link: https://github.com/val-iisc/MixupDA/blob/2313ab4ab43c7d9bc7cf82e90a8cc22bf4e9e590/segmentation/vendorside/label_to_colormap.py

LinGrayy commented 10 months ago

When I train train_source.py, I encounter problems: no module named 'dataloaders.label_to_colormap'

Hi, there. I have uploaded the file label_to_colormap.py. Thanks for pointing it out.

CakeZH commented 10 months ago

Thank you! you also miss the "custom_transformsemi.py" in dataloader

LinGrayy commented 10 months ago

Thank you! you also miss the "custom_transformsemi.py" in dataloader

oh I'm sorry I forgot to revise this, you can just change all 'custom_transformsemi' to 'custom_transforms'. Thank you very much for your reply! :)

dogeONE-bit commented 10 months ago

Thank you! you also miss the "custom_transformsemi.py" in dataloader

oh I'm sorry I forgot to revise this, you can just change all 'custom_transformsemi' to 'custom_transforms'. Thank you very much for your reply! :)

Thank you. I sincerely beg you to re-upload all the files, I am experiencing so many problems like: 'dataloaders.fundus_dataloader' has no attribute 'FundusSegmentation_pgd' and dataloaders.custom_transforms' has no attribute 'Normalize_tf1'.