Open wolfam0108 opened 4 years ago
I tried running transer_RRDB_models.py. But the result:
(base) vova@wolfram-pc:/tmp/ESRGAN$ python3 ./transer_RRDB_models.py
###################################
Traceback (most recent call last):
File "./transer_RRDB_models.py", line 31, in <module>
crt_net['conv_first.weight'] = pretrained_net['model.0.weight']
KeyError: 'model.0.weight'
BasicSR的“ESRGAN_PSNR_SRx4_DF2K_official-150ff491.pth”和这里的的RRDB_PSNR_x4.pth有什么不同呢???能否互相转换呢???
I will duplicate here. Wrote here by mistake. My model based on "ESRGAN_PSNR_SRx4_DF2K_official-150ff491.pth" has finished training. The files net_g_XXX and net_d_XXX appeared in the folder experiments \ model name \ model.
I don't understand python at all. How can I apply the trained model, for example, in your ESRGAN project?
If I put in "test.py" ESRGAN the path to net_g_XXX.pth, this should work for image processing?
When I apply the model, I get this:
File "test.py" from ESRGAN project: