-
Notifications
You must be signed in to change notification settings - Fork 49
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
YOLOv8 model transformation for a custom dataset #85
Comments
Hi @pcycccccc
|
@tmyapple Thank you for your answer, I roughly understand, but I would like to ask: Does calib-path need to prepare an annotation file for calibration? Just provide the image set? |
@tmyapple I got a weird error when I ran compile. I ran: hailomz compile --ckpt /home/robot/chy/hailo_model_zoo/Liyi_Groov/Model/Groove_v8s.onnx --calib-path /home/robot/chy/hailo_model_zoo/Liyi_Groov/train --yaml /home/robot/chy/hailo_model_zoo/Liyi_Groov/Model/yolov8s_groove.yaml My yolov8s groove.yaml file is: The error content is related to Tensorflow. The version of hailo_dataflow I installed is 3.24.0, and the version of medel_zoo installed is the latest version, which is downloaded from github. TensorFlow Addons (TFA) has ended development and introduction of new features. For more information see: tensorflow/addons#2807 warnings.warn( Please ignore that I made a mistake in the info section, but I don't think it was the cause of the error in my program. |
Hello, I am trying to convert my trained YOLOv8 model into a hef file. I am reading the related hailo model zoo file to figure out the documents and processes that need to be prepared.
As far as I know,
(1)Prepare an onnx model trained on my own dataset
(2)networks/yolov8.yaml(need to be modified according to the actual situation, please refer to)
(3)-calib-path path to the image dataset (does this copy the images to a folder ahead of time?)
I can get the hef model by executing the command, but I learned that to optimize and compile the model, I also need to generate the TFRecord file. Is this necessary? I have a few questions:
(1)Is TFRecord related to the third step, calib-path? How to relate?
(2)What types of files do I need to prepare in advance, an image set and a tag set? Should the tags be in xml or yolo's txt format
(3)Which py file should be run to create the TFRecord file? Do need to change any other parameters?
The text was updated successfully, but these errors were encountered: