YOLOv8: How to Train for Object Detection on a Custom Dataset

  Рет қаралды 391,292

Roboflow

Roboflow

Күн бұрын

Пікірлер: 435
@AndroidDjRealEDM
@AndroidDjRealEDM 2 жыл бұрын
Finally is really simple to use for industrial projects!
@SkalskiP
@SkalskiP 2 жыл бұрын
Exactly!
@goodtechdoor
@goodtechdoor 2 жыл бұрын
Epic, waiting on the next parts. Cheering for Roboflow & Ultralytics teams !
@giridharidash9528
@giridharidash9528 8 ай бұрын
00:05 Yellow V8 is the latest object detection model that fine tunes much faster than its predecessors 02:29 Yellow V3 and Yellow V5 repositories have almost 45,000 stars on GitHub and will solve previous issues in the Yellow V8 project. 04:58 Importing Yolo from ultralytics and running inference 07:36 Creating a dataset for training the YOLO model using Roboflow 10:16 Use Cinema to label images and create a dataset for training 13:00 The training has been completed and the results are satisfactory. 15:41 Training the models could take longer and yield better results. 18:04 Yellow V8 model can be trained and deployed for inference using a single line of code. 20:16 Comparing yellow V8 to previous object detection models Crafted by Merlin AI.
@matheusmartins1000
@matheusmartins1000 Жыл бұрын
Good diction, i'm currently learning English, and I find your pronunciation much easier to understand compared to most people, not sure why. Great video!
@AndrewTSq
@AndrewTSq 3 ай бұрын
Lol I have noticed this too!, Its often easier for me to understand non-native english people
@ayanpaul2210
@ayanpaul2210 2 жыл бұрын
Thank you Roboflow!! Always keeps us updated🤝🤝
@Roboflow
@Roboflow 2 жыл бұрын
Thank you for wanting to be updated!
@kevinwoodrobotics
@kevinwoodrobotics Жыл бұрын
Great video! Definitely useful to train your own dataset since yolov8 was originally trained on COCO so it may not work for special applications!
@anujjain4406
@anujjain4406 Жыл бұрын
Thank you Brother , The Roboflow is just Amazing and super easy to use.
@ozgurkan
@ozgurkan 2 жыл бұрын
You are the best. Roboflow 💙
@shivamgoel0897
@shivamgoel0897 Жыл бұрын
Great video! very helpful to get started with Yolov8
@dineshe90
@dineshe90 8 ай бұрын
good job Roboflow and Ultralytics team... I want similar videos in docker... Thank you
@anren7445
@anren7445 Жыл бұрын
at 13:45 you can utilize gpu by typing "device=0" so it can train faster
@Roboflow
@Roboflow Жыл бұрын
Doesn’t it train by default on GPU if it is accessible?
@muhammadrizwanmunawar
@muhammadrizwanmunawar 2 жыл бұрын
Nicely explained!
@SkalskiP
@SkalskiP 2 жыл бұрын
Thank you!
@serverxeon
@serverxeon Жыл бұрын
Is there something wrong with your code, or did recent ultralytics version change break the code?
@Roboflow
@Roboflow Жыл бұрын
Do you experience some problems now?
@afrahthahir7179
@afrahthahir7179 2 жыл бұрын
Is this working good in real time rtsp stream fetched from CCTV cameras??
@SkalskiP
@SkalskiP 2 жыл бұрын
Hi it is Peter from video! 👋Honestly I haven't checked that out, but it sounds like a very good topic for next tutorial video.
@afrahthahir7179
@afrahthahir7179 2 жыл бұрын
@@SkalskiP yes please do that for the next video.
@CantPickTheNameIwant
@CantPickTheNameIwant Жыл бұрын
​@@afrahthahir7179just keep in mind that it works good mostly on big size objects
@MarceloSEO
@MarceloSEO Жыл бұрын
on 18:08 you mentioned that you downloaded the result and played the video. Do you mind sharing how to do that?
@Amy_desu
@Amy_desu 4 ай бұрын
did you find out?
@hggaming911
@hggaming911 2 жыл бұрын
Very simple and useful… Thank you so much
@Roboflow
@Roboflow 2 жыл бұрын
Stay tuned, we will soon post YOLOv8 instance segmentation too ;)
@tryingtobeproductive
@tryingtobeproductive Жыл бұрын
easy tutorial to follow, thanks!
@Roboflow
@Roboflow Жыл бұрын
Awesome!
@ML.ArtificialIntelligence
@ML.ArtificialIntelligence 2 жыл бұрын
I am getting this error again and again during training Dataset not found ⚠, missing paths ['/content/datasets/football-players-detection-4/valid/images'] Error executing job with overrides: ['task=detect', 'mode=train', 'model=yolov8s.pt', 'data=/content/football-players-detection-4/data.yaml', 'epochs=25', 'imgsz=800'] Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/ultralytics/yolo/cli.py", line 56, in cli func(cfg) File "/usr/local/lib/python3.8/dist-packages/hydra/main.py", line 79, in decorated_main return task_function(cfg_passthrough) File "/usr/local/lib/python3.8/dist-packages/ultralytics/yolo/v8/detect/train.py", line 207, in train model.train(**cfg) File "/usr/local/lib/python3.8/dist-packages/ultralytics/yolo/engine/model.py", line 189, in train self.trainer = self.TrainerClass(overrides=overrides) File "/usr/local/lib/python3.8/dist-packages/ultralytics/yolo/engine/trainer.py", line 126, in __init__ self.data = check_dataset_yaml(self.data) File "/usr/local/lib/python3.8/dist-packages/ultralytics/yolo/data/utils.py", line 232, in check_dataset_yaml raise FileNotFoundError('Dataset not found ❌') FileNotFoundError: Dataset not found ❌ Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
@SkalskiP
@SkalskiP 2 жыл бұрын
Hi it is Peter from the video! 👋Are you getting that error with our notebook?
@mohammadhaadiakhter2869
@mohammadhaadiakhter2869 2 жыл бұрын
@@SkalskiP Yes me to, I got the same error while custom training
@treudden
@treudden 2 жыл бұрын
same
@ML.ArtificialIntelligence
@ML.ArtificialIntelligence 2 жыл бұрын
Yes I am getting this error while using the notebook you provided in this video
@golasa7646
@golasa7646 2 жыл бұрын
I got same problem
@kuaranir2440
@kuaranir2440 10 ай бұрын
Thank you RoboFlow! Please how to show in this case number of detected objects on the test image?
@Roboflow
@Roboflow 10 ай бұрын
We have this exact example in the supervision readme. Take a look: github.com/roboflow/supervision?tab=readme-ov-file#-quickstart
@aleksandramelnik4862
@aleksandramelnik4862 Жыл бұрын
It was soooo helpful! Thank you!
@Roboflow
@Roboflow Жыл бұрын
I love to hear that!
@kelemawiguzo9611
@kelemawiguzo9611 4 ай бұрын
@@Roboflow could you do the same for OneFormer pls.
@FatemehZaremehrjardi
@FatemehZaremehrjardi 2 жыл бұрын
Thanks! I tested the model on some images I can see the results in text but the bounding boxes on the pictures won't save.
@SkalskiP
@SkalskiP 2 жыл бұрын
Hi it is Peter from the video. I just updated our notebook for object detection. Could you check one more time? The issue should be fixed now :)
@Mc.Gucket
@Mc.Gucket 11 ай бұрын
what is the best.pt file? ı just downloaded it and closed everything else. did ı save my model? can ı use it?
@sujinyang4373
@sujinyang4373 2 жыл бұрын
This video has made my DL work so much easier! Thx for the great tutorial on YoloV8 and connecting it to Roboflow workflow😊😊
@SkalskiP
@SkalskiP 2 жыл бұрын
Hi! It's peter from the video. Thats what I wanted to hear! 💜
@poushalinag7942
@poushalinag7942 Жыл бұрын
Hey, for my dataset its taking so much time to train the model and i am running out of GPU limits, earlier i was getting error in training but i added batch size 8 ,now its training the model but taking too much time and GPU. Can u suggest what should i do?
@lynguyenminhOfficial
@lynguyenminhOfficial Жыл бұрын
That is a great tutorial! Thanks sir.
@Roboflow
@Roboflow Жыл бұрын
Thanks a lot!
@MehulGupta-b5k
@MehulGupta-b5k Жыл бұрын
Hey so when I'm running the video, the model is detecting the objects and the count frame by frame. But I'm not able to see the video to see which objects it detect. Can you please help me out?
@Roboflow
@Roboflow Жыл бұрын
Do you pass show=True ?
@benephr
@benephr 3 ай бұрын
Hello I have encountered this issue for command at 13:47 Dataset '/content/datasets/Football-1/data.yaml' images not found ⚠, missing path '/content/datasets/Football-1/Football-1/valid/images' Note dataset download directory is '/content/datasets'. You can update this in '/root/.config/Ultralytics/settings.json'
@benephr
@benephr 3 ай бұрын
I changed the path in data.yaml and it seems worked
@ManuelHernandez-zq5em
@ManuelHernandez-zq5em 2 жыл бұрын
I ran the roboflow Yolov8 snippet and generated me this folder structure: datasets > objcts-to-detect > train > images ... When I ran the !yolo task=detect mode=train... step, it crashed with this error: Dataset not found ⚠, missing paths ['/content/datasets/pkslsp-and-tksrs-1/valid/images'] The roboflow snippet did not generate folder "valid" before "images". How can I fix this?
@Roboflow
@Roboflow 2 жыл бұрын
Could paste here a link to your dataset at Roboflow?
@ManuelHernandez-zq5em
@ManuelHernandez-zq5em 2 жыл бұрын
@@Roboflow Everytime I paste the link right here, it gets deleted. I am going to paste only what is after the roboflow domain, which is: /pc-solutions/pkslsp-and-tksrs/1. Let me know if this helps. 😕
@Roboflow
@Roboflow 2 жыл бұрын
@@ManuelHernandez-zq5em great, thanks! We didn't created that directory, because you don't have any valid and test images in your dataset. 4 images in train and 0 in valid and test. YOLOv8 requires you to have some validation set.
@yiksengtee8402
@yiksengtee8402 2 жыл бұрын
@@Roboflow Hi I'm having the same problem and tucked at Custom Training section, where it shows: Dataset not found ⚠, missing paths ['/content/datasets/PV-Temperature-detection--2/valid/images'] Traceback (most recent call last): File "/usr/local/bin/yolo", line 8, in sys.exit(entrypoint()) File "/usr/local/lib/python3.8/dist-packages/ultralytics/yolo/cli.py", line 148, in entrypoint cli(cfg) File "/usr/local/lib/python3.8/dist-packages/ultralytics/yolo/cli.py", line 84, in cli func(cfg) File "/usr/local/lib/python3.8/dist-packages/hydra/main.py", line 79, in decorated_main return task_function(cfg_passthrough) File "/usr/local/lib/python3.8/dist-packages/ultralytics/yolo/v8/detect/train.py", line 207, in train model.train(**cfg) File "/usr/local/lib/python3.8/dist-packages/ultralytics/yolo/engine/model.py", line 199, in train self.trainer = self.TrainerClass(overrides=overrides) File "/usr/local/lib/python3.8/dist-packages/ultralytics/yolo/engine/trainer.py", line 126, in __init__ self.data = check_dataset_yaml(self.data) File "/usr/local/lib/python3.8/dist-packages/ultralytics/yolo/data/utils.py", line 232, in check_dataset_yaml raise FileNotFoundError('Dataset not found ❌') FileNotFoundError: Dataset not found ❌ I have adjusted and having valid and test images in my Roboflow dataset. The link is "app(dot)roboflow(dot)com/apu-vbwqe/pv-temperature-detection/2" Appreciate if you could help me check
@gomathinalla3575
@gomathinalla3575 Жыл бұрын
You gotta change the paths for respective folders say test,train and val in data.yaml file. And try running it again, it should work. Hope this helps!
@pruthvidarshanss1586
@pruthvidarshanss1586 Жыл бұрын
Hey, in the video at 11:26, u said that u have posted the links in the description but i couldn't find that link. Can u please check for that link? It will be very helpful for me.
@sevenscapes
@sevenscapes 5 ай бұрын
Just a quick question, upon completing training, can I download the newly created Yolo model?
@Roboflow
@Roboflow 5 ай бұрын
yup! all weights are saved in google colab after training; you can download them to your hard drive.
@meryem8634
@meryem8634 Жыл бұрын
thank you for great video :)
@Roboflow
@Roboflow Жыл бұрын
Thanks a lot for watching :)
@entertainmentvideos1281
@entertainmentvideos1281 2 жыл бұрын
hello sir after detection there is no predict directory where my video and test images are stored... detection on video perform and completed successfully but predict directory is not
@SkalskiP
@SkalskiP 2 жыл бұрын
Hi it is Peter from video. I just pushed slightly updated version of our notebook. I think you should not experience that problem now. Could you take a look?
@jojis4950
@jojis4950 Жыл бұрын
Hi, thank you for the lovely video. Although I am getting this error when I initiate training: FileNotFoundError: Dataset '/content/project_name/data.yaml' not found ⚠, missing paths ['/content/datasets/project_name/valid/images']
@Roboflow
@Roboflow Жыл бұрын
Hi 👋🏻 could you create a bug report here: github.com/roboflow/notebooks? Please provide us with as many details as possible.
@themuppetman3671
@themuppetman3671 Жыл бұрын
This happens to a lot of the files for some reason, it also did it for 'predict3' and required a change to ''predict2'. I'm not sure whether this is intentional or not : |
@themuppetman3671
@themuppetman3671 Жыл бұрын
@@Roboflow For me this occurred because the 'train' file (/runs/detect/train/weights/best.pt) was displaced for some reason. All the weights had saved to 'train3'rather than the preestablished location within the given code. Try and find where the files are saving and change the file destinations (i.e., from /runs/detect/train/weights/best.pt to /runs/detect/train3/weights/best.pt).
@MrCantyousea
@MrCantyousea 2 жыл бұрын
I can't see the Submit Images For review section. Why?
@Roboflow
@Roboflow 2 жыл бұрын
Hi! 👋Do you have only images or images and annotations? If you have annotations in what format?
@MrCantyousea
@MrCantyousea 2 жыл бұрын
​@@Roboflow Hi, thanks for your help. This is my first project actually. I do almost everything same with you. Just I don't use same dataset with you.(I couldn't find your dataset). I use different football match images dateset from roboflow. Total 114 images and I annotated 5 of them.(I don't know which format are they.) Then I want to annotate others automatically like you but I can't see the Submit Images for review button.
@MrCantyousea
@MrCantyousea 2 жыл бұрын
@@Roboflow I also couldn't see Approved or Rejected options in Overview. Probably something may wrong about my dataset. But they are only images with unannotated
@MrCantyousea
@MrCantyousea 2 жыл бұрын
@@Roboflow I think I misunderstood. I guess we should manually annotate all the pictures that will be used for the model we will build first. Then we can easily label and annotate much more data with the model formed after that. I guess you meant it
@liao-g9v
@liao-g9v 2 ай бұрын
Hello! I really enjoy your series of tutorials; they are particularly detailed and clear! However, when applying them in practice, I encountered a problem. The target I want to detect is partly included in the YOLO pre-trained model, and the other part is not. For the targets not included, I have trained a custom dataset. How can I combine the custom model with the pre-trained model to recognize all the targets I want in a single image?Thank you!!!
@helloansuman
@helloansuman Жыл бұрын
Please create a video on how to utilize multi GPU in a single node.
@rohanpokale4651
@rohanpokale4651 2 жыл бұрын
Hello.. I trained a model on YOLOv8 and it worked very well. I had a question. Like I wanted to make some changes in the Predict file when I was running yolov8 in my system locally on CLI. I wanted to integrate a alarm system when any thing is detected. So I wanted the location of the Predict file. I have download the ultralytics repo in my pc.
@SkalskiP
@SkalskiP 2 жыл бұрын
Hi 👋It is Peter from video! If you want to do changes, I encourage you not to install via pip but clone repo and install it the old way.
@narsilberkay
@narsilberkay 2 жыл бұрын
Output of the predict method doesn't give the location of the predicted images, how can i fix it ?
@Roboflow
@Roboflow 2 жыл бұрын
Add save=True to your command
@mohammadhaadiakhter2869
@mohammadhaadiakhter2869 2 жыл бұрын
Did you use pre-train model on COCO dataset and just updated the weights or did you actually created a new instance YOLOv8?
@Roboflow
@Roboflow 2 жыл бұрын
Hi! If I understand your question correctly, you ask if we used transfer learning or not?
@mohammadhaadiakhter2869
@mohammadhaadiakhter2869 2 жыл бұрын
@@Roboflow No no, it was something else, but now I am encountering the same error as Rachaer CR ERROR-Error executing job with overrides I also used my own dataset. Please help
@Roboflow
@Roboflow 2 жыл бұрын
@@mohammadhaadiakhter2869 could you create a issue here: github.com/roboflow/notebooks/issues? It would be great if you could include link to your version of notebook.
@mohammadhaadiakhter2869
@mohammadhaadiakhter2869 2 жыл бұрын
@@Roboflow Just one more thing from ultralytics import YOLO model = YOLO("yolov8n.pt") import cv2 import numpy as np cap=cv2.VideoCapture(0) while cap.isOpened(): ret,frame=cap.read() results=model(frame) cv2.imshow('frame',np.squeeze(results.render)) if cv2.waitKey(10)& 0xFF==ord('q'): break cap.release() cv2.destroyAllWindows() I am encountering an OS error, any idea how to solve it?
@Roboflow
@Roboflow 2 жыл бұрын
@@mohammadhaadiakhter2869 is that your help request here: github.com/roboflow/notebooks/discussions/44
@sholehuye2737
@sholehuye2737 Жыл бұрын
Sorry sir, permission to ask if the code that runs on google collab can be run on pycham
@tonyzedlav
@tonyzedlav 6 ай бұрын
would higher epochs on training mean higher accuracy?
@Roboflow
@Roboflow 6 ай бұрын
It may be more tricky. If you train for too long, you might overfit your model. Especially if your dataset is small.
@tonyzedlav
@tonyzedlav 6 ай бұрын
@@Roboflow thank you, what would be your suggested number of epochs?
@wptgroup
@wptgroup Жыл бұрын
Thanks for the fantastic video. My prediction picture data won't store in /runs/detect/predict at the moment I run with mode=predict. What should I do? I repeatedly ran my code, but it failed to save. Your advice is essential. thank you in advance.
@Roboflow
@Roboflow Жыл бұрын
Try to use save=True parameter
@aswath_tamilan
@aswath_tamilan Жыл бұрын
i cant access the ultralytics command line to further process
@Roboflow
@Roboflow Жыл бұрын
Could you give me a bit more detail?
@aswath_tamilan
@aswath_tamilan Жыл бұрын
@@Roboflow i can't access that ultralytics page and set of commands on colab .
@Roboflow
@Roboflow Жыл бұрын
@@aswath_tamilan could you create bug report here: github.com/roboflow/notebooks/issues and describe your issues?
@aswath_tamilan
@aswath_tamilan Жыл бұрын
@@Roboflow ok
@iMJKhan
@iMJKhan Жыл бұрын
Thanks for your efforts. How to generate a confusion matrix if the training is stopped due to no improvements in loss?
@omerkaya5669
@omerkaya5669 Жыл бұрын
I trained our network with custom dataset. The training period lasted a long time. I want to test the performance of my test set with the network I trained at another time. Is there any other solution than retraining the network?
@fatrat1184
@fatrat1184 Жыл бұрын
Hi, how if i don't want to use yolov8n, and i want to change yolov8m, where should i change it? Someone pls help me thx
@kevinwoodrobotics
@kevinwoodrobotics Жыл бұрын
When you call the YOLO function, you can change your model input there as a string to your model name. Have to first import from ultralytics
@razorphone77
@razorphone77 2 жыл бұрын
When you train a model, the weights are saved in the runs folder correct? We do not have to upload to roboflow? Also using v5 you used to be able to put custom data sets in a certain place in the directory structure which you reference with a data.yaml file. Is this not the case anymore? Where are the datasets stored now? Is it no longer on the local machine in the directory? Do we have to use roboflow and upload there? Thanks
@AjayReddy1
@AjayReddy1 Жыл бұрын
How to get the google colab file for training
@SkalskiP
@SkalskiP Жыл бұрын
Hi it is Peter from the video! If you mean link to the Notebook, it is in description bellow ;)
@robparatore1940
@robparatore1940 7 ай бұрын
Are there any footage requirements for inputting into YOLOV8? I am trying to use it for sports analysis and wondered whether you need the whole pitch/tactical wide lens?!how zoomed in does it need to be? Will it capture a ball being hit at really high speeds?
@edumaba
@edumaba 2 ай бұрын
Hi all, please where can I get the football data used in this tutorial?
@Roboflow
@Roboflow 2 ай бұрын
here’s the dataset: universe.roboflow.com/roboflow-jvuqo/football-players-detection-3zvbc :)
@Agronomistapolo
@Agronomistapolo 2 жыл бұрын
Could you explain how to edit the bounding box to visualize them with a better appearance?
@Roboflow
@Roboflow 2 жыл бұрын
Did you try our supervision pip package? We offer custom annotators for bounding boxes there.
@RAZZKIRAN
@RAZZKIRAN Жыл бұрын
thank you, useful, great content
@Roboflow
@Roboflow Жыл бұрын
Thanks a lot!
@RAZZKIRAN
@RAZZKIRAN Жыл бұрын
@@Roboflow welcome sir, getting errors at code, please solve sir
@Roboflow
@Roboflow Жыл бұрын
@@RAZZKIRAN I'm happy to help. Could you please create a thread on ours discussions page: github.com/roboflow/notebooks/discussions/categories/q-a ?
@roobeshbalaji9282
@roobeshbalaji9282 Жыл бұрын
Hello! Quick question, when trying to deploy the model, I'm getting the message "an error occured when getting the model upload URL: This version has a trained model. Please generate and train a new version in order to upload model to Roboflow." How can I fix this?
@Roboflow
@Roboflow Жыл бұрын
Hi, it is Peter from the video. 👋For now, we only allow one model version to be tied with one version of the dataset. Looks like you already have some models tied with that version of dataset.
@roobeshbalaji9282
@roobeshbalaji9282 Жыл бұрын
@@Roboflow I'm not sure exactly. I ran the colab file pretty along with you following the video, except I made my own dataset how you showed it in the video and used the api information from that. Pretty much ran the rest of the colab file as is.
@Roboflow
@Roboflow Жыл бұрын
@@roobeshbalaji9282 can you send me link to your dataset?
@muhdirshat9858
@muhdirshat9858 Жыл бұрын
hello, i have some problems on confusion matrix part where the font size that shows number in that confusion matrix is too small and quite hard to read. is there any way that i can make the font size on that confusion matrix bigger? is there any modification on the code?
@Roboflow
@Roboflow Жыл бұрын
No. But you can use supervision confusion matrix: github.com/roboflow/supervision
@venkatasubramaniat7163
@venkatasubramaniat7163 2 жыл бұрын
is there any detailed blog or tutorial for yolov8 classification. with custom dataset. am having problem with data parameter in model.train
@esooghazy
@esooghazy 2 жыл бұрын
Me too! It raises FileNotFound: None error
@ranggayogiswara5148
@ranggayogiswara5148 Жыл бұрын
The option to export in yoloV8 format is now available. Do I still have to export the annotated dataset to yoloV5?
@Roboflow
@Roboflow Жыл бұрын
Good question. It is better if you'll export in YOLOv8 format.
@navyabaireddy5920
@navyabaireddy5920 7 ай бұрын
All at once in the sense, rather than annotating all the images manually is there any way we could do it faster?
@luizgarcia3878
@luizgarcia3878 Жыл бұрын
How did you added the labels at the video? When I try using a test video it does the process and shows the classification but the video remain the same
@watanabeyou3446
@watanabeyou3446 4 ай бұрын
How to download the dataset with python?
@bryceayoung
@bryceayoung 7 ай бұрын
Thanks for the video! Does yolo segment things in geometries that aren’t rectangles? For instance, if you wanted to segment different planar surfaces on a roof from aerial imagery.
@muza886
@muza886 2 жыл бұрын
Hii i have error in project deployment " AttributeError: 'UltralyticsCFG' object has no attribute 'items'"
@Roboflow
@Roboflow 2 жыл бұрын
Could you please create issue here: github.com/roboflow/notebooks/issues ? That could help us track that issue. And please provide as much details as you can.
@TerukiVAL
@TerukiVAL 4 ай бұрын
How can I exclude certain classes when generating weights? During my annotation process, I included all the classes I needed, but I only want the model to generate weights based on specific classes. How can I achieve this?
@moahaimen
@moahaimen 2 жыл бұрын
how to make the predication on KZbin video, i was doing this on Yolov5
@Roboflow
@Roboflow 2 жыл бұрын
It is not working with YOLOv8 CLI?
@robinchriqui2407
@robinchriqui2407 Жыл бұрын
Thank you very much it worked very well with my own custom dataset, I have a question how do you download the result on the video?
@Roboflow
@Roboflow Жыл бұрын
You mean from Colab?
@robinchriqui2407
@robinchriqui2407 Жыл бұрын
I just had save and it worked, yes from collab
@omerkaya5669
@omerkaya5669 Жыл бұрын
Could you send the video? predict part is not coming.
@Roboflow
@Roboflow Жыл бұрын
@@omerkaya5669 could you be a bit more specific?
@omerkaya5669
@omerkaya5669 Жыл бұрын
@@Roboflow %cd {HOME} !yolo task=detect mode=predict model={HOME}/runs/detect/train2/weights/last.pt conf=0.1 source=/content/25km.mp4 I run this code, but I can't see where the video is saved.
@tzadokavraham
@tzadokavraham Жыл бұрын
hi,how can i download the results from the colab?
@Roboflow
@Roboflow Жыл бұрын
Result of both training and detection is saved in runs directory. Take a look here stackoverflow.com/questions/49394737/exporting-data-from-google-colab-to-local-machine to learn how to download stuff from colab.
@JustShorts-7
@JustShorts-7 Жыл бұрын
amazing but how can i give Live camera real time video instead of video to detect object that is trained
@Roboflow
@Roboflow Жыл бұрын
We actually done webcam live-stream processing with YOLOv8 tutorial: kzbin.info/www/bejne/h4ebZpiPhMdqnc0 Take a look :)
@jpatrx
@jpatrx 2 жыл бұрын
keep getting a failed upload of my model. what could be the problem?
@Roboflow
@Roboflow 2 жыл бұрын
For now, you can only have one model per dataset version. Do you already have some model tied to your dataset version?
@blackwhalestudio
@blackwhalestudio Жыл бұрын
if you want to seperate the teams would you do that in the labelling (annotation) when preparing the dataset or later in the algorithm based on for example the jersey color? Thanks for the great video!
@red-bluelife
@red-bluelife Жыл бұрын
Yes, you would need to do the annotation, but the model will predict poorly on new teams.
@muhammadhilman1045
@muhammadhilman1045 7 ай бұрын
THANK YOUU SO MUCHH BROO 👍👍👍👍👍👍
@AmmarAbbasi-l2n
@AmmarAbbasi-l2n Жыл бұрын
can we run live inferencing on yolov8 models without using ultralytics library like we used to in previous version of yolov5? I want to setup the codebase for just running inferencing without using the ultralytics library.
@Fctxxx
@Fctxxx 2 жыл бұрын
Hello, I am trying to make the same application with a different dataset. In the "Training" section, I get the error "boolean index did not match indexed array along dimension 0; dimension is 1 but corresponding boolean dimension is 9" and train section stops. how can i solve this?
@Roboflow
@Roboflow 2 жыл бұрын
Hi! Are you using our notebook for training with no changes other than your dataset? Do you use dataset loaded from Roboflow?
@Fctxxx
@Fctxxx 2 жыл бұрын
Yes im using dataset from roboflow. Everything same except dataset. But i have a error.
@Roboflow
@Roboflow 2 жыл бұрын
@@Fctxxx could you please create issue here: github.com/roboflow/notebooks/issues? It would help us to track this issue. Please make sure to give us as much detail as you can.
@BinodKhatri-i4x
@BinodKhatri-i4x Жыл бұрын
Hello, thanks for the amazing tutorial. the older version of roboflow is working fine but I could not figure out why is the the roboflow 1.0.1 or later throwing following error just by importing it. TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
@Roboflow
@Roboflow Жыл бұрын
Could you please create new issue here: github.com/roboflow/notebooks/issues and give me a bit more detail?
@HashirAKhan
@HashirAKhan Жыл бұрын
My question is, once we train on custom classes will Yolo only predict those classes or the pre-existing classes in Yolo will also be there in our predictions?
@Roboflow
@Roboflow Жыл бұрын
It will only detect the new classes.
@HashirAKhan
@HashirAKhan Жыл бұрын
@@Roboflow so how can we add custom classes to yolov8?
@Roboflow
@Roboflow Жыл бұрын
@@HashirAKhan so you want to keep the old and add new?
@HashirAKhan
@HashirAKhan Жыл бұрын
@@Roboflow yes exactly! Like keep the old classes and add the new ones.
@HashirAKhan
@HashirAKhan Жыл бұрын
@@Roboflow So basically reinforcement learning, using the old weights and new weights, do you have any tutorial on that?
@judesequeira1643
@judesequeira1643 Жыл бұрын
do we need to specify device=none parameter while training to access GPU even after changing GPU settings under Runtime bar in Colab? When i execute training even after changing to GPU settings under runtime tab, i get device=none mentioned in the output of training
@728239
@728239 11 ай бұрын
What is the best way to resize images to 640x640? Is it stretching or resizing keepeing proporions?
@seroshmannan
@seroshmannan Жыл бұрын
how can we change the hyperparameters according to our custom dataset
@Roboflow
@Roboflow Жыл бұрын
Do you mean hyperparameters of the model?
@seroshmannan
@seroshmannan Жыл бұрын
@@Roboflow yes
@Roboflow
@Roboflow Жыл бұрын
@@seroshmannan you can pass your training hyperparamiters as arguments to yolo CLI
@moazamadrees5409
@moazamadrees5409 2 жыл бұрын
hey how can we use our own weights file it's generated in PT extension?
@SkalskiP
@SkalskiP 2 жыл бұрын
Hi it is Peter from video :) What would you like to do with them? Deploy in Roboflow? ;)
@moazamadrees5409
@moazamadrees5409 2 жыл бұрын
@@SkalskiP I am using the yolo default weights in my own code for detection, but when I train a model on custom data set, it generates weights in pt extension which aren't useable unless in weights extension so is there a way?
@SkalskiP
@SkalskiP 2 жыл бұрын
@@moazamadrees5409 I try to follow what you are saying but I don't quite understand. .pt file is the standard PyTorch file extension. Is file in that extension not working for you?
@moazamadrees5409
@moazamadrees5409 2 жыл бұрын
@@SkalskiP well when I deploy the model in my code I used yolov7.weights file, but the one generated from custom model is Pt file, can it be changed into weights is my question
@kaka0199
@kaka0199 Жыл бұрын
Im looking for that answer to Have you found a solution?
@thearpitkatiyar637
@thearpitkatiyar637 Жыл бұрын
What algo you are using with yolo for image detection
@rachealcr6752
@rachealcr6752 Жыл бұрын
is that possible for the yolov8 train model to implement in MATLAB?
@Roboflow
@Roboflow Жыл бұрын
I’m afraid not.
@roni1422
@roni1422 Жыл бұрын
how can we dowload the final models from the notebook for using in pycharm?
@Roboflow
@Roboflow Жыл бұрын
Of course you can! Mode is saved in runs directory. And you can download it from colab. Take a look at this stackoverflow.com/questions/49394737/exporting-data-from-google-colab-to-local-machine to learn how to download stuff from colab to local.
@roni1422
@roni1422 Жыл бұрын
@@Roboflow can you explain how to set the runs directory please? for exaple ,my google drive. what is the relevant command?
@AkankshyaParida-z1m
@AkankshyaParida-z1m 3 ай бұрын
i am getting error again and again if i use any other dataset , my epochs are not running only.. suggest what to do
@AmaBaidoo
@AmaBaidoo 2 жыл бұрын
Please how can I edit the code to count the number of objects detected instead of just drawing boxes?
@Roboflow
@Roboflow 2 жыл бұрын
We will do exactly that tutorial on Monday or Tuesday
@hchattaway
@hchattaway 2 жыл бұрын
Iam new to YOLO and object detection.... What is the relationship between YOLO and PyTorch? This video didn't mention PyTorch but in other tutorials on YOLO, PyTorch was brought up but it was not clear how they integrate or if that is even needed...Any help is greatly appreciated!
@SkalskiP
@SkalskiP 2 жыл бұрын
Hi it is Peter from video! PyTorch is a general framework used to build neural networks. YOLO is one of neural networks that is written in PyTorch.
@hchattaway
@hchattaway 2 жыл бұрын
@@SkalskiP oh! YOLO is written in pytorch! Didn't know that... So no other separate processing by pytorch is needed, thanks!
@aryachowkekar2769
@aryachowkekar2769 3 ай бұрын
TypeError: unhashable type: 'numpy.ndarray' (Having this error in custom training process)
@Roboflow
@Roboflow 3 ай бұрын
Could you give me a bit more detail? When is that problem occuring?
@akifakbulut765
@akifakbulut765 Жыл бұрын
What can I do to make the model I have trained to continue training again leter?
@Roboflow
@Roboflow Жыл бұрын
resume=True I believe :)
@janaud14
@janaud14 Жыл бұрын
Doesn't work for me, i have an issue for the custom training step : "(...)/data.yaml' is not a valid YOLO argument."
@arunesh_7
@arunesh_7 Жыл бұрын
Same problem
@Roboflow
@Roboflow Жыл бұрын
Is that happening in our notebook?
@pcsolutionsezcloudsystems5929
@pcsolutionsezcloudsystems5929 Жыл бұрын
After extracting the downloaded dataset zip file (from my roboflow account), to which folder (following this video) should I upload the valid, train and test folders and, the data.yaml and README text files?
@Roboflow
@Roboflow Жыл бұрын
Dou you use manual download or pip package?
@pcsolutionsezcloudsystems5929
@pcsolutionsezcloudsystems5929 Жыл бұрын
@@Roboflow I used manual download from the roboflow online app. I click the "Export Dataset" button. Then select "YOLO8" format. Then select "download zip to computer" option and finally click the "Continue" button. Trouble is, the snippet I copied/pasted into my Colab crashed when ran because it does not include a workspace name. :(
@AbdulAziz-cj4hg
@AbdulAziz-cj4hg 4 ай бұрын
Im a complete beginner, studied in art and design school, is there any recomendation that will guide me step by step learning about terms and all?
@צדוקאברהם
@צדוקאברהם Жыл бұрын
I am trying to download the final files to my pycharm and i can not do it.please, can you write over here the command i have to use for dowloading the final files to my google drive? in other words, how can i set my google drive as dircetory files and where i have to place it in the code in the notebook.thank you very much
@Roboflow
@Roboflow Жыл бұрын
I see that we are getting a lot of similar comments over the last 2 days. I’m actually quite curious why is that. Haha can you create a new thread here: github.com/roboflow/notebooks/discussions/categories/q-a Asking about that. I’ll try to create a small tutorial on how to do it.
@omerkaya5669
@omerkaya5669 Жыл бұрын
I have uploaded video for object detection. However it takes a very long time to download the analyzed video. How can i shorten this time? Or how can i watch without downloading?
@HoAnLocK18DN
@HoAnLocK18DN 2 ай бұрын
Hi Roboflow, i applied histogram equalization preprocessing image in my dataset to train yolov8 model then i will use this pretrain model to predict each frame in my web cam, so i want to ask you that how can i preprocessing my frame like roboflow's histogram equalization preprossing did.
@abd-alrhmanabdallah8388
@abd-alrhmanabdallah8388 Жыл бұрын
How can I prepare dataset_params if I have a dataset structured as follows: Vid1/images and labels, Vid2/images and labels, and so on up to Vid100? The dataset consists of multiple videos, with each video stored in its own folder.
@John-wx3zn
@John-wx3zn 7 ай бұрын
do you have a tutorial on how to use roboflow?
@ecaleks17
@ecaleks17 9 ай бұрын
So I’m new to all of this, I’m assuming this is all in python, is there any way to turn this from .pt files to .pb files
@muhdnajhan886
@muhdnajhan886 8 ай бұрын
can you show with the coordinate please at the bounding box . I am very need that
@JohnJevyAlimpolos
@JohnJevyAlimpolos 9 ай бұрын
is there custom train for pose estimation?
@debeshbiswas1672
@debeshbiswas1672 Жыл бұрын
while running inference on a custom dataset i get this error: TF-TRT Warning: Could not find TensorRT. After then it detects properly. I just don't get the visual of its detection!
@aaronmalupet8329
@aaronmalupet8329 6 ай бұрын
why the validation dataset images are trained?
@Roboflow
@Roboflow 6 ай бұрын
Those images are used to test model during the training.
@notyetnotnowyouknow
@notyetnotnowyouknow Жыл бұрын
Hey what about pose detection training??
@wordpreneur6059
@wordpreneur6059 11 ай бұрын
Hi, thanks for the great knowledge and information you have provided. Please could you help use the custom model created to create an app/UI using Streamlit or Flask with Webcamp?
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Instance Segmentation in 12 minutes with YOLOv8 and Python
12:15
This free Chinese AI just crushed OpenAI's $200 o1 model...
4:41
Fireship
Рет қаралды 2,4 МЛН
YOLOv8 Instance Segmentation on Custom Dataset | Windows & Linux
14:13
Build an Object Detector for Any Game Using YOLO
22:40
Moises de Paulo Dias
Рет қаралды 78 М.
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН