-
Notifications
You must be signed in to change notification settings - Fork 159
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
Implementing YOLOv8 with Segmentation on Samsung One #14547 (DIscussion) #14549
Comments
@HyAgOsK , thanks for your interest!
I'd like to explain a bit of ONE project.
Someone has to check.
Not sure about "how" but if you export to
If someone knows or have time to dig in YOLOv8, he/she might answer. |
Thanks for communicate @seanshpark. Sorry about duplicated issues. What is the main documentation I should follow regarding the Ubuntu/Linux, Windows, or Android environment to test the YOLO model directly in the following pipeline: YOLO -> .pt -> .ONNX / .TFLITE -> .CIRCLE? I would like to test it without requiring the specific Samsung processor. Later, I am considering purchasing one, but I want to perform preliminary testing to gain confidence before making the investment. I noticed that Ultralytics mentions support for the processor in their documentation, but I am unsure of the exact specifications. The requirement is for a tablet, and any information you can provide would be greatly appreciated. Reference: |
Please read the documents in https://github.com/Samsung/ONE/tree/master/docs/howto
Please search the internet about this.
Do you want to build from source and run? or do you want to install the pre-built Debian package ? Latest compile can be found at https://github.com/Samsung/ONE/releases/tag/1.29.0
apologies that documents maybe poor and commands are not easy and there are too many to describe here. there maybe someone who can provide more details so please ask more and wait. |
Iam just research about. I need to understand and testing how i can get use Samsung ONE, with YOLOV8, because iam a master studend, and i think this its very interessantly to use in my application. No my friend, no problem, im so very interresly to development this with my work in academic. Iam do this tomorrow, and i ask in this issue about what i got. |
@seanshpark, I would like to know if there are any applications or projects that specifically use YOLO with the ONE. I found a one work, but they lack the specific details I am looking for. |
👍🏻 :)
I don't think ONE has any project related to specific models, but ONE works generally with any models if the operators in the model are supported.
I think you want to use onert (one runtime) in mobile devices or just ARM devices, like Raspberry Pi, for your research. I'm not expert on YOLOv8 or any python model related things so please provide a link to download ONNX model from the internet so that I can help you go get compiled yolov8.circle model. |
I would like to run this model on an Exynos processor, specifically on a tablet. If you could kindly provide me with any assistance or information, I would be immensely grateful! Below is the link to the Yolov8n.onnx model: |
As I wrote, our target is not Exynos, that is our onert does not have any specific features to run better on Exynos. Compiler itself is general AI model compiler so you can use it for model optimization. I'll check with the model. I assume you want to run on Android platform. |
Yes, perfectly, I need to run it on the Android app. I look forward to hearing from you, and thank you very much for all your help. |
Assume you have installed compiler and runtime in x86-64 Ubuntu (20.04 or 22.04), [onecc]
one-import-onnx=True
one-optimize=True
one-pack=True
include=O1
[one-import-onnx]
input_path=yolov8n.onnx
output_path=yolov8n.circle
[one-optimize]
input_path=yolov8n.circle
output_path=yolov8n.opt.circle
convert_nchw_to_nhwc=True
[one-pack]
input_path=yolov8n.opt.circle
output_path=./nnpackages in command line run
you'll get
this is where I can go. for Android support, please wait for someone who can help. |
So much thanks my friend. You can conffirmed for me, where i can installed compiler and runtime ? https://github.com/Samsung/ONE/blob/master/docs/howto/how-to-build-compiler.md |
FYI, you can view circle model with Netron (https://github.com/lutzroeder/netron) |
Yes, I know netron, thank you very much for your attention. I'm going to evaluate my friend tomorrow, I'll get back to you with other details, and if you know whether it's possible to operate on Android, I'd be very grateful. |
greatly appreciate your response, my friend. It’s a pleasure to connect with you. I would like to ask about the build process. On Ubuntu, I am encountering issues during the build. I followed all the required steps exactly as outlined, but I have not been able to resolve the problem yet. I referred to this documentation for Ubuntu: By executing all the steps from the beginning, including the Ubuntu section, should I be able to run what is described above? If you have any information or updates regarding using Android with YOLO, specifically about the SDK running normally, I would be grateful. I am currently unsure whether to purchase an Android device, as I am uncertain if it will work as expected. I am still undecided and look forward to your response. Thank you in advance for your assistance. Would the runtime package also be related to the documentation mentioned? Could you please confirm this for me, as referenced above by @seanshpark ? |
Dear @seanshpark and @hseok-oh, Thank you very much for your support and the responses provided. I kindly request your assistance in clarifying some doubts regarding development on Android devices using the ONE platform. I am considering the possibility of utilizing an Android device for my projects and would like to ensure the feasibility of this model. Specifically, I would like to confirm whether it can successfully execute projects on Android. Is it possible to involve someone from the team to assist me with this matter? Additionally, I have a question regarding the use of runtime execution extensions, such as ONNX Runtime and TensorFlow Lite, on mobile devices. Can these tools leverage the NPU of devices such as smartphones and tablets? I understand that specific SDKs are required for these to operate on such devices. I am particularly interested in devices with Exynos processors that integrate NPU and GPU, and I would like to better understand their capabilities for this type of application. Thank you in advance for your attention and support! Best regards, |
Can you be more specific about the
IMHO, you should ask these questions to related sites.
I don't think anyone working in ONE may have any information with |
Thank you for your support, my friend @seanshpark. I am currently testing with Ubuntu 20.04 to convert the Yolov8n model to ONNX, and CIRCLE, in final, as per your guidance above. Tomorrow, I will conduct further tests and share any findings if I encounter errors. Once again, thank you very much. |
Hello, Community,
I am exploring the use of YOLOv8 for object segmentation on the Samsung One. I would like to know:
Segmentation Support: Is YOLOv8 suitable for segmentation tasks directly in PyTorch? Are there any specific adjustments or configurations required to optimize segmentation performance?
Its possible, to run just using Python language ? Have a some SDK specificle, to development in python ?
Execution Requirements: What are the basic requirements to run the YOLOv8 segmentation model on Samsung One? Is any special configuration needed to ensure good performance?
Thank you for your help, and I look forward to your insights.
Thank you!
The text was updated successfully, but these errors were encountered: