Lornatang / SRGAN-PyTorch

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

Unnecessary 'not' in line 38 in file 'test.py #57

Closed itayalm closed 2 years ago

itayalm commented 2 years ago

According to my understanding, the code is supposed to delete the results directory only if it already exists. On the other hand, we enter the 'if' condition only if the directory does not exist.

Lornatang commented 2 years ago

Yes, this is a mistake in my writing. Thank you for pointing out!!