-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The expriment resulrts in the paper can't be reimplemented! #1
Comments
Did you use the source model we uploaded? |
==> Loading DeepLab model file: ./logs/source/source_model.pth.tar source_model.pth.tar is downloaded from here |
How about the results for the other test dataset? |
==> Loading DeepLab model file: ./logs/source/source_model.pth.tar The results on the RIM-ONE-r3 dataset. It seems that the Optic Cup Segmentation results are lower. |
Strange, will have a check. |
@Leesoon1984 Did you use higher pytorch and cuda version? |
pytorch: 1.9.0 I train the source model from scratch and use it to generate pseudo labels. ==> Loading DeepLab model file: ./logs/Domain2/20210925_174225.317580/checkpoint_170.pth.tar |
@Leesoon1984 The results difference seems to be caused by the different PyTorch version. I'm not sure why higher PyTorch version will lead to performance decrease on the optic cup segmentation (the results for optic disc are comparable). If you could try to use the version 0.4.1, which is the version we used to obtain the results in the paper, the results are reproducible. |
BEAL:test.py, the predictions are post-processed differently for RIM-ONE-r3 and Drishti-GS dataset.
In this code,
|
The evaluation code is included in the train_target.py and we did not use a separate evaluation script. |
I got the result on dataset RIM_ONE r3 |
I got the result when using the domain 2 as target domain : |
Did you use the author's soure model? |
I did. I did not train from scatch. |
When i use the file "source_model.pth.tar"
The following error occured when i use the file "source_model.pth.tar" ==> Loading DeepLab model file: ./logs/source/source_model.pth.tar Does this mean the model file is wrong? |
I met the same problem. I guess the problem is that your dataset path is wrong and the model do not have input images. You can debug it. |
@Brandy0k May I ask what directory is your dataset located in? I tried to change the dataset path and get the RunTimeError. |
@Hazusa The path of dataset is "/data/***/SFDA-VESSEL/datasets" on linux. I think you should check the dataloader can not read images first. If the dataloader can read images correctly, I think this problem will not happen. |
Thanks for your reply, i will try it. |
0%| | 0/2 [00:00<?, ?it/s]cup: 0.8066 disc: 0.9631 avg: 0.8848 cup: 13.1680 disc: 4.2408 avg: 8.7044
best cup: 0.8066 best disc: 0.9631 best avg: 0.8848 best cup: 13.1680 best disc: 4.2408 best avg: 8.7044
50%|█████████████████▌ | 1/2 [00:17<00:17, 17.49s/it]cup: 0.8178 disc: 0.9654 avg: 0.8916 cup: 12.3657 disc: 4.0131 avg: 8.1894
best cup: 0.8178 best disc: 0.9654 best avg: 0.8916 best cup: 12.3657 best disc: 4.0131 best avg: 8.1894
100%|███████████████████████████████████| 2/2 [00:34<00:00, 17.42s/it]
The text was updated successfully, but these errors were encountered: