Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Serving models with number of outputs less than 5 #34

Open
sergey-serebryakov opened this issue Jun 14, 2018 · 1 comment
Open

Serving models with number of outputs less than 5 #34

sergey-serebryakov opened this issue Jun 14, 2018 · 1 comment

Comments

@sergey-serebryakov
Copy link

Hi!
I think, in current implementation the engine cannot server models if they have less than five outputs. The classify method accepts as one of the input parameters N which is the number of top classifications to return. The Argmax function fails in this case.

@flx42
Copy link
Member

flx42 commented Jul 20, 2018

You have to edit the code in this case, to modify the Classify call.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants