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

Use my own res8 trained model in the Demo Application #45

Closed
waltergenchi opened this issue Jun 23, 2018 · 2 comments
Closed

Use my own res8 trained model in the Demo Application #45

waltergenchi opened this issue Jun 23, 2018 · 2 comments

Comments

@waltergenchi
Copy link

Hi,
I have trained a "res8" model and saved it as a file ".pt".
When I modify in the config.json file the "model_path" of my model, I can't modify the type of the model that I input into the demo.
In fact, I discovered that if I train by myself a "cnn-trad-pool2", which is the default in the train.py file, the demo works fine with such model.
So, I would like to know if there is a possibility to say that my input model is a "res8" and not a "cnn-trad-pool2".
I have tried to input in the config.json file "model": "res8", but it seems that it was not even read as an input.

Thank you in advance.

@daemon
Copy link
Member

daemon commented Jun 23, 2018

Hi,

Apologies for the lack of functionality in the demo. You'll need to change SpeechModel in service.py#L83 to model.SpeechResModel(...).

@waltergenchi
Copy link
Author

Ok, solved thanks.

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