Open camjac251 opened 4 years ago
the original code only has suffix=down
as an option.
The other options do exist, but idk why it wasn't included.
This is my solution:
go to degrade.py
and remove #elif...
at line 45
and replace it with
elif suffix == 'full':
return get_full()
elif suffix == 'noise':
return get_noise()
elif suffix == 'blur':
return get_blur()
elif suffix == 'jpeg':
return get_jpeg()
elif suffix == '16x':
return get_jpeg()
@cloudweather why did you use get_jpeg() for the 16x suffix?
I created a new function based on get_down()
using the value 0.0625 for scale. Works for 165 images then crashes and I'm not sure why.
Does this support python 3.6? I'm running into issues with the degrade.py step. I set
suffix
to full and source_dir to a folder with 10,000 or so images from the FFHQ dataset but end up getting this error. Is 512x512 an absolute requirement for the first step to work?