Thank you for your wonderful code. It really helped me a lot.
What I want to ask is about a function.py
I want to know why used scale2stop = math.ceil(math.log(min([opt.max_size, max([real_.shape[2], real_.shape[3]])]) / max([real_.shape[2], real_.shape[3]]),opt.scale_factor_init)) twice in the code below.
I've checked the code works properly when I deleted the second one.
I think the second one should be replaced with scale2stop = math.ceil(math.log(min([opt.max_size, max([real_.shape[2], real_.shape[3]])]) / max([real_.shape[2], real_.shape[3]]),opt.scale_factor))
Thank you for your wonderful code. It really helped me a lot.
What I want to ask is about a
function.py
I want to know why usedscale2stop = math.ceil(math.log(min([opt.max_size, max([real_.shape[2], real_.shape[3]])]) / max([real_.shape[2], real_.shape[3]]),opt.scale_factor_init))
twice in the code below.I've checked the code works properly when I deleted the second one.
I think the second one should be replaced with
scale2stop = math.ceil(math.log(min([opt.max_size, max([real_.shape[2], real_.shape[3]])]) / max([real_.shape[2], real_.shape[3]]),opt.scale_factor))
Thank you for your time to read