Closed mexicantexan closed 1 year ago
Hi @mexicantexan , if I understood correctly, you should find what you are looking for in this page. Is it what you were looking for?
Notes
model.predict()
method does it.detect_net.eval()
, it is also done as part of the predict.Yes, that worked perfectly! Sorry, just saw this :)
💡 Your Question
I have this code:
I can't seem to access the prediction in the variable
pred
, but if I substitute that line with:detect_human_net.predict(image).show()
the output is shown. I'm just trying to access the predictions, nothing too dramatic. I've tried usingdraw()
but that doesn't seem to be an option for the class that is returned from the predict call.Versions
No response