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
File "/Janus/janus/models/processing_vlm.py", line 348, in call
prepare = self.process_one(
^^^^^^^^^^^^^^^^^
File "/Janus/janus/models/processing_vlm.py", line 311, in process_one
images_outputs = self.image_processor(images, return_tensors="pt")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/transformers/image_processing_utils.py", line 42, in call
return self.preprocess(images, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Janus/janus/models/image_processing_vlm.py", line 183, in preprocess
self.normalize(
File "/usr/local/lib/python3.12/site-packages/transformers/image_processing_utils.py", line 112, in normalize
return normalize(
^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/transformers/image_transforms.py", line 431, in normalize
raise ValueError(f"mean must have {num_channels} elements if it is an iterable, got {len(mean)}")
ValueError: mean must have 4 elements if it is an iterable, got 3
大佬们 这是什么问题呢
The text was updated successfully, but these errors were encountered:
File "/Janus/janus/models/processing_vlm.py", line 348, in call
prepare = self.process_one(
^^^^^^^^^^^^^^^^^
File "/Janus/janus/models/processing_vlm.py", line 311, in process_one
images_outputs = self.image_processor(images, return_tensors="pt")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/transformers/image_processing_utils.py", line 42, in call
return self.preprocess(images, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Janus/janus/models/image_processing_vlm.py", line 183, in preprocess
self.normalize(
File "/usr/local/lib/python3.12/site-packages/transformers/image_processing_utils.py", line 112, in normalize
return normalize(
^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/transformers/image_transforms.py", line 431, in normalize
raise ValueError(f"mean must have {num_channels} elements if it is an iterable, got {len(mean)}")
ValueError: mean must have 4 elements if it is an iterable, got 3
大佬们 这是什么问题呢
The text was updated successfully, but these errors were encountered: