Traceback (most recent call last):
File "inference.py", line 141, in
main()
File "inference.py", line 135, in main
to_pose = speech2gesture(encoder, decoder, input_string)
File "inference.py", line 36, in speech2gesture
encoder_outputs, encoder_hidden = encoder(chunk_input.transpose(0,1), None)
File "C:\anaconda3\envs\pytorch\lib\site-packages\torch\nn\modules\module.py", line 541, in call
result = self.forward(*input, **kwargs)
File "C:\Users\Ghazanfar Ali\Documents\GitHub\co-speech-humanoids\model.py", line 26, in forward
packed = torch.nn.utils.rnn.pack_padded_sequence(embedded, input_lengths)
File "C:\anaconda3\envs\pytorch\lib\site-packages\torch\nn\utils\rnn.py", line 272, in pack_padded_sequence
lengths = torch.as_tensor(lengths, dtype=torch.int64)
TypeError: an integer is required (got type NoneType)
I am not able to figure the missing parameter here
There is a parameter mismatch error on this line: https://github.com/pieterwolfert/co-speech-humanoids/blob/7266c8c865ba02bf953e7d205d92c51b5d354418/inference.py#L36
The error output is :