-
-
Notifications
You must be signed in to change notification settings - Fork 17.3k
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
❔Question
Does anybody has recommendations, how to run yolo5 with nice performance on android ?
Additional context
First I tried to export my custom trained yolo5s NN to onnx to import it with opencv. But I was not able to load the onnx File successfully with the newest opencv 4.4.0:
Slice layer only supports steps = 1 (expected: 'countNonZero(step_blob != 1) == 0'), where 'countNonZero(step_blob != 1)' is 1
must be equal to '0' is 0
Actually I was successfully able to run the torchscript export with pytorch in my android app. But with very poor performance (nearly 2 seconds inference time on galaxy tab a sm-t510).
Running on my laptop the detect.py shows only ~0.015 seconds (yolo5s with NVIDIA Quadro T2000).
Thanks very much for any help!
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested