convert_torch_to_pytorch
convert_torch_to_pytorch copied to clipboard
error:" unknow type id 9 . The file may be corrupted"
@clcarwin Hello! I converted the crnn model to pytorch model, but it occurred the following error:
convert_torch.py `line 259` -->
read_lua_file.py `line 596` --> error: " unknow type id 9 . The file may be corrupted."
- The
typeidx=3
does not exist. - Why? Thank you!
@clcarwin ??
Some layers are not supported by pytorch torch.legacy.nn
.
Some files were saved on UNIX system, which may cause 'The file may be corrupted', you can try load_lua with long_size=8.