[ERROR
] An exception occurred in this state: Traceback (most recent call last):


 "/usr/lib/python2.7/site-packages/salt/state.py", line 1919, in call

**cdata['kwargs'])


 "/usr/lib/python2.7/site-packages/salt/loader.py", line 1918, in wrapper

return f(*args, **kwargs)


 "/usr/lib/python2.7/site-packages/salt/states/cmd.py", line 892, in run

name, timeout=timeout, python_shell=True, **cmd_kwargs
TypeError: run_all() got multiple values for keyword argument 'cmd'

Traceback (most recent call last):


 "main.py", line 243, in <module>

acc_tmp = val(test_dataset, criterion)


 "main.py", line 186, in val

preds = MORAN(image, length, text, text_rev, test=True)


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

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


 "/data/wuxl/ocr/MORAN_v2/models/moran.py", line 20, in forward

preds = self.ASRN(x_rectified, length, text, text_rev, test)


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

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


 "/data/wuxl/ocr/MORAN_v2/models/asrn_res.py", line 256, in forward

output = self.attention(rnn, length, text, test)


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

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


 "/data/wuxl/ocr/MORAN_v2/models/asrn_res.py", line 129, in forward

probs = Variable(torch.zeros(nB*num_steps, self.num_classes))
TypeError: an integer is required
