WrongQ
#49
by
SrikanthChellappa
- opened
This comment has been hidden
SrikanthChellappa
changed discussion title from
ValueError: The number of images in each batch should be the same. Yes, the model does not support having a different number of images per batch.
to WrongQ
SrikanthChellappa
changed discussion status to
closed
how did you solve this
Seems to be fixed in transformers 4.46
transformers@git+https://github.com/huggingface/transformers.git@54a140532f50509ef4b6e34dc85c789feafae2e9#egg=transformers==4.46.0.dev0 # this works
transformers==4.45 # this fails