Comments (4)
Hi, You just need to do two simple steps:
1: Place the model (Your custom model .pt file) inside the weights folder
2: Add the name of the weight pt file inside settings.py
# ML Model config
MODEL_DIR = ROOT / 'weights'
# DETECTION_MODEL = MODEL_DIR / 'yolov8n.pt' # Comment out this line and
# Place your custom model pt file name here
DETECTION_MODEL = MODEL_DIR / 'my_detection_model.pt'
from yolov8-streamlit-detection-tracking.
Dear sir @CodingMantras,
I followed your guide but I faced this error.
Please let me know how to fix it.
Thank you.
ERROR ❌️ weights/best_IWIS23.pt appears to be an Ultralytics YOLOv5 model originally trained with https://github.com/ultralytics/yolov5. This model is NOT forwards compatible with YOLOv8 at https://github.com/ultralytics/ultralytics. Recommend fixes are to train a new model using the latest 'ultralytics' package or to run a command with an official YOLOv8 model, i.e. 'yolo predict model=yolov8n.pt'
from yolov8-streamlit-detection-tracking.
This repo is created using the yolov8 code and it is obvious from the ERROR that, the yolov5 trained model will not work here. You can use a model trained with yolov8 train.py
in this case.
from yolov8-streamlit-detection-tracking.
Dear @CodingMantras,
I got it.
Thank you very much.
from yolov8-streamlit-detection-tracking.
Related Issues (11)
- Problem with Youtube video HOT 1
- CUDA ERROR
- i need to put over 3 wieghts
- Possibility to add a counter on the webcam object detection and tracker
- video displaying HOT 1
- CONVERT TO .EXE HOT 1
- RTSP feed issue HOT 7
- Next stage of the project (question before installation)
- Outage due to youtube video request
- About YOLOv8 weights HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yolov8-streamlit-detection-tracking.