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

how can i use net_to_model.py? #114

Open
tang3 opened this issue Apr 27, 2020 · 1 comment
Open

how can i use net_to_model.py? #114

tang3 opened this issue Apr 27, 2020 · 1 comment

Comments

@tang3
Copy link

tang3 commented Apr 27, 2020

I want to change weight to tf model,but "python net_to_model.py weightfile" have "ValueError: Inconsistent number of weights in the file", how can i solve it?

@Vandertic
Copy link
Member

Sorry, but we did not upgrade that script to work with SAI and I have no understanding of how it works. Maybe you can simply remove the check on the number of lines, but I don't know if it will work.
Anyway, the tf models of recent nets can be found here.
If you need the model of a previous net, feel free to ask and I will put it online for download.

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

2 participants