jingyuanli001 / RFR-Inpainting

The source code for CVPR 2020 accepted paper "Recurrent Feature Reasoning for Image Inpainting"
MIT License
355 stars 76 forks source link

Final checkpoint not being saved if it already exists #46

Closed Cristy94 closed 2 years ago

Cristy94 commented 3 years ago

The problem is here:

https://github.com/jingyuanli001/RFR-Inpainting/blob/faed6f154e01fc3accce5dff82a5b28e6f426fbe/model.py#L76-L78

The final line (save_ckpt) should not be inside the if.

jingyuanli001 commented 3 years ago

I see, thanks for pointing this out! I thought I was having some assumptions regarding the path...