Comments (5)
Hello Ammar,
The code in the repo doesn't work as we tried to merge it with the latest update of YOLOv8.
If you want to try it, Please clone this repo (https://github.com/MohamedAtef321/ultralytics/tree/lane_detection) on the branch named "lane_detection"
I am willing to hear your feedback.
from yolov8-extended-edition.
I clone the repo you mentioned and tried the same command however I get the same error as above. I have tried with both flags separately i.e. --night_vision, --lane_detection and error is same.
from yolov8-extended-edition.
Are you sure you cloned the repo (https://github.com/MohamedAtef321/ultralytics) on branch "lane_detection" specifically ?
you could try
git clone https://github.com/MohamedAtef321/ultralytics/tree/lane_detection --branch lane_detection
because the main branch is not working right now.
after cloning this repo, open terminal and enter "Ultralytics" folder and run this code
pip install -e '.[dev]' --quiet
and wait for it to finish, then try this code
yolo detect predict model=yolov8n.pt source=0 night_vision=show image_gamma=0.8
from yolov8-extended-edition.
So I followed your suggestions. Now I am getting the following error.
File "..../ultralytics/ultralytics/yolo/v8/detect/predict.py", line 23, in preprocess
img = (img if isinstance(img, torch.Tensor) else torch.from_numpy(img)).to(self.model.device)
TypeError: expected np.ndarray (got list)
Aborted (core dumped)
from yolov8-extended-edition.
Could you tell me what platform you run the model on ?
and give me more details
from yolov8-extended-edition.
Related Issues (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-extended-edition.