You mentioned that the images are available in the "resources". Where is that? I'd like to download all of them so I can follow along with your tutorial.
Very good video. I have a question. I did all the steps but the original versions of my images are cropped. I want the image to keep its original size. How can I do it?
Hey, Can you please provide the link to data-images. The one which you provided in the resources is not working. please, please... it will help a lot. Thank you so much
how can i integrate this code with a python program that shows traffic light system in which it turn the light to green once it detects the ambulance on the junction
I am experiencing an error on when attempting to execute df[cols] = df[cols].astype(int). After running in the jupyter notebook as well as a fresh env i am still experiencing this. anyone else having a similar issue?
what's error in this when run the final part of video this error pop up= AttributeError: 'tuple' object has no attribute 'flatten' in line 80 pf python file ????
getting error for the line - train_df['id'] = train_df['name'].apply(label_encoding) if anyone has been able to solve, please reply with a solution at time 1:01:23
The very pathetic kind of video so far! No explanation of anything, just coding to achieve the specific results on specific image... Really disappointed!
D:\UDEMY\TRAIN YOLO FOR OBJECT DETECTION\yolo_venv>Scripts\activate (yolo_venv) D:\UDEMY\TRAIN YOLO FOR OBJECT DETECTION\yolo_venv>pip install -r requirements.txt ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
This is the error getting. can you plz help me out error Traceback (most recent call last) in 1 # load YOLO model 2 ----> 3 yolo = cv2.dnn.readNetFromONNX("./Model/weights/best.onnx") 4 yolo.setPreferableBackend(cv2.dnn.DNN_BACKEND_OPENCV) 5 yolo.setPreferableBackend(cv2.dnn.DNN_TARGET_CPU) error: OpenCV(4.5.3) D:\bld\libopencv_1632857399304\work\modules\dnn\src\onnx\onnx_importer.cpp:2146: error: (-2:Unspecified error) in function 'cv::dnn::dnn4_v20210608::ONNXImporter::handleNode' > Node [Split]:(/model.24/Split_output_0) parse error: OpenCV(4.5.3) D:\bld\libopencv_1632857399304\work\modules\dnn\src\layers\slice_layer.cpp:187: error: (-215:Assertion failed) splits > 0 && inpShape[axis] % splits == 0 in function 'cv::dnn::SliceLayerImpl::getMemoryShapes' >
This occurs when you are exporting the model in best.onnx format. Try using export your model by setting opset and image length and width and hope your problem will be solved.
The best video on YOLO+OpenCV object detection and tracking,
Thank you very much, Sir!
did you collect the images of your own?
did u collect the data individually
is there a place where i can find the downloaded images with labeled data?
That's an amazing video sir...can we do the same in other IDEs like Vs code so that I can create user interface for the same model.
You mentioned that the images are available in the "resources". Where is that? I'd like to download all of them so I can follow along with your tutorial.
did u find the solution ? cause i need help with the same issue
its not availabel even in resources
Great Work
Amazing resource 👍 Thank you for this !! Looking forward to many more 🙂
can you share the resources with me? i can't images..please help me
The google drive link is not working kindly look into it as I am not able to see the images you used
same here
Amazing Video, Thank you for sharing this video.
laura
Thank you sir! your explanation is simply amazing.....
laura
Very good video. I have a question. I did all the steps but the original versions of my images are cropped. I want the image to keep its original size. How can I do it?
your video is very nice
it is showing not responding on running cv2.imshow('yolo_prediction,image) what to do please help
Great❤❤❤
learning .
Its super helpful
Thank you sir for this project
Excellent work! Congrats
laura
Thank you so much. Your video is great for beginers like me
laura
did u collect the data individually
is there a place where i can find the downloaded images with labeled data?
Great course❤
this is great tutorial. thank you very much
permission to learn sir. thank you
Great tutorial thanks a lots. Much respect you sir.
laura
Thank you Sir for this project Great Explanation
did you collect data manually?
@@sneha..9188 same question is there a place where i can find the downloaded images with labeled data?
Can you please provide the data images folder properly..in resources you have given it shows the page is not found
did u find the data images folder?
Could you please share the dataset that you have used? I checked your folder but the link of dataset is showing page not found.
Awesome!!
Thanks for the video!!
great work 👍
it is showing not responding on running cv2.imshow('yolo_prediction,image) what to do
had to leave the Video in between because of Lack of Images in the provided Resources.
This is great, can you share the project/github?
Hey, Can you please provide the link to data-images. The one which you provided in the resources is not working. please, please... it will help a lot. Thank you so much
did you get the data images? please help me too
why do you use v5 instead of v8 ? is it license issue for use?
thank you for your great effort. but unfortunately the data images URL you provide does not exist.
please re sent the correct URL
True, so are you waiting for data folder or you just created your own?
@@thekidwithadream waiting for data folder
Hey did, you made your own ? Could you please share me.. Thank you in advance
Great course 👍
Can't find the image file the google drive link is not working
did u find the solution ? cause i need help with the same issue
thanks for helping .. but resources is not opening in google drive .. data images
.please can you share that
can this be used in a soccer game for stats?
Can you please tell me how to use this model for real time detection using webcam
Great!!! Thank you so much!!!
Hi can u help me in this project...
U have complete this project...
how can i integrate this code with a python program that shows traffic light system in which it turn the light to green once it detects the ambulance on the junction
I have an error in labelImg each time I try to draw rectangle there comes an eroor saying float value not expected
If I had label = V457P08219 for a dataset of images, how to encode this label ???? Please, I need an answer. Thanks.
can we use the web cam also?
What changes i have to make in order to make it a real time object detector?????
how to printed total object count and fps on the image/video?
this GPU facilities only for one time ???
there is no image resources, please give us its link
Please make a video on yolov8
Hi, Can you do it for the version now with YOLOv8
there are no images folder in the resource link
can you please share the image data drive link, the given is not working
I am experiencing an error on when attempting to execute df[cols] = df[cols].astype(int). After running in the jupyter notebook as well as a fresh env i am still experiencing this. anyone else having a similar issue?
Google drive folder image page not found
i cant find the data images can you please give the links thanks you very much
Sir image resources link is not working
Can u do a video about detectron2
How to check the accuracy of the model pls tell me sir
what's error in this when run the final part of video this error pop up= AttributeError: 'tuple' object has no attribute 'flatten' in line 80 pf python file ????
i am facing the same problem
Can anybody please send the labeled dataset ??
hello sir images folder doesnt exist message pop up please update the latest images folder
where to find the resources
from where we can get the code for this
how can i know the accuracy here?
where is image data?
can I get your dataset?
How i make real time object detector by webcam
it is amezing bro
I am not able to download images
Image_data is not avallable
I am unable to get data images, can anyone please help me?
getting error for the line - train_df['id'] = train_df['name'].apply(label_encoding)
if anyone has been able to solve, please reply with a solution
at time 1:01:23
give this code near import pandas
pd.options.mode.chained_assignment = None (# by default its warns us)
how to detect only a certain object
how to do webapp of this
Hi can you pls send me labeled images
The very pathetic kind of video so far! No explanation of anything, just coding to achieve the specific results on specific image... Really disappointed!
while doing label encoading
# label encoding
def label_encoding(x):
labels = {'person':0, 'car':1, 'chair':2, 'bottle':3, 'pottedplant':4, 'bird':5, 'dog':6,
'sofa':7, 'bicycle':8, 'horse':9, 'boat':10, 'motorbike':11, 'cat':12, 'tvmonitor':13,
'cow':14, 'sheep':15, 'aeroplane':16, 'train':17, 'diningtable':18, 'bus':19}
return labels[x]
train_df['id'] = train_df['name'].apply(label_encoding)
test_df['id'] = test_df['name'].apply(label_encoding)
this error occurs
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
Cell In[30], line 1
----> 1 train_df['id'] = train_df['name'].apply(label_encoding)
2 test_df['id'] = test_df['name'].apply(label_encoding)
File E:\YoloV8\yolo_object_detection\Notes\yolo_venv\Lib\site-packages\pandas\core\series.py:4630, in Series.apply(self, func, convert_dtype, args, **kwargs)
4520 def apply(
4521 self,
4522 func: AggFuncType,
(...)
4525 **kwargs,
4526 ) -> DataFrame | Series:
4527 """
4528 Invoke function on values of Series.
4529
(...)
4628 dtype: float64
4629 """
-> 4630 return SeriesApply(self, func, convert_dtype, args, kwargs).apply()
File E:\YoloV8\yolo_object_detection\Notes\yolo_venv\Lib\site-packages\pandas\core\apply.py:1025, in SeriesApply.apply(self)
1022 return self.apply_str()
1024 # self.f is Callable
-> 1025 return self.apply_standard()
File E:\YoloV8\yolo_object_detection\Notes\yolo_venv\Lib\site-packages\pandas\core\apply.py:1076, in SeriesApply.apply_standard(self)
1074 else:
1075 values = obj.astype(object)._values
-> 1076 mapped = lib.map_infer(
1077 values,
1078 f,
1079 convert=self.convert_dtype,
1080 )
1082 if len(mapped) and isinstance(mapped[0], ABCSeries):
1083 # GH#43986 Need to do list(mapped) in order to get treated as nested
1084 # See also GH#25959 regarding EA support
1085 return obj._constructor_expanddim(list(mapped), index=obj.index)
File E:\YoloV8\yolo_object_detection\Notes\yolo_venv\Lib\site-packages\pandas\_libs\lib.pyx:2834, in pandas._libs.lib.map_infer()
Cell In[26], line 6, in label_encoding(x)
2 def label_encoding(x):
3 labels = {'person':0, 'car':1, 'chair':2, 'bottle':3, 'pottedplant':4, 'bird':5, 'dog':6,
4 'sofa':7, 'bicycle':8, 'horse':9, 'boat':10, 'motorbike':11, 'cat':12, 'tvmonitor':13,
5 'cow':14, 'sheep':15, 'aeroplane':16, 'train':17, 'diningtable':18, 'bus':19}
----> 6 return labels[x]
KeyError: 'Person'
how to resolve this
D:\UDEMY\TRAIN YOLO FOR OBJECT DETECTION\yolo_venv>Scripts\activate
(yolo_venv) D:\UDEMY\TRAIN YOLO FOR OBJECT DETECTION\yolo_venv>pip install -r requirements.txt
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
requirements.txt is your file's name. you need to use it requirements.txt.txt or just erase the ".txt" part from file name
This is the error getting. can you plz help me out
error Traceback (most recent call last)
in
1 # load YOLO model
2
----> 3 yolo = cv2.dnn.readNetFromONNX("./Model/weights/best.onnx")
4 yolo.setPreferableBackend(cv2.dnn.DNN_BACKEND_OPENCV)
5 yolo.setPreferableBackend(cv2.dnn.DNN_TARGET_CPU)
error: OpenCV(4.5.3) D:\bld\libopencv_1632857399304\work\modules\dnn\src\onnx\onnx_importer.cpp:2146: error: (-2:Unspecified error) in function 'cv::dnn::dnn4_v20210608::ONNXImporter::handleNode'
> Node [Split]:(/model.24/Split_output_0) parse error: OpenCV(4.5.3) D:\bld\libopencv_1632857399304\work\modules\dnn\src\layers\slice_layer.cpp:187: error: (-215:Assertion failed) splits > 0 && inpShape[axis] % splits == 0 in function 'cv::dnn::SliceLayerImpl::getMemoryShapes'
>
This occurs when you are exporting the model in best.onnx format. Try using export your model by setting opset and image length and width and hope your problem will be solved.
great work 👍
i got error when img_pred = yolo.prediction(img ) unsupport operand type(s) for :-
sir in project resources i can't find the images it shows the file does not exists please verify it
I'm getting error while loading yolo model in onnx format in yolo_predictions.ipynb
where is image data?