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

Trained models not working in Python 3.6+ #63

Open
yasharmaster opened this issue Apr 12, 2019 · 6 comments
Open

Trained models not working in Python 3.6+ #63

yasharmaster opened this issue Apr 12, 2019 · 6 comments

Comments

@yasharmaster
Copy link

Loading model files gives error SystemError: unknown opcode.
This is the issue with Keras.
Please provide the models trained on python 3.6.

@SidShenoy
Copy link

The models can be loaded in the version of python used while creating them. Keras has this issue. Try downgrading python 3.6 to python 3.5, it worked for me.

@yasharmaster
Copy link
Author

Yeah it worked on my local machine after downgrading the local version of python. But in Google Colab there is no way to downgrade Python 3 version, so it cannot be used there,

@jmtatsch
Copy link
Contributor

Just convert the npy weights with your desired keras/python Version. You’ll be fine.

@CinKKKyo
Copy link

Yeah it worked on my local machine after downgrading the local version of python. But in Google Colab there is no way to downgrade Python 3 version, so it cannot be used there,

Totally right, so I am going to train it on ADE20K again🤯

@ktnguyen2
Copy link

@jmtatsch What npy weights? I thought we only used keras weights

@jmtatsch
Copy link
Contributor

jmtatsch commented May 7, 2019

just search the issues you may find something.

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

6 participants