transformers
acded47f - [llava] one pixel is missing from padding when length is odd (#37819)

Commit
1 year ago
[llava] one pixel is missing from padding when length is odd (#37819) * [fix] one pixel should be added when length is odd * [fix] add vision_aspect_ratio args & typo * [fix] style * [fix] do not fix fast file directly * [fix] convert using modular * remove duplicate codes * match unpad logic with pad logic * test odd-sized images for llava & aria * test unpad odd-sized padding for llava family * fix style * add kwarg to onvision modular * move vision_aspect_ratio from image_processor to processor (llava_onevision)
Author
Parents
Loading