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
clip_caps[i] = clip_text.mean(0)
~~~~~~~~~^^^
RuntimeError: The expanded size of the tensor (59136) must match the existing size (768) at non-singleton dimension 0. Target sizes: [59136]. Tensor sizes: [768]
The text was updated successfully, but these errors were encountered:
clip_caps[i] = clip_text.mean(0) ~~~~~~~~~^^^ RuntimeError: The expanded size of the tensor (59136) must match the existing size (768) at non-singleton dimension 0. Target sizes: [59136]. Tensor sizes: [768]
clip_caps[i] = clip_text.mean(0) ~~~~~~~~~^^^ RuntimeError: The expanded size of the tensor (59136) must match the existing size (768) at non-singleton dimension 0. Target sizes: [59136]. Tensor sizes: [768]
Hello, have you solved this problem?
LOL, I haven't tried that yet. But I think you just need to do a reshape before this.
clip_caps[i] = clip_text.mean(0)
~~~~~~~~~^^^
RuntimeError: The expanded size of the tensor (59136) must match the existing size (768) at non-singleton dimension 0. Target sizes: [59136]. Tensor sizes: [768]
The text was updated successfully, but these errors were encountered: