Terry Kong

Results 4 comments of Terry Kong

Hello! Just wanted to add that I've come across this issue as well, but using the CLIPProcessor which uses https://github.com/huggingface/transformers/blob/2f320661f364557c821c285729dab3881e977363/src/transformers/image_transforms.py#L304 Basically I pass in images that always have the dimension...

Thanks for the suggestion @aleksmirosh. Unfortunately, that kwarg only affects the output format: https://github.com/huggingface/transformers/blob/2f320661f364557c821c285729dab3881e977363/src/transformers/image_transforms.py#L322-L323 The input format is not configurable and is inferred: https://github.com/huggingface/transformers/blob/2f320661f364557c821c285729dab3881e977363/src/transformers/image_transforms.py#L340 It would be nice if the...

FWIW, I am seeing this as well using the local launcher: `hydra/launcher=submitit_local`

Hi @elliotgunton So in my use case, I was authoring configuration that used pydantic's `BaseModel`, but tried to add in hera types as fields, and ran into this issue. So...