Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question About the adjust_scales2image function in functions.py #49

Open
chenzeyin9867 opened this issue Dec 5, 2019 · 2 comments
Open

Comments

@chenzeyin9867
Copy link

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

@tamarott
Copy link
Owner

tamarott commented Dec 5, 2019

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

@chenzeyin9867
Copy link
Author

OK,I got it ,thank u so much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants