video-caption.pytorch icon indicating copy to clipboard operation
video-caption.pytorch copied to clipboard

when I use the train.py , the error raised....TypeError: gru() received an invalid combination of arguments

Open misayllk opened this issue 2 years ago • 2 comments

TypeError: gru() received an invalid combination of arguments - got (Tensor, Tensor, list, bool, int, float, bool, int, bool), but expected one of:

  • (Tensor data, Tensor batch_sizes, Tensor hx, tuple of Tensors params, bool has_biases, int num_layers, float dropout, bool train, bool bidirectional) didn't match because some of the arguments have invalid types: (Tensor, Tensor, !list!, !bool!, !int!, !float!, !bool!, !int!, bool)
  • (Tensor input, Tensor hx, tuple of Tensors params, bool has_biases, int num_layers, float dropout, bool train, bool bidirectional, bool batch_first) didn't match because some of the arguments have invalid types: (Tensor, Tensor, !list!, bool, int, float, bool, !int!, bool)

misayllk avatar Nov 08 '22 03:11 misayllk

Can someone help me?

misayllk avatar Nov 08 '22 03:11 misayllk

where is the error raised ?

hayachiq avatar Dec 05 '22 19:12 hayachiq