I am trying to convert torch NLP model available here 5. I am getting following error saying ‘LookupTable’ object has no attribute ‘paddingValue’
Traceback (most recent call last):
  File "convert_torch.py", line 314, in <module>
    torch_to_pytorch(args.model,args.output)
  File "convert_torch.py", line 259, in torch_to_pytorch
    model = load_lua(t7_filename,unknown_classes=True)
  File "/home/pariksheet/.local/lib/python3.6/site-packages/torch/utils/serialization/read_lua_file.py", line 608, in load_lua
    return reader.read()
  File "/home/pariksheet/.local/lib/python3.6/site-packages/torch/utils/serialization/read_lua_file.py", line 595, in read
    return self.read_table()
  File "/home/pariksheet/.local/lib/python3.6/site-packages/torch/utils/serialization/read_lua_file.py", line 523, in wrapper
    result = fn(self, *args, **kwargs)
  File "/home/pariksheet/.local/lib/python3.6/site-packages/torch/utils/serialization/read_lua_file.py", line 572, in read_table
    v = self.read()
  File "/home/pariksheet/.local/lib/python3.6/site-packages/torch/utils/serialization/read_lua_file.py", line 595, in read
    return self.read_table()
  File "/home/pariksheet/.local/lib/python3.6/site-packages/torch/utils/serialization/read_lua_file.py", line 523, in wrapper
    result = fn(self, *args, **kwargs)
  File "/home/pariksheet/.local/lib/python3.6/site-packages/torch/utils/serialization/read_lua_file.py", line 572, in read_table
    v = self.read()
  File "/home/pariksheet/.local/lib/python3.6/site-packages/torch/utils/serialization/read_lua_file.py", line 593, in read
    return self.read_object()
  File "/home/pariksheet/.local/lib/python3.6/site-packages/torch/utils/serialization/read_lua_file.py", line 523, in wrapper
    result = fn(self, *args, **kwargs)
  File "/home/pariksheet/.local/lib/python3.6/site-packages/torch/utils/serialization/read_lua_file.py", line 548, in read_object
    return TorchObject(cls_name, self.read())
  File "/home/pariksheet/.local/lib/python3.6/site-packages/torch/utils/serialization/read_lua_file.py", line 595, in read
    return self.read_table()
  File "/home/pariksheet/.local/lib/python3.6/site-packages/torch/utils/serialization/read_lua_file.py", line 523, in wrapper
    result = fn(self, *args, **kwargs)
  File "/home/pariksheet/.local/lib/python3.6/site-packages/torch/utils/serialization/read_lua_file.py", line 572, in read_table
    v = self.read()
  File "/home/pariksheet/.local/lib/python3.6/site-packages/torch/utils/serialization/read_lua_file.py", line 593, in read
    return self.read_object()
  File "/home/pariksheet/.local/lib/python3.6/site-packages/torch/utils/serialization/read_lua_file.py", line 523, in wrapper
    result = fn(self, *args, **kwargs)
  File "/home/pariksheet/.local/lib/python3.6/site-packages/torch/utils/serialization/read_lua_file.py", line 546, in read_object
    return reader_registry[cls_name](self, version)
  File "/home/pariksheet/.local/lib/python3.6/site-packages/torch/utils/serialization/read_lua_file.py", line 319, in wrapper
    fn(obj, *args, **kwargs)
  File "/home/pariksheet/.local/lib/python3.6/site-packages/torch/utils/serialization/read_lua_file.py", line 348, in decrement
    value = getattr(obj, attr)
AttributeError: 'LookupTable' object has no attribute 'paddingValue'

Any solution on this. TIA.