Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error:" unknow type id 9 . The file may be corrupted" #33

Open
angel1288 opened this issue Apr 4, 2018 · 3 comments
Open

error:" unknow type id 9 . The file may be corrupted" #33

angel1288 opened this issue Apr 4, 2018 · 3 comments

Comments

@angel1288
Copy link

angel1288 commented Apr 4, 2018

@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!
@angel1288
Copy link
Author

@clcarwin ??

@clcarwin
Copy link
Owner

Some layers are not supported by pytorch torch.legacy.nn.

@hepesu
Copy link

hepesu commented Sep 14, 2018

Some files were saved on UNIX system, which may cause 'The file may be corrupted', you can try load_lua with long_size=8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants