You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
My own task or dataset (give details below)
Reproduction
From
The code below gives an error "ValueError: Unable to infer channel dimension format". Different permutations of ChannelDimension and location of num_features give the same or similar errors.
System Info
transformers version: 4.48.0.dev0
Python version: 3.13.1
OS: Linux (AWS CodeSpace)
Linux default 5.10.228-219.884.amzn2.x86_64 #1 SMP Wed Oct 23 17:17:00 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Virtual environment: Conda
Output of
pip list
Who can help?
@amyeroberts @qubvel
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
From
The code below gives an error "ValueError: Unable to infer channel dimension format". Different permutations of ChannelDimension and location of
num_features
give the same or similar errors.See https://stackoverflow.com/questions/79331752/does-the-huggingface-mask2formerimageprocessor-support-overlapping-features.
Expected behavior
Processor supports overlapping masks without error.
The text was updated successfully, but these errors were encountered: