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

Why is max_pixels set to 401408? #96

Open
flashcp opened this issue Feb 14, 2025 · 2 comments
Open

Why is max_pixels set to 401408? #96

flashcp opened this issue Feb 14, 2025 · 2 comments

Comments

@flashcp
Copy link

flashcp commented Feb 14, 2025

Hello, I have a question abot training configuration, why is max_pixels set to 401408?

Image width 640 and height 480, I guess the calculation is as follows

640 * 480 * 3 / 2=460800, but is not equal 401408

@zhangzef
Copy link
Contributor

Maybe it's 4484482=401,408.
3 is the number of channels, and pixels are independent of channels.

@m-Just
Copy link

m-Just commented Feb 18, 2025

It's 512 * 28 * 28 (Ref).

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

3 participants