Closed hongu0603 closed 1 year ago
No it's not. Could you describe your use case with darknet?
The task (breast cancer detect ) before i was use yolov4 by Darknet, and now i want to use yolov8 replace yolov4
Assuming you still have the dataset, retrain with YOLOv8. If memory serves (from when I experimented w/ YOLOv4), all you should need as a YAML file pointing to the location of your dataset and start the training. `path: /usr/src/datasets/Hand/ # dataset root dir train:
nc: 1 # number of classes names: ['Hand'] # class names`
@knoppmyth Sorry i can't really understand, in Darknet we need .cfg and .weight but if I retrain with YOLOv8 i just get .pt, i dosen't need to do any transform ?
@hongu0603 You cannot take a YOLOv4 cfg and weights and run them with YOLOv8. If you want to use YOLOv8, you need to train a new model with it.
You can train any model with ultralytics repo. You can even train yolov4,v3 or even non-yolo model. You just have to prepare the cfg file properly. We'll add support for it soon.
@knoppmyth yes, i konw i need to train a new model. @AyushExel Thanks for reply, i know i nees to prepare the cfg file, i just no ida how to transform yaml file to cfg file
👋 Hello there! We wanted to give you a friendly reminder that this issue has not had any recent activity and may be closed soon, but don't worry - you can always reopen it if needed. If you still have any questions or concerns, please feel free to let us know how we can help.
For additional resources and information, please see the links below:
Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed!
Thank you for your contributions to YOLO 🚀 and Vision AI ⭐
Search before asking
Question
I want run yolov8 on Darknet, is it possible. If possible, how to change .pt to .weight and yaml to cfg, I have no idea now. thanks a lot
Additional
No response