You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any function that return all classes known by the model ? Something like model.classes() that would return all classes as a list of string. Not model.predict('file.png')['class'] which return only the classes on one prediction. Something you could use without predicting anything. A sort of metadata, if you will.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all,
Is there any function that return all classes known by the model ? Something like
model.classes()
that would return all classes as a list of string. Notmodel.predict('file.png')['class']
which return only the classes on one prediction. Something you could use without predicting anything. A sort of metadata, if you will.Thanks.
Beta Was this translation helpful? Give feedback.
All reactions