ml5-next-gen icon indicating copy to clipboard operation
ml5-next-gen copied to clipboard

`topk` in the `options` for `imageClassifier` doesn't work

Open jackbdu opened this issue 7 months ago • 3 comments

In [email protected], when initializing the imageClassifier object, passing { topk: 5 } as options does not seem to affect the number of labels to return. On the other hand, specifying kNumber works fine when calling imageClassifier.classifyStart(media, ?kNumber, callback);

Tagging relevant issues/PRs for reference: #71 #83

jackbdu avatar Jul 11 '24 05:07 jackbdu