Hugging Face Forums
{"error":"The expanded size of the tensor (524) must match the existing size (514) at non-singleton dimension 1. Target sizes: [1, 524]. Tensor sizes: [1, 514]"}
Models
gegham
November 22, 2024, 7:50am
1
Hi All , I’m calling to this model
and get error about tensor size. How can I solve this?
2 Likes
Related topics
Topic
Replies
Views
Activity
URGENT HELP on Endpoint invokation
🤗Transformers
1
269
November 13, 2022
ERROR: The size of tensor a () must match the size of tensor b () at non-singleton dimension 1
Inference Endpoints on the Hub
0
1072
January 11, 2024
The size of tensor error while fine tuning whisper
Beginners
1
579
February 13, 2024
RuntimeError: Sizes of tensors must match except in dimension 2. Expected size 8 but got size 64 for tensor number 1 in the list
🤗Transformers
1
1306
January 4, 2024
The expanded size of the tensor (22528) must match the existing size (1024) at non-singleton dimension 0
Models
0
1513
July 25, 2023