WasabiFan / tidl-yolov5-custom-model-demo

A walkthrough and personal notes on running YOLOv5 models with TIDL.
28 stars 6 forks source link

Compilation stops #5

Open Mugutech62 opened 1 year ago

Mugutech62 commented 1 year ago

I have tried your compile script for compiling my yolov5 ti lite onnx, but compilation stops at the starting it self mc2

WasabiFan commented 1 year ago

I'd guess you are running out of memory. How much RAM is available on this system?

Otherwise, it's probably a bad input. Do my_model_data/last.onnx and calibration_images exist? Can you show what's in the calibration directory?

Also try running it under gdb: gdb --args python3.6 .... What does it tell you about the crash?

Mugutech62 commented 1 year ago

Brother can please tell me the clear overview to compile my last.onnx file You are really awesome brother, I have followed your steps in finetuning yolo ti lite model, it's just awesome, please help me in compiling my model. I am having only ×64 processer,If i want to use ×86 build pc also no problem

On Fri, 22 Sep, 2023, 9:51 am Kaelin Laundry, @.***> wrote:

I'd guess you are running out of memory. How much RAM is available on this system?

Otherwise, it's probably a bad input. Do my_model_data/last.onnx and calibration_images exist? Can you show what's in the calibration directory?

Also try running it under gdb: gdb --args python3.6 .... What does it tell you about the crash?

— Reply to this email directly, view it on GitHub https://github.com/WasabiFan/tidl-yolov5-custom-model-demo/issues/5#issuecomment-1730781112, or unsubscribe https://github.com/notifications/unsubscribe-auth/BA3A26E7ISYMIRD6BXTMA6DX3UG4ZANCNFSM6AAAAAA5BZIA34 . You are receiving this because you authored the thread.Message ID: @.***>

Mugutech62 commented 1 year ago

I'd guess you are running out of memory. How much RAM is available on this system?

Otherwise, it's probably a bad input. Do my_model_data/last.onnx and calibration_images exist? Can you show what's in the calibration directory?

Also try running it under gdb: gdb --args python3.6 .... What does it tell you about the crash?

Brother can I have your contact details like instagram? Ram : 8gb 64 bit processor

Mugutech62 commented 1 year ago

I'd guess you are running out of memory. How much RAM is available on this system?

Otherwise, it's probably a bad input. Do my_model_data/last.onnx and calibration_images exist? Can you show what's in the calibration directory?

Also try running it under gdb: gdb --args python3.6 .... What does it tell you about the crash?

There is no error messages like directory not found like that, only thing is that it starts and ends with 10secs

Mugutech62 commented 1 year ago

I'd guess you are running out of memory. How much RAM is available on this system?

Otherwise, it's probably a bad input. Do my_model_data/last.onnx and calibration_images exist? Can you show what's in the calibration directory?

Also try running it under gdb: gdb --args python3.6 .... What does it tell you about the crash?

I had 20 images from the training set in calibration directory

WasabiFan commented 1 year ago

TI's official documentation here: https://software-dl.ti.com/codegen/docs/tvm/tvm_tidl_users_guide/compiling.html

It was not very good when I was working on this initially, but it may be better now.


What have you done already, and what files do you have? Show me terminal output that describes what you have done and what files are present. If you trained a model you should have last.onnx.

There is no error messages like directory not found like that, only thing is that it starts and ends with 10secs

Please show the output.

Mugutech62 commented 1 year ago

TI's official documentation here: https://software-dl.ti.com/codegen/docs/tvm/tvm_tidl_users_guide/compiling.html

It was not very good when I was working on this initially, but it may be better now.


What have you done already, and what files do you have? Show me terminal output that describes what you have done and what files are present. If you trained a model you should have last.onnx.

There is no error messages like directory not found like that, only thing is that it starts and ends with 10secs

Please show the output.

IMG_20230923_100347.jpg

IMG_20230923_100325.jpg

IMG_20230923_100512.jpg

IMG_20230923_100416.jpg

Mugutech62 commented 1 year ago

IMG_20230923_102611.jpg

WasabiFan commented 1 year ago

In the gdb prompt that it gave you, type "run" and hit enter. Then type "bt" and hit enter. Post the output.

Mugutech62 commented 1 year ago

In the gdb prompt that it gave you, type "run" and hit enter. Then type "bt" and hit enter. Post the output.

Whether I had done the setup correctly?

Mugutech62 commented 1 year ago

In the gdb prompt that it gave you, type "run" and hit enter. Then type "bt" and hit enter. Post the output.

Ok brother let me try and tell you. Bro i am having a trained yolov8 model is there any way to convert them TI compatible model, I mean whether can I convert into TI models

Mugutech62 commented 1 year ago

In the gdb prompt that it gave you, type "run" and hit enter. Then type "bt" and hit enter. Post the output.

IMG_20230924_163720.jpg

WasabiFan commented 1 year ago

I am not aware of support for YOLOv8.


Your GDB screenshot does not include the command you ran. It is likely the incorrect command, as gdb is complaining of unused arguments. Did you include --args after gdb?

Mugutech62 commented 1 year ago

I am not aware of support for YOLOv8.


Your GDB screenshot does not include the command you ran. It is likely the incorrect command, as gdb is complaining of unused arguments. Did you include --args after gdb?

Brother can please some examples with your screenshots, kindly please🙏 or else type in notepad and share exact commands

Mugutech62 commented 1 year ago

I am not aware of support for YOLOv8.


Your GDB screenshot does not include the command you ran. It is likely the incorrect command, as gdb is complaining of unused arguments. Did you include --args after gdb?

Bro kindly please share your compile.py for reference

Mugutech62 commented 11 months ago

IMG_20231031_115408.jpg

I got a new error check out pls