Open Alberto1404 opened 1 year ago
Hi @NielsRogge, I am following your amazing finetuning tutorial of DETR ballon dataset. I am continuosly getting the following warning:
FutureWarning: The `max_size` parameter is deprecated and will be removed in v4.26. Please specify in `size['longest_edge'] instead.
I tried to ignore it importing warnings from python, but still. I am not exactly sure how to get rid of it. My transformers version is 4.27.3
Thanks for reporting, made a PR to fix it: https://github.com/huggingface/transformers/pull/22725
Hi @NielsRogge, I am following your amazing finetuning tutorial of DETR ballon dataset. I am continuosly getting the following warning:
I tried to ignore it importing warnings from python, but still. I am not exactly sure how to get rid of it. My transformers version is 4.27.3