-
Notifications
You must be signed in to change notification settings - Fork 26.5k
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
Fuyu: improve image processing #27007
Merged
Merged
Commits on Oct 18, 2023
-
It could produce negative padding and hence inference errors for certain image sizes.
Configuration menu - View commit details
-
Copy full SHA for 36f52d5 - Browse repository at this point
Copy the full SHA 36f52d5View commit details
Commits on Oct 19, 2023
-
Merge remote-tracking branch 'origin/fuyu-scaling-fix' into fuyu_foll…
…ow_up_image_processing
Configuration menu - View commit details
-
Copy full SHA for c710fa9 - Browse repository at this point
Copy the full SHA c710fa9View commit details
Commits on Oct 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1166ca9 - Browse repository at this point
Copy the full SHA 1166ca9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78830e2 - Browse repository at this point
Copy the full SHA 78830e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd6e2c8 - Browse repository at this point
Copy the full SHA dd6e2c8View commit details
Commits on Oct 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4d85112 - Browse repository at this point
Copy the full SHA 4d85112View commit details
Commits on Nov 1, 2023
-
Fuyu processing update (#27133)
* Add file headers * Add file headers * First pass - preprocess method with standard args * First pass image processor rework * Small tweaks * More args and docstrings * Tidying iterating over batch * Tidying up * Modify to have quick tests (for now) * Fix up * BatchFeature * Passing tests * Add tests for processor * Sense check when patchifying * Add some tests * FuyuBatchFeature * Post-process box coordinates * Update to `size` in processor * Remove unused and duplicate constants * Store unpadded dims after resize * Fix up * Return FuyuBatchFeature * Get unpadded sizes after resize * Update exception * Fix return * Convert input `<box>` coordinates to model format. * Post-process point coords, support multiple boxes/points in a single sequence * Replace constants * Update src/transformers/models/fuyu/image_processing_fuyu.py Co-authored-by: Pedro Cuenca <pedro@huggingface.co> * Preprocess List[List[image]] * Update src/transformers/models/fuyu/image_processing_fuyu.py Co-authored-by: Pedro Cuenca <pedro@huggingface.co> * Update to Amy's latest state. * post-processing returns a list of tensors * Fix error when target_sizes is None Co-authored-by: Pablo Montalvo <pablo.montalvo.leroux@gmail.com> * Update src/transformers/models/fuyu/image_processing_fuyu.py Co-authored-by: Pedro Cuenca <pedro@huggingface.co> * Update src/transformers/models/fuyu/image_processing_fuyu.py Co-authored-by: Pedro Cuenca <pedro@huggingface.co> * Update src/transformers/models/fuyu/image_processing_fuyu.py Co-authored-by: Pedro Cuenca <pedro@huggingface.co> * Update src/transformers/models/fuyu/image_processing_fuyu.py Co-authored-by: Pedro Cuenca <pedro@huggingface.co> * Review comments * Update src/transformers/models/fuyu/image_processing_fuyu.py Co-authored-by: Pedro Cuenca <pedro@huggingface.co> * Fix up * Fix up --------- Co-authored-by: Ubuntu <ubuntu@ip-172-31-72-126.ec2.internal> Co-authored-by: Pedro Cuenca <pedro@huggingface.co> Co-authored-by: Pablo Montalvo <pablo.montalvo.leroux@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 584f792 - Browse repository at this point
Copy the full SHA 584f792View commit details
Commits on Nov 2, 2023
-
Merge remote-tracking branch 'origin/main' into fuyu_follow_up_image_…
…processing_conflicts
Configuration menu - View commit details
-
Copy full SHA for 060e545 - Browse repository at this point
Copy the full SHA 060e545View commit details -
Fix conflicts in fuyu_follow_up_image_processing (#27228)
fixing conflicts and updating on main
Configuration menu - View commit details
-
Copy full SHA for acce10b - Browse repository at this point
Copy the full SHA acce10bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 665a565 - Browse repository at this point
Copy the full SHA 665a565View commit details -
Merge branch 'fuyu_follow_up_image_processing' of github.com:huggingf…
…ace/transformers into fuyu_follow_up_image_processing
Configuration menu - View commit details
-
Copy full SHA for babe5f7 - Browse repository at this point
Copy the full SHA babe5f7View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.