Autodistill: Train YOLOv8 with ZERO Annotations

Sdílet
Vložit
  • čas přidán 9. 09. 2024

Komentáře • 96

  • @abdshomad
    @abdshomad Před rokem +19

    Small request for next video: data collection -> autolabel -> load to roboflow for manual correction -> train -> compare accuracy with today's result

    • @Roboflow
      @Roboflow  Před rokem +4

      Hi 👋🏻 It is Peter from Roboflow. So comparing automatically build model with the one trained on manually annotated data?

    • @abdshomad
      @abdshomad Před rokem +2

      @@Roboflow compare manually is OK

    • @mrbot4one
      @mrbot4one Před rokem +1

      @@Roboflow use autodistill to label the data then check it manually for the correct anotations them train with yolov8

    • @SAITAMA-07-13
      @SAITAMA-07-13 Před 11 měsíci

      ​@@mrbot4onehello I am working on project like it will detect the car model in real time but I search a lot I didn't find how to train model and test it can you please suggest me it will be big help

    • @mrbot4one
      @mrbot4one Před 10 měsíci

      @@SAITAMA-07-13 Use YOLO for your purpose

  • @sebbecht
    @sebbecht Před rokem +5

    Well done Roboflow, I am glad a distillation video worked out, i wasnt disappointed!!

    • @Roboflow
      @Roboflow  Před rokem

      Thanks a lot. I hope our videos - in general - do not disappoint. Haha

    • @mrbot4one
      @mrbot4one Před 10 měsíci +1

      yes they do not. But we are still waiting for the method to work on the annotated images. When we annotate the image from Autodistill then we have no method to change or update the wrong annotations . Please provide a solution for that. Thank You.@@Roboflow

  • @maheshagodekere
    @maheshagodekere Před rokem +3

    Thanks for sharing the autodistill library. This is awesome. The era of labelling is gone!

    • @Roboflow
      @Roboflow  Před rokem +1

      Not yet. But we are definitely moving into that direction.

  • @jingjungpractice4445
    @jingjungpractice4445 Před rokem +2

    You're the best. I love you. You've made a significant impact on computer vision tasks.

    • @Roboflow
      @Roboflow  Před rokem

      Thanks a lot! 🙏🏻 This complement goes rather to the whole RF team. I just recorded video.

  • @shuqairice
    @shuqairice Před 7 měsíci +1

    After executing the code, the 'confidence.txt' file is not being created in the specified output folder (output_folder). I have checked the directory structure, file extensions, and paths, but the problem persists. Any assistance in identifying the issue would be appreciated.
    after using this part of code im facing the following problem:
    from autodistill_grounded_sam import GroundedSAM
    base_model = GroundedSAM(ontology=ontology)
    dataset = base_model.label(
    input_folder=IMAGE_DIR_PATH,
    extension=".png",
    output_folder=DATASET_DIR_PATH)
    FileNotFoundError: [Errno 2] No such file or directory: '/content/dataset/annotations/confidence-3_result.txt'

  • @user-eq8vw5qc1e
    @user-eq8vw5qc1e Před rokem +2

    thanks for saving tons of hours !!

    • @Roboflow
      @Roboflow  Před rokem

      That’s what I wanted to hear :)

  • @PrakashKeshari-ig6pk
    @PrakashKeshari-ig6pk Před rokem +1

    hi , i need a help , i need to detect shape like circle ,triangle ,rectangle in image and check all shaope are correctly drown are not , and guide me I try all shape detection model but unable tom find solution ,

  • @mrbot4one
    @mrbot4one Před rokem +3

    Hey Roboflow team. We are still waiting for the method to work on the annotated images. When we annotate the image from Autodistill then we have no method to change or update the wrong annotations . Please provide a solution for that. Thank You.

    • @adhr1t
      @adhr1t Před rokem

      ^^ is there a solution for this yet ? Need to correct and tweak the auto-labeling

    • @mrbot4one
      @mrbot4one Před 10 měsíci

      No brother @Roboflow team is not replying in any of the video @@adhr1t

    • @mrbot4one
      @mrbot4one Před 10 měsíci

      Requesting again for the update @roboflow @peterskalski

  • @samanddadkwan341
    @samanddadkwan341 Před rokem +2

    Hi and Thank you for this video, for me it’s so informative at my (very low) level. Also, GO SPURS! Question for Peter: In this code, “milk bottle” is what? Is it words that will be AI translated into a bounding box? Then “bottle” is what? … the instantiating and assignment to a class?
    ontology=CaptionOntology({"milk bottle": "bottle", "blue cap": "cap"}). Asked another way, if I had a bunch of images of my dog, could I say =CaptionOntology({“dog”:”My_Dog_Trudy”})? Would that lead to a model that had a decent chance of identifying her with a bounding box in video of her at a dog park?

  • @SAITAMA-07-13
    @SAITAMA-07-13 Před 11 měsíci

    I am working on project to detect a car model in real time i train 5 images but i didn't know whether they are trained well or not if they are than how to keep that data and detect car model in real time i so confuse how does this happen when i install yolo v8 it already has some in-built data detection in realtime than how can i put my own custom data in that classes

  • @tlchannel2359
    @tlchannel2359 Před rokem

    this is for any object and i only need to load the image and ontology or is it only the objects contained in yolo coconame that can label

  • @TUSHARGOPALKA-nj7jx
    @TUSHARGOPALKA-nj7jx Před 4 měsíci

    Is there a smaller version of Yolov8 that can be trained on the ade-20k dataset?

  • @hajerbettayeb8761
    @hajerbettayeb8761 Před rokem

    Thank you for sharing. I have question about results of YOLOv8 model , after the training of the model it results in a 3-dimensional confusion matrix taking the background as a class knowing that I have a binary classification my project is classification of preforms whether it is defect or not. What can be the raisaon of appearance of this class "backgroud" and how I can solve it ? if you help me I would be grateful.

  • @khalidalsinan3768
    @khalidalsinan3768 Před 7 měsíci

    why aren't the bottles and caps segmented in the video?

  • @tarnokmarton6804
    @tarnokmarton6804 Před rokem +1

    If I want to train a model, to detect and classify very specific objects, of which the foundation model doesn't have any labels (like on a highway senario, I don't only want to detect vehicles, like in a category car, but I also want to tell the brand of the car, or even more specific the model of the car.) would it still work? Can we teach a model with that complex classes without annotation?

    • @Roboflow
      @Roboflow  Před rokem

      No I’m afraid it won’t work. That query is to specific. Zero shot detections are not as powerful.

  • @kobic8
    @kobic8 Před rokem +2

    looks promising! so if I understand correctly - there are two phases: (1) auto-label an image dataset, something that you already showed in the G-SAM previous video (2) split the dataset to test/train/val and build a CV model with YOLO-8
    q1: since auto-labeling is not 100% fullproof, what about the human in the loop?
    q2: what if the base model doesn't recognize the labels (name of specific boats I have in a marine dataset), how can I fine-tune it? so the model will find a boat, but will also "know" the brand of the boat

    • @Roboflow
      @Roboflow  Před rokem +1

      Overall yes. But it doesn’t need to be G-SAM and YOLOv8. You could use other base and target models.
      You could upload your auto labeled datasets to Roboflow for human refinement and download it back to your environment for second stage.
      If the base model won’t detect objects you want to find you should try some prompt engineering. But there are definitely types of objects that we won’t be able to auto annotate. Good thing is that with every base model autodistill will become more powerful.

  • @cyberhard
    @cyberhard Před rokem +1

    Nice!

  • @sulaimanmahmoud7120
    @sulaimanmahmoud7120 Před rokem +3

    Can I use it for segmentstion task ?

    • @Roboflow
      @Roboflow  Před rokem +2

      Yes! Labels we generated are actually bounding boxes + polygons! You can use YOLOv8 to train both object detection and instance segmentation models.

  • @VintageVibes01
    @VintageVibes01 Před rokem +1

    Nicely explained @Piotr and awesome content @Roboflow

  • @rachealcr6752
    @rachealcr6752 Před rokem +1

    Great Video! Just wonder after deploying to Roboflow, how to verify the roboflow evaluation metrics like mAP, Precision and Recall with the one in google colab?

  • @gisanimrahma7803
    @gisanimrahma7803 Před 6 měsíci

    hi, thank you for the helpful information. truly appreciate it. i have a question, is there any way for the autodistill to only return the rectangle bounding box value and not a polygon?

  • @evanshlom1
    @evanshlom1 Před rokem +1

    Combine this with yolo as-one and it’s pretty easy to see how different parts of a larger process can be combined into an overall framework. Could be a pipeline framework, could be something else. Probably already being worked on if not released

    • @Roboflow
      @Roboflow  Před rokem

      Yeah it is awesome to se powerful open source projects being developed 🔥

  • @evanshlom1
    @evanshlom1 Před rokem +1

    This is epic

  • @stefanogarzoni2535
    @stefanogarzoni2535 Před 6 měsíci +1

    Hi everyone, you're great!
    Just one question, is it possible to use this "technique" to create custom models, or for the recognition of particular objects not present in the basic ones recognized by yolo?
    Thanks so much in advance for your reply and help!

    • @Roboflow
      @Roboflow  Před 6 měsíci

      Yup! That’s pretty much the idea behind autodistill.

    • @stefanogarzoni2535
      @stefanogarzoni2535 Před 6 měsíci

      ​ @Roboflow thank you very much, very kind!

  • @unoqualsiasi7341
    @unoqualsiasi7341 Před rokem +1

    How precise is the annotation? Like...for example if I want to label 3 types of insects...does it ricognize the type or will i have just a general 'insect' label?

    • @Roboflow
      @Roboflow  Před rokem

      Hi 👋🏻 It is Peter from the video. You should always try and test, but my assumption is that it won’t be able to distinguish between different types of insects. They will semantically be to close to each others but insect class sound very reasonable.

    • @saasinjapan
      @saasinjapan Před rokem

      For each insect, can't you take a video, and then adjust the CaptionOntology? I guess this would create 3 models, but maybe they could be combined or something?

  • @exoticcoder5365
    @exoticcoder5365 Před rokem

    Thanks Mate ! May I know the reason why are you choosing to use Yolov8 but not Yolo-NAS ?

  • @notmimul
    @notmimul Před rokem

    Does this framework support anything? Like galaxy object detection? For example, I have Galaxy images(about 300k) and the objects visible in the image are stars and different types of galaxies. My objective is to classify galaxies into two class. Is it possible to auto annotate?

    • @mrbot4one
      @mrbot4one Před 10 měsíci

      Only if they are in caption ontology. only those models if they relate to the base model. But if you do the labeling of your images and use as a base model for others it will be ground breaking

  • @Agronomistapolo
    @Agronomistapolo Před 4 měsíci

    This does not work for custom datasets.

  • @user-jo1jk3xh7x
    @user-jo1jk3xh7x Před rokem

    Is it possible to make your own custom base model like Grounding DINO?

  • @SAITAMA-07-13
    @SAITAMA-07-13 Před 11 měsíci

    hello I am working on project like it will detect the car model in real time but I search a lot I didn't find how to train model and test it can you please suggest me it will be big help

    • @Roboflow
      @Roboflow  Před 11 měsíci

      What model you want to train?

    • @SAITAMA-07-13
      @SAITAMA-07-13 Před 11 měsíci

      @@Roboflow I want to train multiple cars dataset like BMW Mercedes lamborghini and it should be recognized through live web camp

  • @riziqabuirshaid9183
    @riziqabuirshaid9183 Před rokem +1

    can I use it with tensorflow object detection or does it only work with yolo?

    • @Roboflow
      @Roboflow  Před rokem

      Any specific detector that you are interested?

    • @riziqabuirshaid9183
      @riziqabuirshaid9183 Před rokem

      @@Roboflow I’m working on a model using faster rcnn and I have 200k+ Images to label

  • @agrostorm
    @agrostorm Před rokem

    You can use pseudo labeling and data augmentation. No extra models are necessary. Create your own flow.

  • @mautushidas8368
    @mautushidas8368 Před rokem +1

    Is it possible to auto annotate ants using this.?

    • @Roboflow
      @Roboflow  Před rokem

      Depending on how large are the ants on the image?

  • @datatekjung
    @datatekjung Před rokem +1

    Thanks for so much useful information, BTW is it also possible to classify drones without any labeling like this video?

    • @Roboflow
      @Roboflow  Před rokem

      Thanks a lot! You intend to distinguish between drone types or just detect them on photo?

  • @alocatnaf
    @alocatnaf Před rokem +1

    how can i finetune the grounding sam model in this setup?
    i got some quite good results on my first attempts - but i think it can do better!
    thanks for the awesome tutorial!

    • @Roboflow
      @Roboflow  Před rokem +2

      You can’t fine tune G-SAM at least not without multiple GPU setup. But if you got good enough result with your first try. I thing best idea is to use your result YOLOv8 model to auto annotate more data and use it for training.

    • @alocatnaf
      @alocatnaf Před rokem

      @@Roboflow thanks alot!

  • @mehrshad9
    @mehrshad9 Před rokem +1

    Great as always! I have a question. How can I use my relatively good custom segmentation model to annotate more images in yolov8 forrmat?

    • @Roboflow
      @Roboflow  Před rokem +1

      Supervision could help with that. We have a ton of utilities that can make that easier.

    • @mehrshad9
      @mehrshad9 Před rokem

      @@Roboflow Thanks, I'll check it out.

  • @youssefkhaled5331
    @youssefkhaled5331 Před rokem

    Thnx for the content, Can I know how to open webcam in yolov7 method in colab I try hard but I get nothing thanks again.

  • @olanrewajuatanda533
    @olanrewajuatanda533 Před rokem

    Please, is there a way to save the labels and also determine the percentage of the train dataset versus the validation model?

    • @mrbot4one
      @mrbot4one Před 10 měsíci

      Labels are automatically saving in the folder in train and valid folder

  • @aymenbenammar1292
    @aymenbenammar1292 Před rokem

    Great video ! It helped me annotate my dataset from scratch
    Question : does the G-SAM annotation make a big difference compared to annotation with G-DINO ( without segmentation) ?

    • @SAITAMA-07-13
      @SAITAMA-07-13 Před 11 měsíci

      hello I am working on project like it will detect the car model in real time but I search a lot I didn't find how to train model and test it can you please suggest me it will be big help

  • @sayedammanakhtar1225
    @sayedammanakhtar1225 Před rokem

    Nice Video Big Fan of your videos can you make another on Football and continue from where you left like team segmentation and count the number of passes and shoots. It would be a big help

    • @Roboflow
      @Roboflow  Před rokem

      I’d love to do it. We have large backlog of video ideas. I’m afraid I can’t promise anything but maybe I’ll do it in my free time.

    • @sayedammanakhtar1225
      @sayedammanakhtar1225 Před rokem

      ​ @Roboflow Thanks for your honest reply

  • @8eck
    @8eck Před rokem +1

    Is there incremental auto distillation?

    • @Roboflow
      @Roboflow  Před rokem

      Could you elaborate please?

    • @8eck
      @8eck Před rokem

      @@Roboflow if the process is very long and I need to stop in the middle to continue later, is there a way to do that or it is an atomic only operation?

  • @YOUTUBER-pz4xz
    @YOUTUBER-pz4xz Před 7 měsíci

    I have 35 images to label but it is only labelling 1

  • @sulaimanmahmoud7120
    @sulaimanmahmoud7120 Před rokem +1

    Hello Hero,,,
    I hope you are well
    Is Grounded_Segmeny_Anything working on a night mode or just images within day mode
    Finally thanks for sharing your knowledge with us

    • @Roboflow
      @Roboflow  Před rokem

      I tried it with detecting people on night vision footage and it works. Best idea is to try and test :) I’m actually super curious if it will work for you.

    • @sulaimanmahmoud7120
      @sulaimanmahmoud7120 Před rokem +1

      @@Roboflow I am trying to detect parking lane but unfortunately didn't work

    • @Roboflow
      @Roboflow  Před rokem +1

      @@sulaimanmahmoud7120 parking lane in night vision can be hard. :/ What is your image resolution?

    • @sulaimanmahmoud8996
      @sulaimanmahmoud8996 Před rokem

      It's high resolution
      Width : 2592
      Height: 1944

  • @aminmemar416
    @aminmemar416 Před rokem

    Is it possible to change yolov8 backbone?

  • @riziqabuirshaid9183
    @riziqabuirshaid9183 Před rokem +1

    How can I use this if I have two classes or more ?

    • @Roboflow
      @Roboflow  Před rokem

      Hi 👋🏻 It is Peter from the video. We have two classes in our example.

    • @riziqabuirshaid9183
      @riziqabuirshaid9183 Před rokem

      @@Roboflow can it be used for more than two

  • @HowimeFly
    @HowimeFly Před rokem +1

    I was disappointed by the poor data annotation

  • @jasonrichards9575
    @jasonrichards9575 Před rokem

    Not everyone wants to use Python

    • @Roboflow
      @Roboflow  Před rokem

      :) you can definitely deploy those models with other languages