qc17-THU / DL-SR

Tensorflow/keras implementation for image transformation from low-resolution (LR) image to super-resolved one, including single wide-field (WF) image super-resolution prediction and SIM reconstruction.
MIT License
98 stars 28 forks source link

Save weights before loading weights #20

Open LiShiwei18 opened 1 year ago

LiShiwei18 commented 1 year ago

In line 209 of the train_DFGAN.py file, it seems that the weight is not loaded before g.save_weights(), so the initial weight will be used to override the optimal weight each time the program is executed. I am puzzled that this program should not load the best weight before writing the new weight ?