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

(#1113) add minimum and maximum aspect ratio bucket parameter and associated tests #1303

Merged
merged 4 commits into from
Jan 27, 2025

Conversation

bghira
Copy link
Owner

@bghira bghira commented Jan 26, 2025

implements #1113

@bghira
Copy link
Owner Author

bghira commented Jan 27, 2025

Enforcing minimum bucket size:   0%|        | 0/12 [00:00<?, ?it/s]
2025-01-26 20:44:26,442 [WARNING] Removing bucket 2.4 due to insufficient samples; your batch size may be too large for the small quantity of data (batch_size=4 > sample_count=1).
2025-01-26 20:44:26,442 [INFO] Enforcing minimum aspect ratio of 0.9. This could take a while for very-large datasets.                                                                                                                                                                                                              
Enforcing minimum aspect ratio:   0%|       | 0/11 [00:00<?, ?it/s]
2025-01-26 20:44:26,443 [INFO] Removing bucket 0.7 due to aspect ratio being less than 0.9.
2025-01-26 20:44:26,443 [INFO] Removing bucket 0.6 due to aspect ratio being less than 0.9.
2025-01-26 20:44:26,443 [INFO] Removing bucket 0.78 due to aspect ratio being less than 0.9.
2025-01-26 20:44:26,443 [INFO] Removing bucket 0.55 due to aspect ratio being less than 0.9.
2025-01-26 20:44:26,443 [INFO] Removing bucket 0.89 due to aspect ratio being less than 0.9.
2025-01-26 20:44:26,444 [INFO] Enforcing maximum aspect ratio of 1.1. This could take a while for very-large datasets.                                                                                                                                                                                                              
Enforcing maximum aspect ratio:   0%|       | 0/6 [00:00<?, ?it/s]
2025-01-26 20:44:26,444 [INFO] Removing bucket 1.43 due to aspect ratio being greater than 1.1.
2025-01-26 20:44:26,444 [INFO] Removing bucket 1.29 due to aspect ratio being greater than 1.1.
2025-01-26 20:44:26,445 [INFO] Removing bucket 1.83 due to aspect ratio being greater than 1.1.
2025-01-26 20:44:26,445 [INFO] Removing bucket 1.67 due to aspect ratio being greater than 1.1.
2025-01-26 20:44:26,445 [INFO] Removing bucket 1.12 due to aspect ratio being greater than 1.1.
2025-01-26 20:44:26,448 [INFO] Completed aspect bucket update.                                                                                                                                                                                                                                                                      

@bghira bghira merged commit 4bc85b8 into main Jan 27, 2025
1 check passed
@bghira bghira deleted the feature/minmax-aspect-bucket-bounds branch January 27, 2025 02:47
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

Successfully merging this pull request may close these issues.

1 participant