Closed maciej-adamiak closed 6 days ago
cc @qubvel or @zucchini-nlp in case you have some bandwidth!
Hi @maciej-adamiak , thanks for opening an issue and providing an example to reproduce!
Would you like to make a fix? We should make sure that input_data_format
is passed to get_max_height_width and all other transforms correctly handle it.
I'm on it.
System Info
transformers
version: 4.43.4Who can help?
No response
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
Colab
Expected behavior
The image processing should be handled correctly.
It looks like the get_max_height_width is using a default parameter rather then a value
input_data_format
set in the class constructor.