READ ME.txt
SRGAN1.0 the original code
SRGAN 1.0–>1.1 because the modified test.py and eval.py cannot run the srresnet structure
so from the website:https://blog.csdn.net/qianbin3200896/article/details/104181552
get the accurate code and add test_srresent.py as well as eval_srresent.py to especially run srrssnet stucture
SRGAN 1.1–>1.2 Try to train the module by COCO dataset to make sure the code make sence
first change the ngpu from 2 to 1 to adapt to our environment
A problem come out :torch.nn.modules.module.ModuleAttributeError: ‘Generator’ object has no attribute ‘module’ so change to
the sulotion is to delete the 'moodule ’ part than run the code
the srresnet training code save as checkpoint_srresnet1.pth while the checkpoint_srresnet.pth is the official weight
the srgan training code save as checkpoint_srgan1.pth while the checkpoint_srgan.pth is the cfficial weight
it works well even When test :(epoch == 2 )
srresnet:
bicubic result:372*520
srresenet result 372*520
SRGAN :
bicubic result
srgan result