luispedro / mahotas

Computer Vision in Python
https://mahotas.rtfd.io
Other
846 stars 148 forks source link

How to return classification? After training the model #145

Closed sleepingcat4 closed 8 months ago

sleepingcat4 commented 8 months ago

I've recently trained a model on my images to label unlabelled data in my dataset using mahotas. But, I don't know how to receive the results. Can someone help me a bit?

https://mahotas.readthedocs.io/en/latest/classification.html

Code to get the class results

for data_point, classification in zip(unlabeled, labeled):
    print("Data Point:", data_point)
    print("Classification:", classification)
luispedro commented 8 months ago

Hi. I cannot immediately see what you are doing wrong, but this is not really a mahotas question/issue, so I am going to close here.

sleepingcat4 commented 8 months ago

the tutorial of Mahotas does not show how someone can return the predicted class after labelling the unlabeled data.

I was asking help in that spectrum, your help will helpful.