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

Classifiers Updates #99

Merged
merged 3 commits into from
Mar 13, 2018
Merged

Classifiers Updates #99

merged 3 commits into from
Mar 13, 2018

Conversation

cvalenzuela
Copy link
Member

Renaming the ImageNet class to ImageClassifier following #98

This PR also add supports for loading and saving models trained with the KNNImageClassifier: #45. So now this is possible:

const knn = new ml5.KNNImageClassifier();

// Will prompt the user to save a json file
// Accepts one arg (the name of the file or defaults to Date.now())
knn.save(); 

// Loads a json file that was saved with .save() 
knn.load('sometrainedmodel.json'); 

The examples repo has another update following this too.

@shiffman shiffman merged commit df9bdfc into master Mar 13, 2018
This was referenced Mar 13, 2018
@cvalenzuela cvalenzuela deleted the ClassifersUpdates branch June 3, 2018 02:08
joeyklee pushed a commit that referenced this pull request Jun 2, 2019
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.

None yet

2 participants