gpu-rest-engine icon indicating copy to clipboard operation
gpu-rest-engine copied to clipboard

Serving models with number of outputs less than 5

Open sergey-serebryakov opened this issue 6 years ago • 1 comments

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.

sergey-serebryakov avatar Jun 14 '18 22:06 sergey-serebryakov

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

flx42 avatar Jul 20 '18 20:07 flx42