video-caption.pytorch
video-caption.pytorch copied to clipboard
invalid argument 0: Sizes of tensors must match except in dimension 0. Got 27 and 41 in dimension
Hi, I met a bug, but I haven't fixed it. I want to use this code to train model on the MSVD dataset. I can train the model on the MSR-VTT. So I prepare the caption.json and info.json based on default setting(like MSR-VTT), but when I train the model on the MSVD, I met the problem:
Traceback (most recent call last):
File "/home/tuyunbin/video-caption.pytorch/train.py", line 139, in
When I set the batch_size =1, the code of train.py could run. But when I change this value, the error will occur.
#41 the same as it. You must make sure one idx, one video id, one caption. Otherwise, the dismatch error will occur.