SinGAN
SinGAN copied to clipboard
Question About the adjust_scales2image function in functions.py
I can not figuer out that this functions is doing , what does the param scale2stop means?
the function calculates the scale factor closest as possible to --scale_factor such that the image at the coarsest scale will be of size --min_size and at the finest scale of size --max_size. scale2stop is the number of the needed pyramid levels to reach --max_size
OK,I got it ,thank u so much