runtime error
Exit code: 1. Reason: ^^^^^^^^^^ File "/app/app.py", line 11, in predict result = classifier(img, top_k=5) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/transformers/pipelines/image_classification.py", line 100, in __call__ return super().__call__(images, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/transformers/pipelines/base.py", line 1109, in __call__ return self.run_single(inputs, preprocess_params, forward_params, postprocess_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/transformers/pipelines/base.py", line 1115, in run_single model_inputs = self.preprocess(inputs, **preprocess_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/transformers/pipelines/image_classification.py", line 104, in preprocess model_inputs = self.image_processor(images=image, return_tensors=self.framework) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/transformers/image_processing_utils.py", line 458, in __call__ return self.preprocess(images, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/transformers/models/vit/image_processing_vit.py", line 273, in preprocess return BatchFeature(data=data, tensor_type=return_tensors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/transformers/feature_extraction_utils.py", line 76, in __init__ self.convert_to_tensors(tensor_type=tensor_type) File "/usr/local/lib/python3.11/site-packages/transformers/feature_extraction_utils.py", line 171, in convert_to_tensors raise ValueError( ValueError: Unable to create tensor, you should probably activate padding with 'padding=True' to have batched tensors with the same length.
Container logs:
Fetching error logs...