Predicting an object over an pretrained model is not working
Grant Edwards
grant.b.edwards at gmail.com
Wed Jul 31 09:58:12 EDT 2024
On 2024-07-31, marc nicole via Python-list <python-list at python.org> wrote:
> I suppose the meaning of those numbers comes from this line
> predicts_dict[class_name].append([int(xmin), int(ymin), int(xmax),
> int(ymax), P[index]]) as well as the yolo inference call. But i was
> expecting zeros for all classes except smallball.
That's not how machine learning and object recognition works.
> Because the image only shows that,
You know that. The machine doesn't.
> and that a train and a sheep wont have any target position or any
> probability whatsoever in the image weirdobject.jpg
That depends on the training data and how the model works.
You should probably do some reading on neural networks, machine
learning, and pattern/object recognition. You appear to be trying to
use tools without understanding what they do or how they work.
--
Grant
More information about the Python-list
mailing list