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

Made it possible to choose the filename when saving a featureExtractor model #353

Merged
merged 1 commit into from
Apr 20, 2019
Merged

Made it possible to choose the filename when saving a featureExtractor model #353

merged 1 commit into from
Apr 20, 2019

Conversation

ada-ada-ada-art
Copy link
Contributor

Description 📝

Adds custom filename functionality to MobileNet.js' save() function.

Related to issue #352.

Relevant Example or Paired Pull Request to ml5-examples 🦄

When calling MobileNet.js' save() function, you can now add another parameter, if you wish to choose the name of the file that is saved.

E.g. save(callback, 'myBeautifulModel') or save(callback, 'anotherGreatModel)

…a custom filename to the model that is saved.
@joeyklee
Copy link
Contributor

@jepster-dk - wow! this is great + thank you for your contribution. As I'm making my way through PRs, I'll be sure to let you know when we're ready to merge. Thanks again!

@joeyklee
Copy link
Contributor

joeyklee commented Apr 20, 2019

@jepster-dk - Just tested! very cool. I will plan to make an example that takes a simple javascript prompt() that allows people to add in a name :) Merging now! Thanks so much 🙏!

@joeyklee joeyklee merged commit 7fc7a59 into ml5js:development Apr 20, 2019
@joeyklee
Copy link
Contributor

@all-contributors please add @jepster-dk for code ideas

@allcontributors
Copy link
Contributor

@joeyklee

I've put up a pull request to add @jepster-dk! 🎉

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

Successfully merging this pull request may close these issues.

2 participants