Cannot load_lua: T7ReaderException


(Bill) #1

Hello all,

I am trying to load a torch model into pytorch. The model works perfectly in torch, but when I try to import the model into PyTorch, I receive the following error:

torch.utils.serialization.read_lua_file.T7ReaderException: unknown type id 218103808. The file may be corrupted.

The file is not corrupted, as I can load it and run it in torch. I have read all the forum posts on load_lua, without success.

The file I am working with is colornet.t7 and may be downloaded with this script:

Thank you for your assistance!