Traceback (most recent call last):


 "/home/moses/pytorchwork/OpenNMT-py/onmt/tests/test_models.py", line 242, in test_method

getattr(self, methodname)(opt)


 "/home/moses/pytorchwork/OpenNMT-py/onmt/tests/test_models.py", line 144, in nmtmodel_forward

outputs, attn = model(test_src, test_tgt, test_length)


 "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/module.py", line 477, in __call__

result = self.forward(*input, **kwargs)


 "/home/moses/pytorchwork/OpenNMT-py/onmt/models/model.py", line 43, in forward

enc_state, memory_bank, lengths = self.encoder(src, lengths)


 "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/module.py", line 477, in __call__

result = self.forward(*input, **kwargs)


 "/home/moses/pytorchwork/OpenNMT-py/onmt/encoders/rnn_encoder.py", line 66, in forward

memory_bank, encoder_final = self.rnn(packed_emb)


 "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/module.py", line 477, in __call__

result = self.forward(*input, **kwargs)


 "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/rnn.py", line 182, in forward

self.num_layers, self.dropout, self.training, self.bidirectional)
TypeError: lstm() received an invalid combination of arguments - got (Tensor, Tensor, tuple, list, bool, int, float, bool, NoneType), but expected one of:

Traceback (most recent call last):


 "D:\Medusa\Medusa\ext\knowit\api.py", line 64, in know

result = provider.describe(video_path, context)


 "D:\Medusa\Medusa\ext\knowit\providers\enzyme.py", line 135, in describe

video_path=video_path, version=enzyme.__version__, data=json.dumps(data))


 "D:\Medusa\Python\lib\json\__init__.py", line 244, in dumps

return _default_encoder.encode(obj)


 "D:\Medusa\Python\lib\json\encoder.py", line 207, in encode

chunks = self.iterencode(o, _one_shot=True)


 "D:\Medusa\Python\lib\json\encoder.py", line 270, in iterencode

return _iterencode(o, 0)


 "D:\Medusa\Python\lib\json\encoder.py", line 184, in default

raise TypeError(repr(o) + " is not JSON serializable")
TypeError: datetime.timedelta(0, 2539, 662000) is not JSON serializable`
