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

vgg19.ot file #45

Closed
sbeckeriv opened this issue Jun 16, 2020 · 2 comments
Closed

vgg19.ot file #45

sbeckeriv opened this issue Jun 16, 2020 · 2 comments

Comments

@sbeckeriv
Copy link

Dearest maintainer,

I have spent a while searching around the internet for a compatible vgg19.ot file for https://github.com/LaurentMazare/tch-rs . I was wondering if you had plans to provide the provide the file or could give advice on how I can generate the file? I have found .pth, .caffemodel, .h5 and a .cpkt but I honestly have little clue to what I am doing.

Thank you for any advice!
Becker

@LaurentMazare
Copy link
Owner

There was no such model that I was aware of so I created one, you can get it here: vgg19.ot.
These files can easily be generated from pre-trained model using the python api running this script. This outputs a npz file that can be converted to a .ot via the indications at the beginning of the script.
I only tested the resulting ocaml-torch model on a couple images but it seemed to work well.

@sbeckeriv
Copy link
Author

Thank you very much! i look forward to comparing the differences! Thank you for pointing me to the script as well. Next time I will try to get that running first.

Thanks again
Becker

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