SinGAN icon indicating copy to clipboard operation
SinGAN copied to clipboard

Question About the adjust_scales2image function in functions.py

Open chenzeyin9867 opened this issue 5 years ago • 2 comments

I can not figuer out that this functions is doing , what does the param scale2stop means?

chenzeyin9867 avatar Dec 05 '19 07:12 chenzeyin9867

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

tamarott avatar Dec 05 '19 08:12 tamarott

OK,I got it ,thank u so much

chenzeyin9867 avatar Dec 06 '19 02:12 chenzeyin9867