Hi Richard,
This is the traceback am getting
Traceback (most recent call last):
File “/OpenNMT-py/translate.py”, line 213, in 
main(opt)
File “/OpenNMT-py/translate.py”, line 143, in main
= translator.translate(srcBatch, tgtBatch)
File “/OpenNMT-py/onmt/Translator.py”, line 326, in translate
batch = dataset[0]
File “/OpenNMT-py/onmt/Dataset.py”, line 107, in getitem
dtype=self._type)
File “/OpenNMT-py/onmt/Dataset.py”, line 55, in _batchify
lengths = [x.size(0) for x in data]
File “/OpenNMT-py/onmt/Dataset.py”, line 55, in 
lengths = [x.size(0) for x in data]
RuntimeError: invalid argument 2: dimension 0 out of range of 0D tensor at /pytorch/torch/lib/TH/generic/THTensor.c:24