YOLOv5 training with custom data

  Рет қаралды 438,892

SoftwaresAI

SoftwaresAI

Күн бұрын

Пікірлер: 594
@pranavkul525
@pranavkul525 2 жыл бұрын
Thanks a lot for this video! Not only did you present everything really well, but also there wasn't anything in this video that I missed or didn't understand. It's good to be learning such complicated implementations with such ease!
@umar_muhammad_yaree
@umar_muhammad_yaree 2 жыл бұрын
Please do you know how i can display number of objects in the video
@javlontursunov6527
@javlontursunov6527 2 жыл бұрын
@@umar_muhammad_yaree I think you should count number of objects in each frame
@umar_muhammad_yaree
@umar_muhammad_yaree 2 жыл бұрын
Yes Please do you know how i can do that
@davisonyeoguzoro9232
@davisonyeoguzoro9232 Жыл бұрын
@@umar_muhammad_yaree I am interested in this too
@chowdhuryalvikhan1666
@chowdhuryalvikhan1666 2 жыл бұрын
You explained this quite well man. Thanks a lot for such a great video. I do not comment on any channel but I couldn't stop myself from commenting on this video of yours. You are doing great man, best of luck for the future. Please do make videos on object detection using Reinforcement learning, it would help me a lot. I subscribed to your channel and liked your video, thanks man.
@BenceTGIF
@BenceTGIF Жыл бұрын
The official colab notebook has changed since this video was made but still very useful! Thank you for your work!
@aniketborkar9185
@aniketborkar9185 2 жыл бұрын
For the first time I could execute something in the very attempt! Thanks to you Sir!!! This was seriously awesome.
@mauricioramirezsalamanca8620
@mauricioramirezsalamanca8620 2 жыл бұрын
Gracias por tomarte el tiempo de hacer este vídeo, no sabes lo útil que me fue, te juro, no tienes ni idea. Te amo.
@traeht
@traeht Жыл бұрын
Thank you very much! You helped me a lot with your clear explanation. I spent my whole day trying to get YOLOv5 up and running. Then I found your guide, followed it and everything works now.
@abprojects7477
@abprojects7477 Жыл бұрын
dear can you plz tell me how he unzipped the file i wrote the same code but it says unzip: cannot find or open ../train_data.zip, ../train_data.zip.zip or ../train_data.zip.ZIP.
@Isaac-be8dk
@Isaac-be8dk Жыл бұрын
i encounter the same error ,and the problem maybe we compress all the files together. and it works well when i seperate this files to upload ,hope this can help you.@@abprojects7477
@nandininandu8375
@nandininandu8375 11 ай бұрын
​Yup I've also similar error is there any sol
@BikuHazarika-w6i
@BikuHazarika-w6i 5 ай бұрын
​@@abprojects7477did u get the solution
@BikuHazarika-w6i
@BikuHazarika-w6i 5 ай бұрын
​@@nandininandu8375did u get the solution
@shapeyrthoughtsllshapeyrli1767
@shapeyrthoughtsllshapeyrli1767 Жыл бұрын
Thank you so much bro. I can't believe that I have done an object detection model in just one day.
@sowmyar7056
@sowmyar7056 2 жыл бұрын
Thank you for such a amazing video about YOLO, had almost everything needed in it ❤
@jackycwwang
@jackycwwang 2 жыл бұрын
Wow, the explanation is so clear and straightforward! Thank you sir!!!
@randomly-genrated
@randomly-genrated 3 жыл бұрын
lol.....I got that memory error too, but I paused the video and never saw that you got it too and I spent an hour figuring out the same fix. Then I came back and resumed the video and in probably 10 seconds you changed the batch size lol....
@shivamamrutkar8915
@shivamamrutkar8915 2 жыл бұрын
Life🙃
@elvenkim
@elvenkim 2 жыл бұрын
1thanks a lot!! was looking for a simple way to detect object and found this channel. Subscribed
@blackdiamond7790
@blackdiamond7790 6 ай бұрын
Thank you soooo much. Finally after two days, I was able to do my class project ❤
@hippieee9661
@hippieee9661 6 ай бұрын
BEST TUTORIAL I EVER FOLLOWED! THANK YOUUUU!!!
@-500IQgaming
@-500IQgaming Жыл бұрын
bro, I did this more than 4 hours and repeated many mistakes but I finally succeeded, that's an achievement for me :).
@GaryWee111
@GaryWee111 2 жыл бұрын
Wow, this explaination is one of the best I can find on KZbin! Thanks for your effort!
@MarkMifsud
@MarkMifsud 2 жыл бұрын
Thank you for the great tutorial and extra points for the chickens. I LOVE chickens!
@scooterboom4157
@scooterboom4157 Жыл бұрын
you are so good at teaching!
@zemenuketema1734
@zemenuketema1734 Жыл бұрын
Wow best explanation really am so happy by watching this video and many students get some thing especial.
@ku5h_
@ku5h_ 2 жыл бұрын
thank you for the video!
@Eng-Ahmed_Gamal
@Eng-Ahmed_Gamal Жыл бұрын
Thank you for this great video, all the best 👍🏻
@peterkipropkurui9075
@peterkipropkurui9075 2 жыл бұрын
Thank you very much, been looking for this explanation. Many thanks
@Yawanawa_K
@Yawanawa_K 3 жыл бұрын
Thank you! This is just what I was looking for!
@mithraravi4722
@mithraravi4722 2 жыл бұрын
Thankyou for this video! How to turn on Webcam and do object detection in real-time...can please say what changes should be done?
@shaunincohst2839
@shaunincohst2839 2 жыл бұрын
This TUTORIAL IS 100% WORKING GOOD TUTORIAL
@bharathijuvva5984
@bharathijuvva5984 Жыл бұрын
hello sir please do the same video for yolov8 also using webcam I mean for real time detection also
@BernardLawes
@BernardLawes 3 жыл бұрын
Very well done. Easy to follow.. you’ve got a new subscriber
@rubs63
@rubs63 3 жыл бұрын
It's brilliant.!! Thanks for the amazing video!! Really helpful!!
@Ashrafabazeed
@Ashrafabazeed 2 жыл бұрын
great video and explaining. I did everything as you mentioned but the model can't detect any image from the video. although it does detect it in the runs. .
@magnetizing
@magnetizing Жыл бұрын
My man, you absolutely murdered this explanation. I would add #objectdetection, etc. to the description to help youtube/other people find this video faster (I was riding the struggle bus hard until I found this video lol). Cannot thank you enough!!!
@shivamamrutkar8915
@shivamamrutkar8915 2 жыл бұрын
Hello Instructor, thanks for this amazing tutorial, please give us that video link of chickens, please upload it somewhere and provide us with link. Help appreciated...
@AleksandarBundalo
@AleksandarBundalo Жыл бұрын
Hello good man. I quickly tested your video, I like how you explain and kudos to you for your knowledge. I took a picture of a table lamp 10 times, 3 pictures are for validation and I recorded a video for 10 seconds, with an iPhone 13 Pro. I didn't succeed in processing the video, the pictures are trained... I don't know if it's because I converted MOV to MP4...or if there's something else at play.
@nehan5317
@nehan5317 Жыл бұрын
I have no words to express my gratitude towards you. Thanks a ton.
@Rahul-kc4gf
@Rahul-kc4gf 2 жыл бұрын
I need guidance for Final year project how I detect and recognize multiple faces from single image. thank you in advance
@SoftwaresAI
@SoftwaresAI 2 жыл бұрын
hi, i can help you in this. Contact me on google chat / google hangout , at biplob00110011@gmail.com
@muhammadfahadnasir1627
@muhammadfahadnasir1627 2 жыл бұрын
I cannot Thank You enough for this.
@lawalabdulazeez2636
@lawalabdulazeez2636 2 жыл бұрын
Hello, thank you so much for this beautiful tutorial. Please, could you also do a tutorial on how to deploy this model live?
@osama82405
@osama82405 2 жыл бұрын
excellent man,thank you for this video.look forward more such videos.
@darklord_ice
@darklord_ice Ай бұрын
Great video! I'm new to this. So with "val" you basically do the same thing again, just to train the model better? Which means, you could also put "negative" images that the model should exclude? I ask because I want to recognize sprocket holes on a film strip that are completely visible only, and the "half" ones should be recognized as invalid.
@tirthrajgandhakwala6201
@tirthrajgandhakwala6201 2 жыл бұрын
Hello. I am trying to follow your video but some things have changed on colab This is my yaml file. train: ../train_data/images/train # train images (relative to 'path') 128 images val: ../train_data/images/val # val images (relative to 'path') 128 images test: # test images (optional) # Classes names: 0: pothole This is the error I get in training part. Transferred 739/745 items from yolov5x.pt AMP: checks passed ✅ optimizer: SGD(lr=0.01) with parameter groups 123 weight(decay=0.0), 126 weight(decay=0.0005), 126 bias albumentations: Blur(p=0.01, blur_limit=(3, 7)), MedianBlur(p=0.01, blur_limit=(3, 7)), ToGray(p=0.01), CLAHE(p=0.01, clip_limit=(1, 4.0), tile_grid_size=(8, 8)) train: Scanning '/content/train_data/labels/train' images and labels...0 found, 500 missing, 0 empty, 0 corrupt: 100% 500/500 [00:00 0 or not augment, f'{prefix}No labels found in {cache_path}, can not start training. {HELP_URL}' AssertionError: train: No labels found in /content/train_data/labels/train.cache, can not start training. See github.com/ultralytics/yolov5/wiki/Train-Custom-Data Please help me out. I really want to get this done for course project. Thank you
@WisdomWhispers807
@WisdomWhispers807 Жыл бұрын
Did you find any solution for this. I'm also getting this error.
@noshinsaiyaraahmad3688
@noshinsaiyaraahmad3688 Жыл бұрын
Thank you so much for this useful tutorial!
@MikeNapoli735
@MikeNapoli735 3 жыл бұрын
Thank you very much! Nice video!
@aleksandrjefremov3816
@aleksandrjefremov3816 2 жыл бұрын
Thank you so much. Very clear explanation!
@herberthipolito9941
@herberthipolito9941 2 жыл бұрын
Thankss. This video was really helpful in my project 😃.
@RaulJayYanson
@RaulJayYanson Жыл бұрын
I have followed all the steps in the video, but my training only has 66% accuracy and when I try to predict and their is no prediction/bounding boxes. The results image has no labels. Does anybody know why is it? thanks in advance
@ridergroup719
@ridergroup719 3 жыл бұрын
The prediction which you were telling at 16:01 , it doesn't pridict anything.. can you give me the solution. bonding box was not created in prediction.
@priyanshuupadhyay4854
@priyanshuupadhyay4854 Жыл бұрын
thanks for the explaination , i wanted to know that how can i count the objects detected in the image , I have trained my model with your tutorial now want to count the objects detected in the image how can i do it ?
@abidmaqbool1427
@abidmaqbool1427 3 жыл бұрын
good tutorial, keep going on man!
@umar_muhammad_yaree
@umar_muhammad_yaree 2 жыл бұрын
Wow Thank you very much for this tutorial it helps alot It's very clear and straightforward 🤗🤗
@DrShroom.
@DrShroom. Жыл бұрын
Hi this video was really good i found out i really like machine learning and that i chose my middle school right also i love the way you say chicken
@seinkoudiakite9546
@seinkoudiakite9546 2 жыл бұрын
wahoo I'm stupefy, very good explanation. Thanks to you, I more learned about this topic
@varaungandhi1953
@varaungandhi1953 Жыл бұрын
i am getting an error. can you please help me with it? 'IndexError: boolean index did not match indexed array along dimension 0; dimension is 0 but corresponding boolean dimension is 4'
@DeepanshuBCS
@DeepanshuBCS Жыл бұрын
hey have you found solution
@sathwikarachakonda842
@sathwikarachakonda842 Жыл бұрын
Same problem...
@varaungandhi1953
@varaungandhi1953 Жыл бұрын
@@DeepanshuBCS no not yet
@vijayk2065
@vijayk2065 Жыл бұрын
thank you, finally, I am able to identify chickens.
@yoinkontea5804
@yoinkontea5804 8 ай бұрын
Dataset not found ⚠, missing paths ['/content/datasets/coco128/train_data/images/val'] when i try to run the train :/
@azroukoora3870
@azroukoora3870 7 ай бұрын
Tu peux me donner une image sur votre erreur?
@hrishikeshss7950
@hrishikeshss7950 3 жыл бұрын
Brilliant Video, how to fine tune the model for face recognition? 1. I'm getting 2 boxes on the same face for face recognition, for classes where the data was not sufficient 2. Some faces are just labelled wrong
@AK-ux9rv
@AK-ux9rv 2 ай бұрын
When you trained the model with the custom dataset, will it still be able to detect the existing COCO objects like person, bus, car etc? Or after training will it ONLY detect chicken, f yes, then what to do so that it detects COCO objects + chicken ?
@herlina9622
@herlina9622 2 жыл бұрын
could you please help me? i tried to unzip train data few times, it always comes out like this: unzip: cannot find or open ../train_data.zip, ../train_data.zip.zip or ../train_data.zip.ZIP. what should i do?
@christinedai2915
@christinedai2915 Жыл бұрын
Why do you not need a "test" folder? Aren't we supposed to have train, val and test sets? I'm confused.
@jackycwwang
@jackycwwang 2 жыл бұрын
Can you please make a tutorial about integrating DeepSORT with YOLOv5 for multiple-object tracking? Thx!!!
@merondesta3895
@merondesta3895 2 жыл бұрын
thankyou sir that was useful. i trained using my own dataset but no matter how long i trained it the m@p will not get improved from 0.34 something like that i have used same data for yolov4 but it performs well
@jahnavilothugedda6352
@jahnavilothugedda6352 2 жыл бұрын
Can you explain the modules…like the code too
@amarsaish5931
@amarsaish5931 Жыл бұрын
we didn't used labels while training the data, how it detected without taking our labels. If we want to use this for any other custom data how is it possible
@TheMrkillermole
@TheMrkillermole 3 жыл бұрын
Thanks man, very helpful video.
@alpcnar5877
@alpcnar5877 2 жыл бұрын
You have Train and validation but where is the test set ?
@moein2245
@moein2245 3 жыл бұрын
in detection part mine doesn't add box to target. I even tried sample image from training part but it can not event detect the ones from trainer!
@CrazyFanaticMan
@CrazyFanaticMan 2 жыл бұрын
Can you do a new video but with Yolov8? Ultralytics just released Yolov8
@dogukanklc6645
@dogukanklc6645 Жыл бұрын
Bro you are the best . You are the damnnn best
@epuchumoses321
@epuchumoses321 3 жыл бұрын
thank you very much for the tutorial it was very beneficial. though i have a question @DeepLearning. how can i extract the custom_weights and custom_config files for deployment in object detection on a raspberry pi.
@marcelofsouza1
@marcelofsouza1 3 жыл бұрын
You can use your weight file (last.pt or best.pt) and load this trained models using pytorch. After loading you can use it combined with opencv.
@tributemaker
@tributemaker 3 жыл бұрын
@@marcelofsouza1 how can I get best.pt file. I cannot find it..
@vishvajitviswanathan7970
@vishvajitviswanathan7970 2 жыл бұрын
For the same, how to use for live detection. That is using our own camera instead of a video!?
@yasirali8409
@yasirali8409 2 жыл бұрын
What a great Explanation. very thanks it help me a lot in sport analysis matches.!)
@javokhirmusaev721
@javokhirmusaev721 3 жыл бұрын
Thanks man, really good example! Can you make video or give source that can be trained on local computer with gpu on custom dataset?
@SoftwaresAI
@SoftwaresAI 3 жыл бұрын
If you have installed PyTorch on your local computer and have a GPU, you can train model exact same way as i did in here. If you need any help contact me, i can help you on this project.
@alpertemizel9892
@alpertemizel9892 3 жыл бұрын
@@SoftwaresAI how can i contact with you
@Grayando1
@Grayando1 2 жыл бұрын
@@SoftwaresAI need help with this too
@emilefourie8544
@emilefourie8544 Жыл бұрын
Great video, thanks man!
@עטרהחדד
@עטרהחדד 9 ай бұрын
Thank you very much for the video it really helps me, I have a small question: if my computer does not support cuda how can I solve the errors due to the layers: dnn and fft? I would really appreciate it if you could help me, I really need it
@efgerfgergferg6749
@efgerfgergferg6749 3 жыл бұрын
Any tips on increasing the confidence level of detected objects? Thanks
@marthagichuki9539
@marthagichuki9539 2 жыл бұрын
This is wonderful easy to follow tutorial. How can we tell the validation loss please
@Nour-Elislem
@Nour-Elislem 2 жыл бұрын
Thank you bro for this tutorial ,you're Amazing
@nikhildesai2460
@nikhildesai2460 3 жыл бұрын
Excellent Work Brother..!!
@SoftwaresAI
@SoftwaresAI 3 жыл бұрын
Thanks ✌️
@SoftwaresAI
@SoftwaresAI 3 жыл бұрын
Please support my channel here www.buymeacoffee.com/biplob004
@sathwikarachakonda842
@sathwikarachakonda842 Жыл бұрын
I'm doing this on a mutli class object detection. When I run training part... It's not showing any errors but val pred is not showing the prediction of the object.only val labels is showing the labels given by me... Why so?
@souadelh8123
@souadelh8123 Жыл бұрын
Hi thank you for this video. I have a question , it just first time I will learn about this . after detection is that number showed with detection is it a feature of chicken? Is it its length?
@demnatiyoussef9286
@demnatiyoussef9286 Жыл бұрын
come on man... you forgot a chicken in tha cage🍌
@owusukwesi6398
@owusukwesi6398 3 жыл бұрын
Thnaks for a wonderful video... Im done training the model, but to use the file in my opencv project, i need it in .weight format..... where do I get the file??
@girish2555
@girish2555 3 жыл бұрын
Really a lifesaver 👍
@SoftwaresAI
@SoftwaresAI 3 жыл бұрын
If you like to support my channel, here is link www.buymeacoffee.com/biplob004
@kemaloguzhanyeyit9018
@kemaloguzhanyeyit9018 Жыл бұрын
Great video ! How can I train my dataset with YOLO v3-tiny by using this guide ?
@mustafaturk9180
@mustafaturk9180 Жыл бұрын
Same way he did it here, but its better for you to just train your model on your IDE.
@medinikb
@medinikb 2 жыл бұрын
Thank you so much........for sharing your knowledge.............
@카자뷰
@카자뷰 2 жыл бұрын
Thank you. It's settled thanks to you.
@amirkarim9932
@amirkarim9932 Жыл бұрын
It was great👍 thank you , keep it up
@AshishYadav-be1iy
@AshishYadav-be1iy 2 жыл бұрын
can you explain about how to perform this for multiple classes
@enisarslan2503
@enisarslan2503 2 жыл бұрын
ı got error AssertionError: train: No labels in /content/yolov5/../TryMe/İmages/train.cache. Can not train without labels. can u help me ?
@dhanushsekar8206
@dhanushsekar8206 2 жыл бұрын
iam facing the same issue can u help?
@xwagatam1833
@xwagatam1833 4 ай бұрын
you got the fix or not
@caneron6539
@caneron6539 2 жыл бұрын
Thank you so much bro. God bless you. I love you ♥
@elaineyang2721
@elaineyang2721 Жыл бұрын
thank you! I have a question, why in the beginning you have train and val, but later you get train and test?
@vishakhavishakha6409
@vishakhavishakha6409 Жыл бұрын
how u r selecting what type of image to be kept in train folder and what type in val folder????i didnt understood the login of two different folders
@طيفالحارثي-ط5ل
@طيفالحارثي-ط5ل 8 ай бұрын
You are amazing thank u so much ❤❤❤❤❤❤❤
@RedwanMostafa-e8d
@RedwanMostafa-e8d Жыл бұрын
Is it possible to edut the labels of any already made dataset???
@anushka.narsima
@anushka.narsima Жыл бұрын
After training the first 2 times, the folders exp and exp2 show up but with an empty weights folder. After more training, although the output says saved to runs/train/exp8, it shows no such folder at all! only the same exp & exp2! What's happening????
@mort-ai
@mort-ai Жыл бұрын
if the image size is smaller does this gives more accuracy or less time for the training?
@kemalkartal366
@kemalkartal366 Жыл бұрын
hello, Can we add the object trained with the custom dataset to the other 80 object YOLO weights? As a single weight of 80+1. Can we increase the weight of the existing 80 objects? thanks. normally yolo weight consists of 80 objects. Can we add new objects to objects of this weight by training with custom datasets?
@ketakisarode284
@ketakisarode284 11 ай бұрын
it only predicts the first class. not the other classes
@ketakisarode284
@ketakisarode284 11 ай бұрын
hello, i did all the steps said here, but mu predicted labels are not predicted properly, they have no bounding boxes around them like i added during annotation, pls reply
@SohailKhan-tt5eh
@SohailKhan-tt5eh 3 жыл бұрын
Thank you for this amazing tutorial....................
@ahmedalsaati3408
@ahmedalsaati3408 3 жыл бұрын
Thank you very much. Very useful. Can I build a front end app to use it for users?
@rajritu3423
@rajritu3423 Жыл бұрын
Good video man. Keep it up
@ДмитрийБолховский
@ДмитрийБолховский 3 жыл бұрын
Thank you very much for the helpful video. How to download the final file with the trained model to your computer so that you can use it locally?
@SoftwaresAI
@SoftwaresAI 3 жыл бұрын
You are welcome, you can find trained weight at location: yolov5/runs/train/exp/weights/last.pt you will find exact path of your saved model, printed at last line when training completes.
@ДмитрийБолховский
@ДмитрийБолховский 3 жыл бұрын
@@SoftwaresAI sorry for the next stupid question. The model was downloaded with the extension .pl Earlier I opened models with h5 extension like this: detector = ObjectDetection () detector.setModelTypeAsTinyYOLOv3 () detector.setModelPath ('yolo-tiny.h5') detector.loadModel () How to open last.pt file in python?
@SoftwaresAI
@SoftwaresAI 3 жыл бұрын
No problem, Here is solution: Watch my this video kzbin.info/www/bejne/h6TCnICsipZ8f9E here simply replace yolov5s.pt with your runs/train/exp/weights/last.pt model. like this: --weights runs/train/exp/weights/last.pt instead of --weights yolov5s.pt
@SoftwaresAI
@SoftwaresAI 3 жыл бұрын
@@ДмитрийБолховский why you need to save model in .h5 format ? its automatically saved in .pt format, simply use that on your local computer.
@ДмитрийБолховский
@ДмитрийБолховский 3 жыл бұрын
@@SoftwaresAI is it possible to save the trained model in h5 format
Train Yolov10 object detection custom data FULL GUIDE | Computer vision tutorial
49:18
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
Friday Night Programmer - Chapter 00 - Hello World
1:00:46
Burak Selim Senyurt
Рет қаралды 395
YOLOv5 training with custom data
13:56
Rocket Systems
Рет қаралды 21 М.
Build an Object Detector for Any Game Using YOLO
22:40
Moises de Paulo Dias
Рет қаралды 73 М.
YOLOv10: Train a Custom Model and Run Inference on Live Webcam
24:37
Nicolai Nielsen
Рет қаралды 37 М.
YOLOv8: How to Train for Object Detection on a Custom Dataset
20:31
YOLOv8 | Object Detection on a Custom Dataset using YOLOv8
17:41
Code With Aarohi
Рет қаралды 147 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН