Dootmaan / DSRL

Implementation of CVPR 2020 Dual Super-Resolution Learning for Semantic Segmentation
MIT License
95 stars 17 forks source link

How can I use pretrained weights uploaded on GoogleDrive? #24

Open KaSangeun opened 3 months ago

KaSangeun commented 3 months ago

Hi ! Thank you for sharing your DSRL codes.

I wonder how I can use retrained weights uploaded on your GoogleDrive. Do I just download it and type train.py --resume 'path/to/weights' into the terminal ?

Dootmaan commented 3 months ago

Hi @KaSangeun and thank you for your question. After you download the weights, please find the path to you weights (let's assume the path is "/home/kasangeun/your_downloaded_weights.pt") and run our code with

python3 -u train.py --resume /home/kasangeun/your_downloaded_weights.pt
KaSangeun commented 3 months ago

Thank you for the speedy reply and it finally works now ! Thank you for your help :)

I have one more question, when I trained the code, I can see the Loss value came out over 500 per epoch. (As shown in the attached pic) Is that normal Loss value from DSRL?

스크린샷 2024-05-21 오후 1 06 36
Dootmaan commented 3 months ago

Thank you for the speedy reply and it finally works now ! Thank you for your help :)

I have one more question, when I trained the code, I can see the Loss value came out over 500 per epoch. (As shown in the attached pic) Is that normal Loss value from DSRL? 스크린샷 2024-05-21 오후 1 06 36

That seems unusual to me, considering that the validation performance is still good. Maybe you could print the several losses separately to check which one has probably gone wrong. You could also try to train from scratch to see whether the loss will change.

KaSangeun commented 3 months ago

Thanks for the helpful advice. I'll try it !

KaSangeun commented 2 months ago

Hello ! I have a question during training DSRL code. I am curious about the training conditions of the 2020-12-15 pretrained model including the dataset, input size, which backbone network you used, etc. Could you please let me know ?