Creating a YOLOv3 Custom Dataset | Quick and Easy | 9,000,000+ Images

Поділитися
Вставка
  • Опубліковано 11 вер 2024

КОМЕНТАРІ • 381

  • @TheAIGuy
    @TheAIGuy  4 роки тому +14

    Let me know if you guys have any issues that I can help with! Also let me know which videos you want to see in future. 🤓

    • @ogulcankarayel5625
      @ogulcankarayel5625 4 роки тому +1

      I want to see on train dataset

    • @BCA-he6ge
      @BCA-he6ge 4 роки тому +2

      please make a playlist of object recognition.

    • @TheAIGuy
      @TheAIGuy  4 роки тому +1

      will do!

    • @donaldkimpoua2853
      @donaldkimpoua2853 4 роки тому +1

      @The AI Guy, Hi. Im having problem using google's Open image dataset v5 to download the dataset. I have been trying this for almost 2 weeks. Just for your information I am in China currently and google was block here. I have change two VPN yet still no result. Everytime download its only downloading less than 20 image. Thus there are alots of images in the website. I need more images. Is there any other way for me to download the dataset. In this case im downloading Helmet and Safety Vest for my project. Or is it possible to help me to download it ( hope it not too much to ask) my email: donaldkimpoua@gmail.com

    • @enachandak772
      @enachandak772 4 роки тому

      @Shubham Kumar hey shubham .. i am also having the same problem... were u able to solve it? if yes ..the pls let me know

  • @thesoulz5030
    @thesoulz5030 3 роки тому +8

    This video is so underrated. HONESTLY! Whoever has got involved with object detection or whatever, he 'll definitely estimate this. Manual Annotations = MYTH :P

  • @sushantshrivastava3496
    @sushantshrivastava3496 4 роки тому +5

    Ur video are helping millions of student to complete their college projects.
    Thanks for ur feedback and support.

    • @TheAIGuy
      @TheAIGuy  4 роки тому

      Thanks so much. Glad you enjoy

  • @mangning1107
    @mangning1107 4 роки тому +10

    when downloading images by this OID toolkit, if you guys encounter the error about 【aws】, solve it by installing the 【awscli】 package. Because in the function of 【download_img】, aws command was used.

    • @gauninha12
      @gauninha12 3 роки тому

      Or install AWS CLI from docs.aws.amazon.com/cli/latest/userguide/install-windows.html in case the requirements are already satisfied when trying to installing it using pip install awscli

    • @hepsibasolomon1755
      @hepsibasolomon1755 3 роки тому +1

      @@gauninha12 Thank you so much it helped me, after downloading, one has to copy both aws.exe and aws-scripts.py to "python(installed location in local directories) scripts folder"

    • @rahulpathak3637
      @rahulpathak3637 3 роки тому

      Not able to install the awscli package through conda install. Pls let me know some other method.

    • @samirsaeed7337
      @samirsaeed7337 2 роки тому

      Please can you explain more, because I couldn't find a solution.

  • @namlehai5916
    @namlehai5916 3 місяці тому

    My guy, I don't know how to thank you enough. You're my idol now

  • @burakkahveci4123
    @burakkahveci4123 4 роки тому +1

    I think the best video series about YOLOv3. Thank you so much. I expect your new videos. :)

  • @ogulcankarayel5625
    @ogulcankarayel5625 4 роки тому +2

    Thanks for video. The first video about darknet helped me so much on my final project also this video looks very helpful. Keep it up

  • @deepak223098
    @deepak223098 4 роки тому +6

    do we need to install aws module also? as when I am trying to download using the command which you mentiond its crashing saying aws not found. when I install pip install aws then its crashing.
    SyntaxError: invalid syntax
    File "c:\python36\lib
    unpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
    ^
    print '%(name)s: %(endpoint)s' % {
    File "C:\Python36\Scripts\aws.exe\__main__.py", line 4, in
    File "c:\python36\lib
    unpy.py", line 193, in _run_module_as_main
    File "C:\Python36\Scripts\aws.exe\__main__.py", line 4, in
    "__main__", mod_spec)
    File "c:\python36\lib
    unpy.py", line 85, in _run_code
    exec(code, run_globals)
    SyntaxError: invalid syntax
    ^
    SyntaxError: invalid syntax
    File "c:\python36\lib
    unpy.py", line 85, in _run_code
    SyntaxError: invalid syntax
    can you tell me how to avoid this problem ??

  • @sigmarulesog984
    @sigmarulesog984 3 роки тому +1

    Cant download many images for some reason it shows found 100-150 images online so downloads that instead of the limit provided. Using same classes as your.

  • @tawfeqkamel9989
    @tawfeqkamel9989 4 роки тому +4

    i want to download door handle images . but it gives me error
    modules\bounding_boxes.py", line 56, in bounding_boxes_images
    class_code = df_classes.loc[df_classes[1] == class_name].values[0][0]
    IndexError: index 0 is out of bounds for axis 0 with size 0
    and i think becuse of the space between door handle and if i wrote it doorhandle it still gives me the same error
    any help??

    • @shaishavgupta2124
      @shaishavgupta2124 4 роки тому +4

      its due to the spelling mistake because alphabet cases also matters

  • @chenhaosen5046
    @chenhaosen5046 4 роки тому

    Thanks for the video. That helps me a lot about implementing the image detection on my research topic! XD
    I hope more videos would come out shortly.

  • @meyouanddata9338
    @meyouanddata9338 4 роки тому +6

    I was getting an error on your convert_annotation.py file in line 63 saying "index out of range".
    I dealt with it by changing line 61 to the following
    line = line.replace(class_type, str(classes.get(class_type))+' ')
    adding a space is what makes it work.

    • @TheAIGuy
      @TheAIGuy  4 роки тому +1

      Thanks for pointing this out. I greatly appreciate it. All the best!

  • @kanishqthakkar7184
    @kanishqthakkar7184 4 роки тому +5

    i am getting an error after i put the python code : "MemoryError: Unable to allocate 55.7 MiB for an array with shape (14610229,) and data type object" , so what should I do

    • @junlongwong5543
      @junlongwong5543 4 роки тому +1

      @@illuminaticat4861 Wow thanks a lot this worked hahas! Was a little hard to understand at first but i followed line by line slowly and it worked :)

    • @KostiantynKostin
      @KostiantynKostin 4 роки тому

      Had the same issue. I think 32-bit Python was causing the issue. What I did to fix it:
      - Uninstalled 32-bit Python
      - Installed x64 version 3.8.4
      - Created virtual env in project folder: py -m venv env
      - Since I'm on Windows ran to change execute policy: Set-ExecutionPolicy Unrestricted -Force
      - Activated env: .\env\Scripts\activate
      - Installed requirements: pip install pandas numpy awscli urllib3 tqdm opencv-python
      After that train and validation datasets downloaded without any problems. I'm not 100% sure that it will help you. But it worked for me.
      Oh, and to check Python version run: py
      And check output for "64 bit (AMD64)"

    • @abhisheksarda3509
      @abhisheksarda3509 3 роки тому

      install 64 bit python 3.8

  • @mayankgoel3201
    @mayankgoel3201 4 роки тому +4

    While downloading the the csv files initially it downloads only one csv file : 'class-descriptions-boxable.csv'. It doesn't asks for the second file? What is the reason?
    Here is the error code. I was trying to download images for the vehicle plate detection:
    [ERROR] | Missing the class-descriptions-boxable.csv file.
    [DOWNLOAD] | Do you want to download the missing file? [Y/n] Y
    ...145%, 0 MB, 5348 KB/s, 0 seconds passed
    [DOWNLOAD] | File class-descriptions-boxable.csv downloaded into OID\csv_folder\class-descriptions-boxable.csv.
    Traceback (most recent call last):
    File "main.py", line 37, in
    bounding_boxes_images(args, DEFAULT_OID_DIR)
    File "F:\dataset download toolkit\OIDv4_ToolKit\modules\bounding_boxes.py", line 56, in bounding_boxes_images
    class_code = df_classes.loc[df_classes[1] == class_name].values[0][0]
    IndexError: index 0 is out of bounds for axis 0 with size 0
    Please help!

    • @airystudio6361
      @airystudio6361 3 роки тому +1

      I also have the same problem! did you find any solution for this one?

  • @amlansahoo6493
    @amlansahoo6493 3 роки тому +1

    I tried to follow this tutorial and download for "Person" class, but while downloading a message "File association not found for extension .py" keeps on appearing on my screen although in between the images keep getting downloaded. Any possible explanation for the message ?

  • @Max-my6rk
    @Max-my6rk 4 роки тому

    i am in love with all your videos... thanks so much!

  • @jamesh9456
    @jamesh9456 Рік тому +1

    For some reason I get coordinate data but the images didnt come across using Python 3 on Ubuntu in a VBox VM setup. Video is very helpful but Im just having problems being able to complete tests since the images didnt pull down.

  • @ba-en1io
    @ba-en1io 4 роки тому +1

    hey I am getting the error File "main.py", line 37, in
    bounding_boxes_images(args, DEFAULT_OID_DIR)
    File "D:\Yolo_v3\OIDv4_ToolKit-master\modules\bounding_boxes.py", line 106, in bounding_boxes_images
    class_dict[class_name] = df_classes.loc[df_classes[1] == class_name].values[0][0]
    IndexError: index 0 is out of bounds for axis 0 with size 0
    can you help me figure this out

    • @vx2979
      @vx2979 4 роки тому +1

      You have to use "Windows Powershell" not "Git Bash" or "windows cmd"

  • @sushantshrivastava3496
    @sushantshrivastava3496 4 роки тому +5

    Please help me!
    While downloading the data from that toolkit m constantly getting the message 'aws is not recognized as an external or internal command operable on batch file' i tried everything adding path to system env. But not working.

    • @TheAIGuy
      @TheAIGuy  4 роки тому +1

      are you attempting this on aws cloud?

    • @tinaw147
      @tinaw147 4 роки тому

      getting the same error here

    • @tinaw147
      @tinaw147 4 роки тому +3

      @@TheAIGuy Weird thing is I am trying on my local machine, I am not sure why this error shows... I followed exactly the same steps in the video. Any help would be appreciated. Thanks!

    • @sushantshrivastava3496
      @sushantshrivastava3496 4 роки тому +3

      @Tina w do u have anaconda prompt installed on ur pc downloading from their rectified my problem.

    • @tomasgresik
      @tomasgresik 4 роки тому

      @@sushantshrivastava3496 i am trying it in anaconda promtp but i am still geting the same error

  • @scenesailor9186
    @scenesailor9186 4 роки тому +1

    hey can you tell me how to incorporate the code for a warning message if a detected object is static for more than suppose 5min in the existing code. Please let me know . Have already done detection of baggage for custom data set in a video. Thanks for that.....

  • @andreimiroshnichenko5267
    @andreimiroshnichenko5267 4 роки тому +1

    Very good explained, thanks)
    Will wait new videos

  • @dimasveliz6745
    @dimasveliz6745 4 роки тому +1

    After you run the download command with the multiclasses flag, and everything groups in a single folder , what goes into the classes.txt file? all names in a single line? or as you showed it first in separate lines?

  • @DrBionic96
    @DrBionic96 4 роки тому +1

    Hi I've encountered this problem,
    (base) PS D:\FYP Prog\OIDv4_ToolKit-master> python convert_annotations.py
    Currently in subdirectory: train
    Converting annotations for class: Car
    100%|████████████████████████████████████████████████████████████████████████████████| 500/500 [00:16

  • @pavancheyutha3228
    @pavancheyutha3228 4 роки тому +3

    "MemoryError: Unable to allocate 55.7 MiB for an array with shape (14610229,) and data type object" while downloading balloon I got this error. what it means and what should I do?

    • @SanzarRahman
      @SanzarRahman 4 роки тому

      f

    • @mouadbouharaoua5681
      @mouadbouharaoua5681 4 роки тому

      I had the same thing as you, but it works when i tried to download other classes like car and bus, i don't why !

    • @nept4ne
      @nept4ne 4 роки тому

      @Pavan Cheyutha hi did you fix it?

    • @pavancheyutha3228
      @pavancheyutha3228 4 роки тому +1

      @@nept4ne No, I could not fix it, I created data set manually, Do you have solution?

    • @nept4ne
      @nept4ne 4 роки тому

      @@pavancheyutha3228 No :( I'm still trying to figure out what to do and when you created the data set manually it worked?

  • @ismail_..
    @ismail_.. 3 роки тому

    it is not working for the commands you are showing at the beginning . it is about powershel ı guess can you tell me whats the problem

  • @vanajaduddugunta3537
    @vanajaduddugunta3537 2 роки тому

    Starting of the video when I enter the copy code in the power shell it shows that the term git is not recognised as the name of a cmdlet ...........

  • @arindamjain6892
    @arindamjain6892 3 роки тому

    loved it! good work man

  • @phungdao9184
    @phungdao9184 3 роки тому +1

    i'm getting an error in the convert_annotations.py file (i'm working with license plate detection problem)
    i know you didn't consider the situation where the name of a class is more than 1 word. but i couldn't fix it. Can u fix it then update the source code for me?

  • @Lasheen419
    @Lasheen419 4 роки тому

    Great vid, going to follow along with the tutorials

  • @user-po4ui2wq8p
    @user-po4ui2wq8p 4 роки тому +2

    you are the Best!!! thank you for your great video

    • @TheAIGuy
      @TheAIGuy  4 роки тому +1

      Glad you enjoyed! Thanks for the kind words.

  • @testhossam1
    @testhossam1 6 місяців тому

    How about segmentation i searched allover the net for tool to download the masks but failed!

  • @sujittitun
    @sujittitun 4 роки тому +1

    this is the issue for ambulance calss
    [ERROR] | Missing the class-descriptions-boxable.csv file.

  • @luckyboy-ih5hd
    @luckyboy-ih5hd 2 роки тому

    i got this error when execute the convert_annotation.py. My dataset name: Vehicle registration plate
    Traceback (most recent call last):
    File "C:\Users\X1 Carbon\Downloads\create-dataset\OIDv4_ToolKit\convert_annotations.py", line 63, in
    coords = np.asarray([float(labels[1]), float(labels[2]), float(labels[3]), float(labels[4])])
    ValueError: could not convert string to float: 'registration'

  • @sooryanarayanansanand3250
    @sooryanarayanansanand3250 4 роки тому +6

    Hi Sir great video but I am getting this error message -
    File "main.py", line 20, in
    From modules.downloader import *
    ImportError : No module named modules.parser
    What do I do sir, Please help

    • @jonyondlin9735
      @jonyondlin9735 4 роки тому +1

      How did you solve it?I ran into the same problem...Help!

    • @dimasveliz6745
      @dimasveliz6745 4 роки тому

      just type "pipX install module" where X is the python version you're using might be 2 or 3

    • @superaluis
      @superaluis 4 роки тому

      you may be using python2 , use python3 when running the downloader: python3 main.py downloader ... (for other missing modules just run pip install each_module)

    • @pavancheyutha3228
      @pavancheyutha3228 4 роки тому

      @@superaluis i am using python 3.
      got this error:-->
      Traceback (most recent call last):
      File "main.py", line 37, in
      bounding_boxes_images(args, DEFAULT_OID_DIR)
      File "C:\Rapso\OIDv4_ToolKit\modules\bounding_boxes.py", line 60, in bounding_boxes_images
      df_val = TTV(csv_dir, name_file, args.yes)
      File "C:\Rapso\OIDv4_ToolKit\modules\csv_downloader.py", line 21, in TTV
      df_val = pd.read_csv(CSV)
      File "C:\Users\Pavan Kumar Sura\AppData\Roaming\Python\Python38\site-packages\pandas\io\parsers.py", line 676, in parser_f
      return _read(filepath_or_buffer, kwds)
      File "C:\Users\Pavan Kumar Sura\AppData\Roaming\Python\Python38\site-packages\pandas\io\parsers.py", line 454, in _read
      data = parser.read(nrows)
      File "C:\Users\Pavan Kumar Sura\AppData\Roaming\Python\Python38\site-packages\pandas\io\parsers.py", line 1133, in read
      ret = self._engine.read(nrows)
      File "C:\Users\Pavan Kumar Sura\AppData\Roaming\Python\Python38\site-packages\pandas\io\parsers.py", line 2037, in read
      data = self._reader.read(nrows)
      File "pandas\_libs\parsers.pyx", line 860, in pandas._libs.parsers.TextReader.read
      File "pandas\_libs\parsers.pyx", line 903, in pandas._libs.parsers.TextReader._read_low_memory
      File "pandas\_libs\parsers.pyx", line 2104, in pandas._libs.parsers._concatenate_chunks
      File "", line 5, in concatenate
      MemoryError: Unable to allocate 55.7 MiB for an array with shape (14610229,) and data type object

    • @superaluis
      @superaluis 4 роки тому

      @@pavancheyutha3228 Your problem os different. Its a Memory error. If you are running locally maybe your GPU doesn't have enough memory to allocate your batch size...

  • @HexyzRoyce
    @HexyzRoyce 3 роки тому

    I need to download images from the Volleyball (Ball) class. Since it includes a parenthesis, I needed to use the character ` to escape it on PowerShell. However, I get this error probably because of the ` character:
    IndexError: index 0 is out of bounds for axis 0 with size 0
    Any idea on how I can fix this?

  • @everydayair
    @everydayair 3 роки тому +1

    I get the error: main.py: error: unrecognized arguments: 400
    How can i fox this?
    Thank you for your assistance and channel!

  • @kanishqthakkar7184
    @kanishqthakkar7184 4 роки тому

    You said in this video that python is required , so what do i have to download on my pc for that , did you mean anaconda, because i downloaded that and still i'm getting an error when i run the command pip install in the powershell

  • @mottilein2010
    @mottilein2010 3 роки тому +1

    everything went fine except:
    when using the convert_annotations.py command, I get the error:
    " File "convert_annotations.py", line 63, in
    coords = np.asarray([float(labels[1]), float(labels[2]), float(labels[3]), float(labels[4])])
    ValueError: could not convert string to float: 'heels' ."
    I used the class "High heels" in the Open Image Dataset
    What should I do ?

    • @mottilein2010
      @mottilein2010 3 роки тому +1

      oh, I noticed its a problem with the name in the file: "class-descriptions-boxable". after having merged the words with an "_" it worked ! Probably a problem with all descriptions that consist of two words

    • @modeltrainer1246
      @modeltrainer1246 2 роки тому

      import os
      # Folder Path
      path = "path/something/xyz/folder"
      search_text="Vehicle registration plate"
      replace_text="Vehicle_registration_plate"
      # Change the directory
      os.chdir(path)
      # Read text File
      def read_text_file(file_path):
      with open(file_path, 'r') as f:
      data = f.read()
      data = data.replace(search_text, replace_text)
      with open(file_path, 'w') as w:
      w.write(data)
      print()
      with open(file_path, 'r') as p:
      print(p.read())
      # iterate through all file
      for file in os.listdir():
      # Check whether file is in text format or not
      if file.endswith(".txt"):
      file_path = f"{path}\{file}"
      # call read text file function
      read_text_file(file_path)

  • @venkilfc
    @venkilfc Рік тому

    Hi, thanks for this wonderful tutorial. I have a question, what if I give two classes and one of the downloaded images contain the instances of both classes? Is there a way to generate a .txt label file that inlcude bounding boxes of both classes or just one of them gets generated?

  • @ebtntw
    @ebtntw 3 роки тому

    Example u input a baloon image that is self-taken, would it still be recognized by the YOLO Algo? Or is it only limited to TRAINED images??

  • @gustingurahwijaya8303
    @gustingurahwijaya8303 4 роки тому +2

    Hi, can you help me, I followed the method in the video and the download was successful but the label and image are not visible in the folder?

  • @meghashyamvalasa5390
    @meghashyamvalasa5390 3 роки тому

    when i am converting the annotations for multiclasses i am not getting the name one hot encoded it remains as a name in the img.txt file, like it remains Apple ,0.55789,.... and not 0,0.55789

  • @atiquebarudgar9802
    @atiquebarudgar9802 2 роки тому

    I got this error when ran: python convert_annotations.py
    C:\Users\LENOVO\AppData\Local\Programs\Python\Python310\python.exe: can't open file 'C:\\Users\\LENOVO\\Music\\OIDv4_ToolKit\\convert_annotations.py': [Errno 2] No such file or directory

  • @VietHoang-ke1fm
    @VietHoang-ke1fm 2 роки тому

    If 2 have more two data set how to run convert_anotation.py, Sir!, erro: out of of range

  • @SadatSafawi
    @SadatSafawi Рік тому

    git is not working and giving error, I have used all the possible ways and installed it but still doesn't show the version and gives error notrecognized git

    • @SadatSafawi
      @SadatSafawi Рік тому

      Foundout that I have to install the Git from it's website and thankfully now it's working

    • @SadatSafawi
      @SadatSafawi Рік тому

      also need to install aws cli for writing the data and cloning onlline
      so much to findout

  • @tedmiller3267
    @tedmiller3267 3 роки тому

    I have a problem
    Traceback (most recent call last):
    File "~\OIDv4_ToolKit\main.py", line 37, in
    bounding_boxes_images(args, DEFAULT_OID_DIR)
    File "~\OIDv4_ToolKit\modules\bounding_boxes.py", line 56, in bounding_boxes_images
    class_code = df_classes.loc[df_classes[1] == class_name].values[0][0]
    IndexError: index 0 is out of bounds for axis 0 with size 0
    How can I fix it?
    Thank you

  • @jasonlim2278
    @jasonlim2278 3 роки тому

    hi sir. may i ask how to solve this problem 'git' is not recognized as an internal or external command,
    operable program or batch file.

  • @bryanwhitehurst1697
    @bryanwhitehurst1697 4 роки тому +1

    After running:
    python main.py downloader --classes tennis_ball --type_csv train --limit 400
    I got the following error:
    File "C:\Users\bwhit\Desktop\Projects\OIDv4_ToolKit\modules\bounding_boxes.py", line 56, in bounding_boxes_images
    class_code = df_classes.loc[df_classes[1] == class_name].values[0][0]
    IndexError: index 0 is out of bounds for axis 0 with size 0
    What might I be doing wrong, or what can I do to fix this? Thanks
    EDIT: I have fixed this issue. I was incorrectly spelling the class name. The class name must be case sensitive and spelled correctly.

    • @tmccormick92
      @tmccormick92 2 роки тому

      thank you for clarifying this-- i had the same error

  • @RMdimension
    @RMdimension 4 роки тому

    So I trained one class, and it works. Now I want to train another class and add it to the 81 classes (COCO + previously trained class) that are already trained, but if I use the yolov3-custom-final.weights file it doesn't work. How do I do this? Thanks!

  • @sujittitun
    @sujittitun 4 роки тому

    The AI Guy,
    Respect!

  • @fabioinspires
    @fabioinspires 4 роки тому

    Awesome tutorial @The AI Guy. The images at the end of the training didn't show labels. Any idea of what could cause this problems ? I'm using Ubuntu.

  • @oshiokemoses9863
    @oshiokemoses9863 4 роки тому

    Hey AI thanks a lot for this video.

  • @akshatsuwalka5759
    @akshatsuwalka5759 3 роки тому

    But yolo expect the NxN data but the data we have is NxM. How you will deal with that?

  • @rezwanrashid4518
    @rezwanrashid4518 3 роки тому

    i have a problem and that is
    Traceback (most recent call last):
    File "main.py", line 37, in
    bounding_boxes_images(args, DEFAULT_OID_DIR)
    File "C:\Users\User\Desktop\dataset_toolkit\OIDv4_ToolKit\modules\bounding_boxes.py", line 56, in bounding_boxes_images
    class_code = df_classes.loc[df_classes[1] == class_name].values[0][0]
    IndexError: index 0 is out of bounds for axis 0 with size 0

  • @manaskagde2836
    @manaskagde2836 3 роки тому

    I am getting the below error while running the command for downloader
    [INFO] | Downloading Traffic sign.
    Traceback (most recent call last):
    File "C:\OIDv4_ToolKit\modules\downloader.py", line 25, in download
    columns, rows = os.get_terminal_size(0)
    OSError: [WinError 6] The handle is invalid
    Kindly help me in knowing what should I do here

  • @jamesh9456
    @jamesh9456 Рік тому

    I figured it out, had to install AWS, the error pointed to that and now images are pulling. Thank you so much!! appreciate your video.

  • @darkfury3020
    @darkfury3020 4 роки тому

    Hi,could you tell me what changes will I have make to download segmentation files instead of detection (can I do it?).

  • @anwarsadiques
    @anwarsadiques 4 роки тому

    very helpful topic explained through a nice presentation.

  • @sonasondarasaesaria1941
    @sonasondarasaesaria1941 3 роки тому

    Great video, thanks!

  • @pranjalbhaskare8487
    @pranjalbhaskare8487 3 роки тому

    Thanks The AI Guy...😊

  • @luizabbadia3411
    @luizabbadia3411 4 роки тому

    Well done!! Thanks!

  • @abrahammathew9783
    @abrahammathew9783 4 роки тому

    Hi , I am getting "MemoryError: Unable to allocate 1.00 MiB for an array with shape (131072,) and data type int64". I spent almost a day to find a solution but no luck. Plz help. Thanks in advance :)

  • @rodrigosalles1960
    @rodrigosalles1960 3 роки тому

    Great tutorial. Congratulations!! I have a dataset with 500 images of water consumption meters. Everything labeled. If someone has been working with similar projects I can send this file.

  • @christophermaranan6843
    @christophermaranan6843 2 роки тому

    coords = np.asarray([float(labels[1]), float(labels[2]), float(labels[3]), float(labels[4])])
    ValueError: could not convert string to float: 'opener'
    How to deal with this?

  • @گیمینگ
    @گیمینگ 3 роки тому +1

    How you get images also with only downloaing the annotation in CSV format, mine just give the CVS format

    • @گیمینگ
      @گیمینگ 3 роки тому

      reply any if you can please, or should I download the validation or test data also

  • @xiyangzhong4905
    @xiyangzhong4905 3 роки тому

    Thanks for your great tutorial

  • @harchindra
    @harchindra 3 роки тому

    Hii bro, I am looking for drone class. However it's not included in this. Can you guide how to get drone annotations for yolov3

  • @hari5357
    @hari5357 4 роки тому

    Hi,
    Thanks for the video.
    I wanted to check 2 classes which i have downloaded in the same folder using -multiclass -1.
    When i run python convert_annotations.py i get an error so how do i mention this 2 class names in classes.txt ?

  • @nept4ne
    @nept4ne 4 роки тому +1

    @The AI Guy hi, I got this: Unable to allocate 55.7 MiB for an array with shape and data type object
    I used Balloon and Orange images. The folder OID its ok but when I go to label there is no image.
    Could you help me or what should I do. Thanks in advance.

    • @TheAIGuy
      @TheAIGuy  4 роки тому +2

      Harry how many images are you trying to download? Sometimes this occurs when trying to download a large amount of images.

    • @nept4ne
      @nept4ne 4 роки тому +1

      @@TheAIGuy I used 100

    • @TheAIGuy
      @TheAIGuy  4 роки тому +2

      @@nept4ne check the previous comments, people have posted their solutions to this exact error!

    • @nept4ne
      @nept4ne 4 роки тому

      @@TheAIGuy Thanks for the answer Im still trying to fix that :(

  • @ykbrothers6969
    @ykbrothers6969 4 роки тому

    error when I set the limit 1000. is it only work for 400?

  • @chris-lg7vz
    @chris-lg7vz 4 роки тому

    Hi, how about if I want to download Kitchen & dining room table? should be "Kitchen_&_dining_room_table"?

  • @DoFlamingo_1P
    @DoFlamingo_1P 3 роки тому

    Great Work ✌

  • @you3667
    @you3667 3 роки тому

    Thx!!! YOU ARE A GREAT PERSON

  • @navalsheth
    @navalsheth 4 роки тому +2

    Hi AI Guy, Thanks for such a great Input
    But there is error in your code of - convert_annotations.py
    Instead of converting class as 0,1,2 in each txt file it is converting to
    3B3a3l3l3o3o3n3 for ballon
    3W3o3m3an for woman..and so on..

    • @navalsheth
      @navalsheth 4 роки тому

      HI , GUYS I MYSELF SOLVED IT.
      actually be very carefull of not giving any extra spaces in classes.txt . By mistake I gave extra space after writing my classes in classes.txt

    • @mikeduncan6643
      @mikeduncan6643 4 роки тому +1

      Thanks for your solution. That was driving me nuts.

    • @rajatkhatri8739
      @rajatkhatri8739 4 роки тому

      @@navalsheth hy same error i am facing , i have class name as Human Face so what to do , i have tried different combinations but still no progress . On keering it Human face label is like 202 . I m using single class

  • @76yobitch
    @76yobitch Рік тому

    Is this format work with yolo v8 too ?

  • @hammadkhan7927
    @hammadkhan7927 Рік тому

    It doesn't download the image it only downloads the folder and CSV file, the images are missing.

    • @hammadkhan7927
      @hammadkhan7927 Рік тому

      It requires boto3 1.24.28 but it have boto-core-1.29.133 which is in compatible

  • @azerty1239381
    @azerty1239381 3 роки тому

    Thank you for this video, what are the new coordinates ? are they class_id Center_x Center_y box_width box_height all normalized ?

  • @FirmZhang
    @FirmZhang 4 роки тому +1

    Thanks for your video 😊 you are so cool.

    • @TheAIGuy
      @TheAIGuy  4 роки тому

      Thank you! Glad you enjoy

  • @bharathchandra6583
    @bharathchandra6583 4 роки тому +1

    Hi. I love your videos. I need a suggestion. I have my dataset but the labels for it are in XML type. Will it work for XML?

    • @TheAIGuy
      @TheAIGuy  4 роки тому +1

      No it will not work with XML but you can easily find XML to YOLOv3 annotation converter on the web. Do that and then you can use.

  • @nunofernandes8713
    @nunofernandes8713 4 роки тому +1

    Hello! I have another question! Could someone try to explain to me how I could "merge" my own images and labels with the ones obtained using the OID toolkit. For instance, I want to add a category that is not present in the OpenImages dataset, and so I would have to gather my own images and annotate them, but how could i mix them and convert the annotations to the proper format alongside the others obtained with OID? Thanks!

    • @TheAIGuy
      @TheAIGuy  4 роки тому +1

      Hey there, I recommend using the tool called labelImg and I actually have a video already on it. Check it out, it will show you how to draw labels on your own images. Hope this helps.

  • @apoorv2710
    @apoorv2710 4 роки тому +1

    You are cool bro. I am subscribing you !

    • @TheAIGuy
      @TheAIGuy  4 роки тому +2

      asa trha Thanks so much! Appreciate it.

  • @syedshuvo8608
    @syedshuvo8608 4 роки тому +1

    IndexError: index 0 is out of bounds for axis 0 with size 0 I get this error .Please someone help me with this one

  • @gayrattangriberganov8802
    @gayrattangriberganov8802 4 роки тому +2

    Hi bro
    ImportError: No module named modules.parser
    how to fix it?
    who know?

    • @superaluis
      @superaluis 4 роки тому +1

      make sure you are runnning python3, e.g. python3 main.py downloader .... Also don't forget to pip install -r requirements.txt

  • @user-yw3mg5bh8j
    @user-yw3mg5bh8j 4 роки тому +1

    hi thanks for your helpful videos.. especially for this!
    i 'm doing this but i want to adjust another images not in openimagedata,
    for this, should i use first 'labelImg' to box , and then convert those label datas to yolo label data using 'convert annotaions.py'??

    • @TheAIGuy
      @TheAIGuy  4 роки тому +1

      labelImg creates the labels in the proper format as long as within labelImg you have it set to YOLO and not VOC or Pascal. So there is no need for you to use convert script on labelImg labels! WOOHOO

  • @vineethakoduri7896
    @vineethakoduri7896 2 роки тому +1

    Currently in subdirectory: train
    Converting annotations for class: Vehicle registration plate
    100% 400/400 [00:09

  • @rajatkhatri8739
    @rajatkhatri8739 4 роки тому

    Hi AI guy m working on detection of human face with yolo in Tensorflow . Can you plz guide how i convert images to fed in the Tensorflow format?

  • @_saisantosh_
    @_saisantosh_ 4 роки тому +1

    Can you help me out? I'm getting this error
    Traceback (most recent call last):
    File "E:\OIDv4_ToolKit\modules\downloader.py", line 25, in download
    columns, rows = os.get_terminal_size(0)
    OSError: [WinError 6] The handle is invalid
    During handling of the above exception, another exception occurred:
    Traceback (most recent call last):
    File "main.py", line 37, in
    bounding_boxes_images(args, DEFAULT_OID_DIR)
    File "E:\OIDv4_ToolKit\modules\bounding_boxes.py", line 62, in bounding_boxes_images
    download(args, df_val, folder[0], dataset_dir, class_name, class_code)
    File "E:\OIDv4_ToolKit\modules\downloader.py", line 27, in download
    columns, rows = os.get_terminal_size(1)
    OSError: [WinError 6] The handle is invalid

    • @TheAIGuy
      @TheAIGuy  4 роки тому

      what is the exact command you are running?

    • @jayralph2067
      @jayralph2067 4 роки тому +1

      @@TheAIGuy python main.py downloader --classes Balloon Aircraft --type_csv train --limit 400

    • @jayralph2067
      @jayralph2067 4 роки тому +1

      @@TheAIGuy this is also my error Sir, i hope you can help us

    • @jayralph2067
      @jayralph2067 4 роки тому +2

      i already got the solution just reading comments

    • @yourxylitol
      @yourxylitol 4 роки тому +1

      A common reason for the error is that people use GitBash instead of Anaconda Prompt or Windows CMD

  • @rafiuzzamanbhuiyan
    @rafiuzzamanbhuiyan 3 роки тому +1

    Nice one . Would you please tell me how I download the segmentation generated dataset with their labels & preprocess them ?? Please 👍

    • @bikramjitm
      @bikramjitm 8 місяців тому

      Did you find out ?

  • @petercham8192
    @petercham8192 4 роки тому

    Hey there, I followed the step until : python convert_annotations.py, but it shows Error:
    C:\Users\Peter Cham\AppData\Local\Programs\Python\Python38-32\python.exe: can't open file 'convert_annotations.py': [Errno 2] No such file or directory
    Can anyone help me? Thank you in advance

  • @maheshchowdary1234
    @maheshchowdary1234 3 роки тому

    I am facing an issue and it says
    Traceback (most recent call last):
    File "C:\Users\OIDv4_ToolKit\main.py", line 37, in
    bounding_boxes_images(args, DEFAULT_OID_DIR)
    File "C:\Users\OIDv4_ToolKit\modules\bounding_boxes.py", line 56, in bounding_boxes_images
    class_code = df_classes.loc[df_classes[1] == class_name].values[0][0]
    IndexError: index 0 is out of bounds for axis 0 with size 0
    can someone help me out?

  • @petercham8192
    @petercham8192 4 роки тому

    git : The term 'git' is not recognized as the name of a cmdlet, function, script file, or
    operable program. Check the spelling of the name, or if a path was included, verify that the
    path is correct and try again.
    At line:1 char:1
    + git clone github.com/theAIGuysCode/OIDv4_ToolKit.git
    + ~~~
    + CategoryInfo : ObjectNotFound: (git:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
    I have this error when I am in 3.49 , anyone can help me?

  • @AnasAli-jz8no
    @AnasAli-jz8no 4 роки тому +1

    how to resize these images with xmin xmax values ???
    i am doing object detection with tensorflow object detection api
    i want to resize these images in 800x600

    • @TheAIGuy
      @TheAIGuy  4 роки тому +1

      to resize images you should write a script that used the built in resize functions from either opencv (cv2) or pillow! Both can easily be done but are not done with the toolkit.

    • @AnasAli-jz8no
      @AnasAli-jz8no 4 роки тому +1

      @@TheAIGuy i can resize all the images easily ,
      problem is how to resize min max values???
      min max values will changed if i resize a image
      .. am i right ?

    • @TheAIGuy
      @TheAIGuy  4 роки тому

      Anas ALi the labels are in a ratio format so they should remain the same even if you resize!!

  • @henkiespenkie4414
    @henkiespenkie4414 Рік тому

    it gives me 'aws' is not recognized as an internal or external command when downloading the images

  • @AmitDube15
    @AmitDube15 3 роки тому

    Thanks!

  • @harishdasari4736
    @harishdasari4736 4 роки тому +1

    Hey, I was following your videos for a while and let me tell you are doing a great job I was trying to make a custom dataset and followed the instructions that you specified but the images are not downloading and I am getting this error:- aws' is not recognized as an internal or external command,
    operable program or batch file. Can you please guide me to solve this issue please do reply as I am waiting for it

  • @sathishbabu3867
    @sathishbabu3867 4 роки тому +1

    I want dataset for Persons but u couldn't mentioned Person on type_csv file....what can I do for it

    • @TheAIGuy
      @TheAIGuy  4 роки тому

      type_csv should be set to train, there is a class for Person in open images dataset. Not sure what the error is here.

    • @sathishbabu3867
      @sathishbabu3867 4 роки тому

      there is no Person class on class-descriptions-boxable.csv file....,how can i mention person class on that file....and u downloaded Balloon dataset...I think so it is working becuase their is a Balloon class on class-descriptions-boxable.csv file.....i placed Person instead of Balloon....that dataset is downloaded but couldn't shows on train folder...y becuase thier is no person class on class-descriptions-boxable.csv file....so finally my problem is how add person class to class-descriptions-boxable.csv file

    • @bhawanatyagi7991
      @bhawanatyagi7991 3 роки тому

      @@sathishbabu3867 did you able to download the person class
      ?

  • @nazgulzholmagambetova1198
    @nazgulzholmagambetova1198 3 роки тому

    You`re the best!!

  • @sm-sabir
    @sm-sabir 4 роки тому

    Hi, I'm getting an error in PowerShell
    "D:\Images\OIDv4_ToolKit> pip install -r requirements.txt
    pip : The term 'pip' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
    spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:1
    + pip install -r requirements.txt
    + ~~~
    + CategoryInfo : ObjectNotFound: (pip:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException"

    • @netra_2201
      @netra_2201 2 роки тому

      Hey! I know its late, but stilll if someone else is facing same issue, write
      py -m pip install -r requirements.txt

  • @TheKing007
    @TheKing007 4 роки тому +1

    can make some videos about deep learning object trackers and how train them ?

    • @TheAIGuy
      @TheAIGuy  4 роки тому +1

      Yes! I will be having an object tracker video posted within the next couple days. Stay tuned.

    • @TheKing007
      @TheKing007 4 роки тому +1

      @@TheAIGuy im waiting for that hope its gonna be about deep sort , kcf or MDnet :D

    • @TheAIGuy
      @TheAIGuy  4 роки тому +1

      The King It will be about how to use deepsort and yolov3 together to do object tracking!

  • @akhilgkrishnan4469
    @akhilgkrishnan4469 4 роки тому +1

    Thanks for your video,. I need to detect whether a person is wearing a seatbelt or not. how to do this using YOLOV3

    • @gauravsharma-ow8st
      @gauravsharma-ow8st 4 роки тому +2

      why don't you simply use classification instead of more complex object detection for your use case?