Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to run your model on a Smartphone ? #5

Open
Avant-Gardiste opened this issue May 25, 2022 · 7 comments
Open

Is it possible to run your model on a Smartphone ? #5

Avant-Gardiste opened this issue May 25, 2022 · 7 comments

Comments

@Avant-Gardiste
Copy link

Hi, I was wondering if it might be possible to run your model even on the limited computing power of a smartphone. Before diving too deep into it, I wanted to get the opinion of more experienced people in the field.

If you think it is possible, is a rough estimation for fps possible ?

If you think it is not possible could you briefly elaborate on the reasons please ?

Any insights are appreciated. Thank you very much!

@thohemp
Copy link
Owner

thohemp commented May 25, 2022

Yolov5 is too big to run it on a smartphone in reasonable time. I would suggest to train it on Yolov5-tiny.

@Avant-Gardiste
Copy link
Author

Thank you, I'll try that ! Otherwise, I think your repo is incomplete, I'm not enable to start training with your model because a missing file is needed ! @thohemp could you answer please ? I already opened an issue about this !

@thohemp
Copy link
Owner

thohemp commented May 25, 2022

I added the related files. Please try again.

@Avant-Gardiste
Copy link
Author

Thank you so much !

@Avant-Gardiste
Copy link
Author

Hi Mr. @thohemp, I want to let you know that I successfully deployed OBB model on an Android device ! Now, I need to optimize my model in order to increase the speed and latency, and from our last discussion, you suggested that I should use YoloV5-tiny. But, just out of curious, I did not find the Tiny model in your models repo, and same for weights, I just want to know if you had done this project before the Tiny version was released, or, you just forgot to push them into the repo ?
Thank you in advance and sorry for borthering you again !

obb_android

@thohemp
Copy link
Owner

thohemp commented Aug 25, 2022

Great stuff!
In my case, the performance of the smaller models weren't satisfying for me, so I stuck with the m model. But depending on the specific task, setting and requirements one of the smaller models (5n6, 5s6) may fit your needs.

@thohemp
Copy link
Owner

thohemp commented Aug 25, 2022

The models are defined here: https://github.com/thohemp/cube_detector/tree/master/yolov5/models
Changing the config for training should do the magic. E.g: --cfg yolov5n.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants