Lornatang / SRGAN-PyTorch

A simple and complete implementation of super-resolution paper.
Apache License 2.0
421 stars 104 forks source link

"create_dataset_for_kernelGAN.py" #4

Closed robomike closed 3 years ago

robomike commented 3 years ago

When following the documentation in https://github.com/Lornatang/SRGAN-PyTorch/tree/master/data the command "create_dataset_for_kernelGAN.py" throws an error:

                File "create_dataset_for_kernelGAN.py", line 46
lr_dir = f"./{args.upscale_factor}x/input"
                                         ^
robomike commented 3 years ago

updated to Python3

Lornatang commented 3 years ago

@robomike Yes, this one needs Python 3 to run.