Real Time Sign Language Detection with Tensorflow Object Detection and Python | Deep Learning SSD

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ธ.ค. 2024

ความคิดเห็น • 2.8K

  • @NicholasRenotte
    @NicholasRenotte  4 ปีที่แล้ว +48

    Hey y'all! Wrote up a couple of steps to setup your environment. I'm planning on doing a video on this but until then, here's a crash course post:
    1. First up install Python 3.7.4. Download and install the package for your OS that has the words 2019.07 in it from here repo.anaconda.com/archive/. This should give you 3.7.4 to work with.
    2. Then install Visual Studio C++ 2015 from here: go.microsoft.com/fwlink/?LinkId=691126. Tensorflow needs this in order to compile
    3. OPTIONAL IF YOU HAVE A GPU - Install Cuda and Cudnn. Install Cuda first, then install Cudnn.
    - Cuda: 10.1 - developer.nvidia.com/cuda-10.1-download-archive-base
    - Cudnn: 7.6.5 - developer.nvidia.com/rdp/cudnn-download
    Once Cudnn is installed you need to copy the Cudnn files into their respective folders inside the Cuda directory. I used this as a guide: towardsdatascience.com/installing-tensorflow-with-cuda-cudnn-and-gpu-support-on-windows-10-60693e46e781
    4. Then install Protoc 3.13 from here: github.com/protocolbuffers/protobuf/releases. For windows, download the repository and then add it to your PATH file.
    5. Then install python packages using the pip command:
    Tensorflow: 2.3.1 - pip install tensorflow==2.3.1
    OpenCV: 4.4.0 - pip install tensorflow==4.4.0
    6. Install the object detection API. To do this, run these commands from a command prompt or terminal:
    git clone github.com/tensorflow/models
    cd tensorflow/models/research
    protoc object_detection/protos/*.proto --python_out=.
    cp object_detection/packages/tf2/setup.py .
    python -m pip install .

    • @rashmigaikwad1116
      @rashmigaikwad1116 2 ปีที่แล้ว +7

      I have followed all these steps ..but still i am getting error as object _detection module not found...
      What should i do.. Please help me out here!!

    • @enamulkarimadib
      @enamulkarimadib 2 ปีที่แล้ว

      @@rashmigaikwad1116 Same here. Did you manage to solve it?

    • @kaansevinc6182
      @kaansevinc6182 ปีที่แล้ว +2

      OpenCV: 4.4.0 - pip install tensorflow==4.4.0 (is this a Typo do you mean pip install opencv-python )? at step 5!

    • @kenneths9839
      @kenneths9839 7 หลายเดือนก่อน

      will this work with later versions of python?

    • @samip7234
      @samip7234 4 หลายเดือนก่อน

      @@kenneths9839 did you ever figure this out?

  • @alanmcoll101
    @alanmcoll101 3 ปีที่แล้ว +30

    The most logical and understandable guide on the subject I have seen. Great job.

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว

      Thanks so much for your kind words @Alan 🙏!

  • @samrogers806
    @samrogers806 3 ปีที่แล้ว +20

    dude. you. are. sick.
    thank you man. keep pushing. you could really become something big. super high quality content.
    cheers

  • @irugal8964
    @irugal8964 2 ปีที่แล้ว +152

    Dear Nich Sir, I was a software engineer student, yesterday my results has come out and I got a first-class honor for my BSc degree, For the final project, I got 80 marks. My final project was Sign language detection in my language (Sinhala language). That project was kinda Advanced, but your sign language detection videos series inspired me to make a better project for my finals. So Thank you soo much and wanna say this, again and again, YOU ARE THE BEST AI TEACHER IN TH-cam, Keep making these kinda videos and make others' life brighter like this. I think you should pin this comment. ⭐⭐⭐

    • @NicholasRenotte
      @NicholasRenotte  2 ปีที่แล้ว +11

      This is amazing news!! Congratulations!!!

    • @irugal8964
      @irugal8964 2 ปีที่แล้ว +1

      @@NicholasRenotte Thank you Sir

    • @sukanyadessai6238
      @sukanyadessai6238 2 ปีที่แล้ว +2

      @@irugal8964 hey how did you do it? I'm not able to use tensorflow. I'm error version error. What should I do? Please please help me🥺

    • @irugal8964
      @irugal8964 2 ปีที่แล้ว

      @@sukanyadessai6238 th-cam.com/video/dZh_ps8gKgs/w-d-xo.html this is the video i followed and setup all correctly. Also for the data training i hv used colab.

    • @prathi.editss
      @prathi.editss 2 ปีที่แล้ว

      hey i'm working on same project and got few errors can u help to solve it

  • @davidskopalik9073
    @davidskopalik9073 3 ปีที่แล้ว +11

    I was looking for helpful vids on my project and this guy already did my project. Nice

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว +1

      Ayyyeee, glad you found it @David!

    • @adamputra8288
      @adamputra8288 2 ปีที่แล้ว

      How do i contact you?

    • @aankitaaa
      @aankitaaa 8 หลายเดือนก่อน

      hey @davidskopalik9073 did you do this project i am facing some issue could you help me out i'll be grateful if you could

    • @davidskopalik9073
      @davidskopalik9073 8 หลายเดือนก่อน

      @@aankitaaa i mean it has been years not even sure if i have the files but i can try what's your issue

    • @AamirMaqsood-sn7gq
      @AamirMaqsood-sn7gq 7 หลายเดือนก่อน

      Can you please help me in executing the same project?

  • @nyharenafitahiantsoaraheri3557
    @nyharenafitahiantsoaraheri3557 4 ปีที่แล้ว +6

    Wouaouhhhhh... Man, your amazing :) ...
    This is what I was searching for after some months of Machine Learing study

    • @NicholasRenotte
      @NicholasRenotte  4 ปีที่แล้ว

      🙏🙏🙏 thanks so much, glad you enjoyed it!

    • @nyharenafitahiantsoaraheri3557
      @nyharenafitahiantsoaraheri3557 4 ปีที่แล้ว +2

      ​@@NicholasRenotte No, thanks to you with your awesome works, awesome technics, ...But could you make a video on how to save this model ? ( Save the mobel in tflite format, tf.js format for example?)

    • @NicholasRenotte
      @NicholasRenotte  4 ปีที่แล้ว +2

      @@nyharenafitahiantsoaraheri3557 definitely, it's coming in the next couple of videos!!

    • @nyharenafitahiantsoaraheri3557
      @nyharenafitahiantsoaraheri3557 4 ปีที่แล้ว +1

      @@NicholasRenotte Ouuuupiiiii ,,, can't wait to those videos :)

    • @nyharenafitahiantsoaraheri3557
      @nyharenafitahiantsoaraheri3557 4 ปีที่แล้ว +1

      @@NicholasRenotte I have already test an object Detection project in flutter application that uses the SSD mobilenet and YOLO and if I am not wrong I think by changing just the .tflite model and the label.txt by this one, I think it will work because I think your model extends to SSD mobilenet

  • @ypm7369
    @ypm7369 4 ปีที่แล้ว +4

    Finally a video that makes sense !!!

    • @NicholasRenotte
      @NicholasRenotte  4 ปีที่แล้ว +2

      🤣 Oh I know where you're coming from, it was a nightmare coming up with the walkthrough for this. The content and documentation is haphazard as hell. I just need to make an installation video now!

    • @basics7930
      @basics7930 4 ปีที่แล้ว +2

      @@NicholasRenotte True

    • @ypm7369
      @ypm7369 4 ปีที่แล้ว +1

      Haha I bet it was laborious, by far thought this the best video in TH-cam that implements some sort of tracking hand gesture that makes sense all the way through lol

    • @NicholasRenotte
      @NicholasRenotte  4 ปีที่แล้ว

      @@ypm7369 thanks so much 🙏 , it honestly means a lot you saying that!! I'm working on how to export the models and work with them in Tensorflow.JS apps right now...there's also sooo little documentation for how to do it properly.

    • @NicholasRenotte
      @NicholasRenotte  4 ปีที่แล้ว

      @@basics7930 better documentation anyone 😅?! #amirite?

  • @mvaabox7092
    @mvaabox7092 2 ปีที่แล้ว +7

    Excuse me, I want to ask. At 11:01 minutes, in the program to take pictures automatically, my program has no errors at all, looks good. The camera is detected successfully, the frame appears, and the frame can display the image from the camera. After the program finishes (camera off) a new directory appears, but none of the images are saved. What happened? May I know the explanation? Thank you before!

    • @dough9730
      @dough9730 3 หลายเดือนก่อน +4

      I had the same issue - I solved it by using this function here, just copy paste it into the cell where his one is and you should be fine:
      # Loop through each label and collect images
      for label in labels:
      # Create directory for the label
      label_dir = os.path.join(IMAGES_PATH, label)
      os.makedirs(label_dir, exist_ok=True)

      cap = cv2.VideoCapture(0)
      print("Collecting images for {}".format(label))
      time.sleep(5)

      for imgnum in range(number_of_images):
      ret, frame = cap.read()
      if not ret:
      print("Failed to capture image")
      continue

      # Generate unique filename
      imagename = os.path.join(label_dir, "{}.{}.jpg".format(label, str(uuid.uuid1())))
      cv2.imwrite(imagename, frame)
      cv2.imshow("frame", frame)
      time.sleep(2)

      if cv2.waitKey(1) & 0xFF == ord("q"):
      break

      cap.release()
      cv2.destroyAllWindows()

  • @Hiccupsrilanka
    @Hiccupsrilanka 20 วันที่ผ่านมา

    First of all, thank you, sir, for this great content.
    For those trying this in 2024, I want to say that this program can still be compiled. However, there are some version gaps and compatibility issues between Apple and Windows OS in the code. But don’t give up-keep going!
    Much love from Sri Lanka! ❤️

    • @kouki7099
      @kouki7099 17 วันที่ผ่านมา +1

      How do you get the code to compile using tensorflow 2.xx?
      Im having trouble with creating tf record rn.

    • @rimbang_
      @rimbang_ 9 วันที่ผ่านมา

      @@kouki7099 do u know how to solve it ?

    • @kouki7099
      @kouki7099 9 วันที่ผ่านมา

      @@rimbang_ ive given up

  • @oraredd3042
    @oraredd3042 2 ปีที่แล้ว +182

    For those who came here after seeing the Indian girl's post, yeah Priyanjali Gupta plagiarised this repo 😂

    • @ritwikagrawal1951
      @ritwikagrawal1951 9 หลายเดือนก่อน

      😂😂 exactly here for that

    • @FrancisNuamah-j7u
      @FrancisNuamah-j7u 7 หลายเดือนก่อน

      Exactly, am just arriving from threads

    • @sharjeeljavaid8151
      @sharjeeljavaid8151 7 หลายเดือนก่อน +1

      can i get a link please

    • @aneenaandrews8005
      @aneenaandrews8005 6 หลายเดือนก่อน +3

      But she has mentioned that she used his tutorial for making this model. I think she was just trying it out.

    • @zemel2050
      @zemel2050 2 หลายเดือนก่อน +1

      lol it doesn't matter who made it. It matters who used it the best

  • @Hgrewssauujdkhvcjjipp
    @Hgrewssauujdkhvcjjipp 2 ปีที่แล้ว +16

    You are my Prof in python. Thank you so much for all, the codes you share, the video and the tutorial you gave to us. 👍

  • @josephattia6040
    @josephattia6040 4 ปีที่แล้ว +10

    How do you not have more views? This is amazing content!

    • @NicholasRenotte
      @NicholasRenotte  4 ปีที่แล้ว +10

      We're getting there @Joseph! Either way, a tonnnn more videos coming! I've got 285 tutorials left on my list to do (and it keeps growing each week) 🤣!

  • @abaan.a_
    @abaan.a_ 2 ปีที่แล้ว +4

    Please, solve me, SyntaxError: invalid syntax how to ?

  • @yonipaul6077
    @yonipaul6077 9 หลายเดือนก่อน

    Nick, you are amazing! All thanks to you for making a well organised video with soo much clarity 💥💥 .... I did my first deep learning project based on your teaching and safe to say that it was a HIT among my professors.... I look forward to make more of such projects... Thank you so much Prof. Nick .... You are the BEST⭐⭐⭐⭐⭐

    • @rajasrithiruvarasan3164
      @rajasrithiruvarasan3164 8 หลายเดือนก่อน

      @yonipaul6077 how did you train the model with tensorflow 2x??

  • @rishuchaurasia6065
    @rishuchaurasia6065 9 หลายเดือนก่อน +1


    Building a real-time sign language detector using TensorFlow Object Detection and Python
    00:04
    Collecting images using python and opencv, labeling them using label image package
    Building the sign language detector using transfer learning and tensorflow object detection api

    Leverage transfer learning, pre-processing, and training code.
    01:46
    Collect images using OpenCV and webcam for training.
    Set up label image and label the images for sign language detection. Update checkpoints and execute training.

    Imported necessary dependencies for image collection and processing
    05:15
    Imported cv2, os, time, and uuid for image collection and file handling
    Specified the path for storing collected images and defined the labels for sign language poses

    Setting up labels and collecting images
    07:08
    Labels are created to represent different poses for image collection
    Code is written to loop through labels, create directories for each label, and capture images using webcam

    Collecting and labeling images for object detection with Real Time Sign Language Detection
    10:38
    Using the label image package to label images for object detection
    Organizing images into folders for each label in the workspace for TensorFlow

    Setting up label image and labeling images using TensorFlow Object Detection
    13:11
    Setting up label image involves a few steps including organizing the images into a single directory and running the python command to start the labeling process.
    Labeling the images is done using label image, where the image directory and save directory are specified before starting the labeling process.

    XML files contain all necessary information for object representation.
    16:50
    XML files include image folder, file name, path, source, size, and object details.
    Data partitioning is crucial for training and testing the object detection model.

    Organizing images and annotations for training and testing
    18:24
    Selecting images for training and testing folders based on classes
    Moving both images and xml annotations into the appropriate folders

    Creating label map and tf records for object detection using TensorFlow.
    21:33
    The label map file should be present in the annotation folder with different labels and IDs.
    To simplify the generation of tf records, use the script 'generate tf record' included in the GitHub repository.

    Created tf record files for training and test data
    23:06
    Generated successfully the tf record files for both training and test data partitions
    Updated label map and generated tf records, ready to proceed to training

    Updating configuration parameters for model training
    26:11
    Changing batch size and fine-tune checkpoint for faster training
    Updating annotation path, tf records, and checkpoint type for detection

    Training the deep learning model using command prompt
    27:42
    The time taken for training depends on the available hardware, such as GPU
    The process involves running a command in the terminal, and monitoring the loss metrics for successful training

    Real-time sign language detection using pre-built model and training process.
    30:39
    Real-time detection demonstrated with accurate recognition of signs like 'hello', 'I love you', 'thank you', and 'no'.
    Images captured with OpenCV, labeled with label image, and model trained through pre-built Jupyter notebook.

  • @rewriteending
    @rewriteending 4 ปีที่แล้ว +18

    this guy is awesome, hope to work with you one day Nicholas

  • @datapro007
    @datapro007 3 ปีที่แล้ว +6

    Nick - Love your channel - Thanks for this video. I was still struggling after the "face mask" video. This one clarified a lot of the important points. It gave me a much better understanding of what is going on than just watching the first object detection video twice... ok ten times ;-) . Speed of training - I have an AMD RX 580 video card instead of NVidia so I'm stuck with training via my AMD 3700X CPU (or am I?). No hindrance to the learning experience of course, but if I had only known last year when I built up my systems... sigh. Thanks again, you are truly a terrific teacher!

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว +3

      Ohhhhhh I know the pain of getting the GPU to work. Yep, unfortunately at the moment only NVIDIA cards seem to dominate the deep learning space. I think there's work being done on the AMD cards but it's still a while away. SOOOOO pumped you got it all working though!!

    • @datapro007
      @datapro007 3 ปีที่แล้ว

      @@NicholasRenotte Your videos are among the scarce few worth watching, so yeah!

  • @ypm7369
    @ypm7369 4 ปีที่แล้ว +14

    What version of python, tensorflow and opencv are you using?

    • @NicholasRenotte
      @NicholasRenotte  4 ปีที่แล้ว +5

      Heya, just updated the pinned post, all the install steps are there! These are the versions and source locations:
      Python: 3.7.4 -
      Windows: repo.anaconda.com/archive/Anaconda3-2019.07-Windows-x86_64.exe
      Mac: repo.anaconda.com/archive/Anaconda3-2019.07-MacOSX-x86_64.sh
      Linux: repo.anaconda.com/archive/Anaconda3-2019.07-Linux-x86_64.sh
      Tensorflow: 2.3.1 - pip install tensorflow==2.3.1
      OpenCV: 4.4.0 - pip install tensorflow==4.4.0
      Protoc 3.13 - github.com/protocolbuffers/protobuf/releases.
      If using GPU
      - Cuda: 10.1 - developer.nvidia.com/cuda-10.1-download-archive-base
      - Cudnn: 7.6.5 - developer.nvidia.com/rdp/cudnn-download

    • @diegofernandomorillovelepu2829
      @diegofernandomorillovelepu2829 3 ปีที่แล้ว

      in step 5 someone gave this error? 96 callable (pipeline_config_path)
      97 with tf.io.gfile.GFile (pipeline_config_path, "r") as f:
      98 proto_str = f.read ()
      TypeError: 'module' object is not callable

    • @Stayrii2503
      @Stayrii2503 2 ปีที่แล้ว

      Have you completed and executed this code? Because there are certain errors that I am getting and I need some help

  • @zaheersuhabuth2677
    @zaheersuhabuth2677 3 ปีที่แล้ว +2

    I'm loving the contents of this channel!

  • @johndoe4073
    @johndoe4073 2 ปีที่แล้ว +2

    This is really impressive! Can't wait to try it out.

  • @ishmeetahuja9343
    @ishmeetahuja9343 3 ปีที่แล้ว +4

    I finally completed this project
    Thanks Nick for your wonderful explanation
    and super simple guide lines 👍
    Amazing video

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว +2

      YESSSS! Amazing work @Ishmeet!

    • @shubhamnagalwade4642
      @shubhamnagalwade4642 3 ปีที่แล้ว

      @IshmeetAhuja Can your help for this project. I got error during running the tutorial code.

    • @ishmeetahuja9343
      @ishmeetahuja9343 3 ปีที่แล้ว +1

      @@shubhamnagalwade4642 can you tell exactly which step

    • @shubhamnagalwade4642
      @shubhamnagalwade4642 3 ปีที่แล้ว

      @@ishmeetahuja9343 I got error during config file. When I run code config_util.get_configs_from_pipeline_file(CONFIG_PATH)
      Error is:- Message type "object_detectio.protos.TrainConfig"

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว +1

      @@shubhamnagalwade4642 hmm, that's the full error? Sounds like the protoc step might not ahve been run during installation. Can you try running through this: th-cam.com/video/dZh_ps8gKgs/w-d-xo.html

  • @tibtrader
    @tibtrader 4 ปีที่แล้ว +9

    This is lit 🔥 - keep it coming!

    • @NicholasRenotte
      @NicholasRenotte  4 ปีที่แล้ว

      Oh you know it! A tonnn more stuff coming in this space @Tenzin!

  • @farzanevafaii5820
    @farzanevafaii5820 3 ปีที่แล้ว +5

    thank you for this great video .I just have one question. this code just recognize every sign that we give to it. if we want to have a code with all sign to recognize every sentences and words , what should we do?

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว

      You have to train your model to detect the signs that you want. So, you could add in all of the additional words you'd like to have recognized as part of your image collection and labelling @samaneh.

  • @kayselkadhi1368
    @kayselkadhi1368 3 ปีที่แล้ว +2

    I have this error when reading the config file config = config_util.get_configs_from_pipeline_file(CONFIG_PATH):
    ParseError: 21:11 : Message type "object_detection.protos.Initializer" has no field named "random_normal_initializer".

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว

      Heya @Kays El Kadhi, which version of Tensorflow are you using?

  • @deadend6490
    @deadend6490 วันที่ผ่านมา

    Awesome tutorial, thanks man! 🙌

  • @imlio3312
    @imlio3312 7 หลายเดือนก่อน +6

    Can someone explain me how that labelling works at 13.15

    • @Shan_____
      @Shan_____ 2 หลายเดือนก่อน

      Hey did u get it? Please can you share how to set up labelimg

  • @tasneembanu9882
    @tasneembanu9882 2 ปีที่แล้ว +3

    Thank You so much for explaining the project code by code. I am facing a small issue. My TF records are not getting created. Do you have any idea why? I've gone through many videos of yours to understand where am I going wrong.

    • @prathi.editss
      @prathi.editss 2 ปีที่แล้ว +1

      hey have u got solution for this?i'm getting same issue

    • @chitranshsrivastava5880
      @chitranshsrivastava5880 ปีที่แล้ว

      ​@@prathi.editss I am stuck on the same issue.Do you know its solution now?

    • @nishiparekh1921
      @nishiparekh1921 9 หลายเดือนก่อน

      hey, were you able to solve it? I'm stuck on the same issue

  • @shankhabhattacharya8921
    @shankhabhattacharya8921 3 ปีที่แล้ว +3

    Awesome tutorial. I am really glad that I found you!

  • @lolla5
    @lolla5 ปีที่แล้ว +2

    I am constantly getting some random errors when trying to test the system. Currently, I am having Tensorflow 2.11 and python 3.7.8. Which version should I download ??

  • @andrescubides3387
    @andrescubides3387 2 ปีที่แล้ว

    Just in time, I'm developing a project for my master's degree about this topic, thanks for the content

    • @aankitaaa
      @aankitaaa 8 หลายเดือนก่อน +1

      hey did you do this ?? i am facing some issuues could ou help me out?

  • @rohilkulshreshtha2875
    @rohilkulshreshtha2875 3 ปีที่แล้ว +6

    This is amazing
    Great content....Really helped me with one of the projects I was working on
    Keep making videos like these

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว +1

      Plenty more coming @Rohil, sooo glad you enjoyed it!

    • @sumit2670
      @sumit2670 2 ปีที่แล้ว

      @@NicholasRenotte please help me

  • @amritesh785
    @amritesh785 2 ปีที่แล้ว +3

    Hey, I'm stuck at where you update labelmaps. When i run the code to create tfrecords, it shows an error
    Traceback (most recent call last):
    File "D:\RealTimeObjectDetection\Tensorflow\scripts\generate_tfrecord.py", line 29, in
    from object_detection.utils import dataset_util, label_map_util
    File "C:\Users\amrit\anaconda3\lib\site-packages\object_detection\utils\label_map_util.py", line 21, in
    from object_detection.protos import string_int_label_map_pb2
    ImportError: cannot import name 'string_int_label_map_pb2' from 'object_detection.protos' (C:\Users\amrit\anaconda3\lib\site-packages\object_detection\protos\__init__.py)
    Traceback (most recent call last):
    File "D:\RealTimeObjectDetection\Tensorflow\scripts\generate_tfrecord.py", line 29, in
    from object_detection.utils import dataset_util, label_map_util
    File "C:\Users\amrit\anaconda3\lib\site-packages\object_detection\utils\label_map_util.py", line 21, in
    from object_detection.protos import string_int_label_map_pb2
    ImportError: cannot import name 'string_int_label_map_pb2' from 'object_detection.protos' (C:\Users\amrit\anaconda3\lib\site-packages\object_detection\protos\__init__.py)
    Please help as soon as possible and thanks in advance..

    • @hariharan-wx9oq
      @hariharan-wx9oq 10 หลายเดือนก่อน

      hey did you get resolved this issue?

    • @taegoo_pinguin
      @taegoo_pinguin 5 วันที่ผ่านมา

      you must install object detection API
      here's some tools that maybe you weren't installed pip install tensorflow
      pip install tf-slim
      pip install Cython
      pip install contextlib2
      pip install jupyter
      pip install matplotlib
      pip install pandas
      pip install pillow
      pip install lxml
      pip install opencv-python
      pip install pycocotools
      pip install tensorflow-object-detection-api

  • @sid4752
    @sid4752 4 ปีที่แล้ว +4

    [Errno 2] No such file or directory: 'Tensorflow/workspace/annotations\\label_map.pbtxt'
    I'm getting this error, can someone help me? (doing this on Collab, MacOS 10.15.3)

    • @NicholasRenotte
      @NicholasRenotte  4 ปีที่แล้ว +1

      Heya @Siddaharth, try removing one of the slashes after annotations and flipping the other so you have:
      Tensorflow/workspace/annotations/label_map.pbtxt'

    • @sid4752
      @sid4752 4 ปีที่แล้ว +2

      @@NicholasRenotte
      Would it matter if I did this in Collab instead of regular Jupyter notebook?
      I'm getting another error when doing it in Collab.. (I've already installed object-detection through pip)
      Traceback (most recent call last):
      File "/content/generate_tfrecord.py", line 29, in
      from object_detection.utils import dataset_util, label_map_util
      ModuleNotFoundError: No module named 'object_detection'
      I'm really sorry for bothering you with this, I just am really thankful for your videos and time!

    • @NicholasRenotte
      @NicholasRenotte  4 ปีที่แล้ว +1

      I'm always here to help, no stress@@sid4752. It should be relatively similar, that error is because the object detection API hasn't been installed, try running through the install video: th-cam.com/video/dZh_ps8gKgs/w-d-xo.html

  • @MehulK-k1m
    @MehulK-k1m 4 หลายเดือนก่อน

    you are definitely a best of the best in object detection man i need theses stuffd for NLP, ocr furthur image processing langchain and advanced gen ai too

  • @Huh18687
    @Huh18687 10 หลายเดือนก่อน +1

    23:15 when i run this cell i get cannot import name error
    How do i fix this?

  • @raghavchawla5632
    @raghavchawla5632 3 ปีที่แล้ว +4

    Thanks for this amazing tutorial. I used it to train a model exactly as you did. Do you know what the best way to load the model I have trained into the C++ API of tensorflow? Thank you again!

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว

      Could try loading the checkpoints that were saved to C++. In theory it should work, although haven't try it out yet man.

    • @SriHari-xu6zz
      @SriHari-xu6zz 3 ปีที่แล้ว

      Can you help me in solving the error no module named object_detection in crete tf

  • @nigaralishzade3206
    @nigaralishzade3206 3 ปีที่แล้ว +8

    Thank you so much, sir! I wonder what if I train about 100 different signs and gestures? Should I alter the layers in that config file? How to deal with overfitting and underfitting problem?

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว +4

      Heya @Nigar, all you need to do is ensure you have examples of all 100 signs and gestures as part of your images, update your labelmap so you have them listed and change your number of classes to 100 in the config.

    • @SamirAliyev771
      @SamirAliyev771 3 ปีที่แล้ว +2

      Salam Nigar. I am from Azerbaijan. Are you also doing the project for Azerbaijani sign language? If so, could you please contact me for cooperation in some points? I am doing the project.

  • @boozebag2000
    @boozebag2000 3 ปีที่แล้ว +3

    Hey Nicholas, in my first run I trained my model to 12000 steps. There is still a relatively high loss (0.25). How can I alter the training command to retrain starting from my latest checkpoint?

    • @luvkaranwal7511
      @luvkaranwal7511 3 ปีที่แล้ว

      Same here

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว

      Heya, try changing your checkpoint in your config, point the line below to the folder where your new checkpoints are located:
      pipeline_config.train_config.fine_tune_checkpoint = PRETRAINED_MODEL_PATH+'/ssd_mobilenet_v2_fpnlite_320x320_coco17_tpu-8/checkpoint/ckpt-0'
      Should be something like, change it to the appropriate checkpoint number based on what you've got. Then rerun the same training command.
      pipeline_config.train_config.fine_tune_checkpoint = CHECKPOINT_PATH +'ckpt-6'

  • @choijongho2
    @choijongho2 3 ปีที่แล้ว

    Nicholas! I have solved all errors. Although it was not easy, all codes worked well . Thank you so much for upload this tutorial!

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว

      THIS IS AMAZINGGG to hear! Thanks so much for powering through! Deployment to RPi next?

    • @simonconneely1615
      @simonconneely1615 3 ปีที่แล้ว

      Im having an error with cv2.imwrite. any tips? thank you

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว

      @@simonconneely1615 got some errors for me?

    • @meeraaltamimi4628
      @meeraaltamimi4628 7 หลายเดือนก่อน

      can you help me please

    • @m.sravyareddy
      @m.sravyareddy 5 หลายเดือนก่อน

      Do you got error like lable not defined

  • @thejuanpa88
    @thejuanpa88 3 ปีที่แล้ว +1

    Amazing work Nicholas

  • @keremdogan5792
    @keremdogan5792 3 ปีที่แล้ว +3

    Thanks for the tutorial. Is 'Creating TF Records part' necessary? Because I have a problem. While Creating TF Records, I encounter with an error which says
    File "Tensorflow/scripts/generate_tfrecord.py", line 29, in
    from object_detection.utils import dataset_util, label_map_util
    ModuleNotFoundError: No module named 'object_detection'
    I search this error and I write pip install tensorflow-object-detection-api in cmd. Then I encounter another error which says,
    File "Tensorflow/scripts/generate_tfrecord.py", line 61, in label_map = label_map_util.load_labelmap(args.labels_path) File "C:\Python38\lib\site-packages\object_detection\utils\label_map_util.py", line 132, in load_labelmap with tf.gfile.GFile(path, 'r') as fid:
    AttributeError: module 'tensorflow' has no attribute 'gfile'
    Do you have any ide how to fix? Or should I pass this part?

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว

      The second bit can be solved by replacing references to tf.gfile with tf.io.gfile in the code that's erroring out.

    • @JSteez0
      @JSteez0 3 ปีที่แล้ว +1

      @@NicholasRenotte I currently have the same error is tried the fix you suggested. Didn't work for me. Any more suggestions?
      Thanks.

  • @Zellpampe
    @Zellpampe 3 ปีที่แล้ว +7

    Great video. Appreciate your effort a lot! Two questions: If you would perform two gestures using both hands at the same time, would the model have detected both gestures at the same time? Is it possible to train for one class only? Best regards

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว +4

      Hi Raphael, in this case it would as I labelled images for each class using both hands. If I only used one hand per class e.g. right for hello, left for no, right for yes and trained for a while. Then there's an increased likelihood that it would only detect the class that matches the hand.

    • @rockerhlm
      @rockerhlm 2 ปีที่แล้ว

      @@apnadekhtu How are you goin to train the model? For this the best is to use any dns to your routher like Open Dns Family Shield. Sorry for my poor english

  • @vedanggoswami2540
    @vedanggoswami2540 3 ปีที่แล้ว +9

    Thanks for this amazing tutorial Nick. You explained everything so nicely.
    A quick question, if I trained this model previously for 20 pictures of each class, and now I wish to increase the training dataset to around 50 pics. Will I have to retrain the model from scratch? (Cause on CPU, it took me around 5 hours to train for 20k steps!)

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว +7

      You don't have to but you need to tweak your code if you want to pick up from where you left off. If so, you need to freeze your model, export it, then update your pipeline.config file to pick up training from that checkpoint (fine_tune_checkpoint parameter in the pipeline.config file!)

    • @matannagar
      @matannagar 3 ปีที่แล้ว +2

      @@NicholasRenotte Hi! Is there a way where I can see an example of this? We are trying to train an Hebrew Sign Language model thanks to your video :)

    • @akshikamde6764
      @akshikamde6764 2 ปีที่แล้ว

      Hi I am also training the model on cpu since I don't have GPU. And 2500 steps were done in 2 hours! So should I continue or stop because my pc has become super slow...will it be ok to leave the pc overnight?

  • @WeiQin-n9y
    @WeiQin-n9y 3 ปีที่แล้ว +2

    Hello, I am sorry for keep disturbing you, but I have no choice, i keep getting error, and this time I face the issue of this:
    2021-03-22 20:54:24.030973: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:116] None of the MLIR optimization passes are enabled (registered 2)
    When I start to train my dataset, it stop on this line and do nothing for a long time, could you know about this issue??

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว +1

      Heya, does it eventually kick off the training? I don't believe this is an error but instead it's a warning.

    • @WeiQin-n9y
      @WeiQin-n9y 3 ปีที่แล้ว +1

      @@NicholasRenotte it's okay i solved it, and could i know how to plot the loss graph from this model??

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว

      @@WeiQin-n9y yup, check this out: th-cam.com/video/-HbCA0WGbBg/w-d-xo.html

  • @jees__antony
    @jees__antony ปีที่แล้ว

    Your videos are so encouraging... 🙌🙌🙌

  • @sualaksharma3297
    @sualaksharma3297 3 ปีที่แล้ว +6

    Thank you so much for this tutorial Nicholas ! One more thing I wanted to ask that is it possible to read out the phrases that gets recognized by the system? If yes, please do guide !

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว +4

      Planned!

    • @JamilKhan-hk1wl
      @JamilKhan-hk1wl 3 ปีที่แล้ว

      you can use a tts library for python

    • @HK-jw2et
      @HK-jw2et 2 ปีที่แล้ว

      @@JamilKhan-hk1wl Hey. I'm halfway through the project. Can you pls tell me how many nodes are being used in this Project? And about activation function, if possible. I would really appreciate your reply.

    • @ananyadixit09
      @ananyadixit09 2 ปีที่แล้ว

      could you include the audio output in your project? if yes then can you tell me how you did it?

  • @zarakjahan8430
    @zarakjahan8430 3 ปีที่แล้ว +3

    Sir, when i capture the images they are not showing in the collectedimage folder. Please help

    • @sreelakshmideshpande6553
      @sreelakshmideshpande6553 3 ปีที่แล้ว +1

      Same problem!

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว

      Normally this is because the file path isn't fully defined. Do you have a folder called collectedimages (I think that's what I called it in the vid).

    • @priyampratapsingh7072
      @priyampratapsingh7072 2 ปีที่แล้ว

      @@NicholasRenotte i did everything same, all label folders are created inside collectedimages but there's no image in there.
      Please help sir!

  • @Luca-yy4zh
    @Luca-yy4zh 3 ปีที่แล้ว +3

    Hi Nicholas. Thank you. Do you also have the final model that you trained with your images? I'd like to convert it to tflite and try it.

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว +2

      Heya @Luca, I don't have it saved anymore unfortunately. I've got this one available but it only detects hello (not trained for that long though): github.com/nicknochnack/TFODRPi/blob/main/detect.tflite

  • @iffatadib948
    @iffatadib948 3 ปีที่แล้ว +2

    Thank you NIcholas! Can this run on Tensorflow lite to embedded in a smartphone?

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว +1

      Sure can! Check out the 5hr tutorial where I show how to run the conversion!

    • @iffatadib948
      @iffatadib948 3 ปีที่แล้ว

      @@NicholasRenotte Thank you sir!

  • @travelfreak1246
    @travelfreak1246 2 ปีที่แล้ว +2

    Really good explanation.. and real time experience is awesome.. thank a lot.. 👏

  • @juliam.lampreajulian.lampr5318
    @juliam.lampreajulian.lampr5318 3 ปีที่แล้ว +3

    Are you awesome. Greetings from Colombia.

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว

      Thanks so much @Juliam, what's happening from Sydney!

  • @DhanunjayaSrisailamTTT
    @DhanunjayaSrisailamTTT 3 ปีที่แล้ว +3

    This tutorial is great. Love the explanation

  • @meryy.3779
    @meryy.3779 3 ปีที่แล้ว +5

    ValueError : 'images' must have either 3 or 4 dimensions
    Why :/

    • @meryy.3779
      @meryy.3779 3 ปีที่แล้ว

      In the comment below, you wrote that rerun cap.release (). But I tried it and it didn't work. I use colab :/

    • @meryy.3779
      @meryy.3779 3 ปีที่แล้ว

      Pls help🤦🏻‍♀️

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว

      Ah, you can't capture the images using colab. It's not able to access your webcam through the notebook. Try capturing the images locally and then training on colab if you need to!

    • @meryy.3779
      @meryy.3779 3 ปีที่แล้ว

      @@NicholasRenotte i already have a test train. Education etc. everything ok. I came to the end. The last code have such an error. Detection-opencv part. If I do it locally I have to go back to the beginning : /

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว +1

      @@meryy.3779 awesome, ah you don't, you just need to bring your checkpoints over to your pc and run it from there. There is a way to access your webcam from colab it just takes a little more work.

  • @pochinki1829
    @pochinki1829 3 ปีที่แล้ว +1

    23:15 I am getting error on CREATE TF RECORDS part.
    Error:-
    Traceback (most recent call last):
    File "Tensorflow/scripts/generate_tfrecord.py", line 29, in
    from object_detection.utils import dataset_util, label_map_util
    ModuleNotFoundError: No module named 'object_detection'
    What should I do sir?

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว

      Heya @Jignesh, try restarting your notebook and it should pick it up.

  • @nigaralishzade3206
    @nigaralishzade3206 4 ปีที่แล้ว +4

    Hi Nicholas! Thank you so much!
    I got this, please help:
    error: OpenCV(4.4.0) /tmp/pip-req-build-dglzv4yn/opencv/modules/imgcodecs/src/loadsave.cpp:738: error: (-215:Assertion failed) !_img.empty() in function 'imwrite'

    • @NicholasRenotte
      @NicholasRenotte  4 ปีที่แล้ว +1

      Heya @Nigar, at what part of the code is this occuring? :)

    • @tumtum6910
      @tumtum6910 4 ปีที่แล้ว

      @@NicholasRenotte I got the same error for the line cv2.imwrite(imgname,frame) (code shown in 8:58 of the video)

    • @tumtum6910
      @tumtum6910 4 ปีที่แล้ว +1

      How do we resolve this error?

    • @NicholasRenotte
      @NicholasRenotte  4 ปีที่แล้ว +1

      @@tumtum6910 heya, let's check a few things 😁.
      1. What do you get if you print frame before the cv2.imwrite line
      2. Is your webcam activating?

    • @chazhiyong4402
      @chazhiyong4402 4 ปีที่แล้ว +1

      maybe could try to check for the "cap.release", it needs to be at outside the for loop

  • @sarbajeetpaul7116
    @sarbajeetpaul7116 2 ปีที่แล้ว +8

    Hello Nicholas, I know you made this project long ago, but still I would really be glad if you let know what are the algorithms used here. Can we use other algorithms to this for its better accuracy and results like KNN, logistic regression or decision tree, if yes, please guide how. And last, how to generate the classification report here. Please help as I`m really new even to Python language as I have been seasoned with JAVA by far.

  • @geethamadhuri1985
    @geethamadhuri1985 2 ปีที่แล้ว +33

    Who are here after that LinkedIn post ? 😂

  • @engineersvikalp5024
    @engineersvikalp5024 3 ปีที่แล้ว +2

    @Nicholas Renotte I'm getting this error --> module 'tensorflow' has no attribute 'gfile'.
    Moreover, I have installed so many libraries but got struck at Creating TF records.
    Could you please help me out and provide me the requirements and the versions of the library we have to install.
    Also the solution for the above problem I'm facing.

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว +1

      Heya, try substituting out tf.gfile for tf.io.gfile and that should solve that error!

  • @philipplange4474
    @philipplange4474 2 ปีที่แล้ว +2

    Can you make this in Tensorflow 2.0? Unfortunately, I have many problems adapting this to Tensorflow 2.
    Greetings from Germany

  • @sunidhichaudhary2455
    @sunidhichaudhary2455 3 ปีที่แล้ว +3

    Hey! Thank you for this amazing tutorial, I'm trying to create a video conferencing project and want to include this as a feature, can you please guide me on how I can do that?

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว

      Haven't dug into integration with VC tools that much unfortunately @Sunidhi.

    • @dhivyarooparavi1108
      @dhivyarooparavi1108 3 ปีที่แล้ว

      hey Sunidhi, I am also working on the same project. Could we discuss?

    • @sunidhichaudhary2455
      @sunidhichaudhary2455 3 ปีที่แล้ว

      @@dhivyarooparavi1108 Hey Yuktaa! Yes sure, pls let me know how I can get in touch with you!

  • @amruthashetty3546
    @amruthashetty3546 3 ปีที่แล้ว +5

    Hey there! I have issue with this "2. Create TF records" step. I am trying to run this and it is processing from a very long time without any output. Is there something I need to do ?

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว +2

      Heya @Amrutha, are there any errors? How many images are you processing?

    • @amruthashetty3546
      @amruthashetty3546 3 ปีที่แล้ว +1

      @@NicholasRenotte Heyy. Thanks for replying. I am processing around 1000 images . The error is stated as follows "AttributeError: module 'tensorflow' has no attribute 'gfile'". (version of tensorflow is 2.3.1)

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว

      @@amruthashetty3546 if you run pip list is tensorflow AND tensorflow-gpu 2.3.1?

    • @amruthashetty3546
      @amruthashetty3546 3 ปีที่แล้ว

      @@NicholasRenotte Hii . I resolved the earlier issue . Now there's a new error "Message type "object_detection.protos.TrainConfig" has no field named "fine_tune_checkpoint_version"." and yeah if I print config, there is no such field.

    • @lorenagonzales8032
      @lorenagonzales8032 3 ปีที่แล้ว +1

      @@NicholasRenotte I also have this issue. pip list shows I'm running version 2.4.1

  • @Jandoesrun
    @Jandoesrun 4 ปีที่แล้ว +9

    Hi I'm glad I found your video! First of all, You are awesome man! Keep it up!
    I'm planning to do a similar project as a research proposal for a graduate school application and I was wondering how can I train my model if the sign language uses hand movements rather than still poses.

    • @NicholasRenotte
      @NicholasRenotte  4 ปีที่แล้ว +4

      Heya Jan, you can use a slightly different architecture to do it! I've been researching it lately and it looks like there's already a model out there that handles it, check out Tiny Video Net: tfhub.dev/google/tiny_video_net/mobile_1/1

    • @g.satwikasattu233
      @g.satwikasattu233 2 ปีที่แล้ว +1

      Hi iam also searching sign language research topic urs dun research topic

  • @PurushothamanMCSE_
    @PurushothamanMCSE_ 3 ปีที่แล้ว +1

    bro i try to executed train model i got this kind of notification 2021-05-08 07:39:03.490195: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:116] None of the MLIR optimization passes are enabled (registered 2)

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว

      Heya this is normally just for Information (indicated by the I just after the datestamp). Is the training hanging though?

  • @jupjyotkhosla4640
    @jupjyotkhosla4640 3 ปีที่แล้ว +1

    I wanted to add more gestures for recognition. Do i have to clear out previously created libraries or will it work with my older gestures???

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว +1

      Yep, there's another way but it's a bit more of a pain.

    • @jupjyotkhosla4640
      @jupjyotkhosla4640 3 ปีที่แล้ว

      @@NicholasRenotte thanks for the amazing video! ❤️❤️

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว +1

      @@jupjyotkhosla4640 anytime! Glad you enjoyed it!

  • @mickjagger4548
    @mickjagger4548 3 ปีที่แล้ว +4

    Thank you so much for this content, you saved me with my senior project- which is ASL alphabet recognition (turns out MATLAB is terrible for someone new to this field)... however, how can we implement this style detector for letters like "j" and "z" which require movement? I have seen many papers about combining lstm's with cnn's but it seems like everyone is keeping their cards close to their chest and their are no actual good tutorials on this matter... what are the chances of you doing one of these within the next month or so lol?

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว +2

      MICK JAGGER! Yah, definitely it's on the cards. I don't know if it'll be out within the next month but I've already got action detection down in the next set of tutorials!

  • @galaxxyz777
    @galaxxyz777 3 ปีที่แล้ว +17

    Hi Nicholas. Thank you for this amazing video! How long did it take you to train this model? I'm going to train a model for detection about 10-15 gestures, but I also want to make train dataset for each gesture slightly bigger. If you remember the approximate amount of time I think I can roughly estimate how long the training session will take for me.

    • @tejeswanisenapathi2708
      @tejeswanisenapathi2708 2 ปีที่แล้ว +1

      I am doing the same thing, can you help me with this? please. That'd be very nice if you offer to help me.

    • @uniquescience7047
      @uniquescience7047 ปีที่แล้ว

      @@tejeswanisenapathi2708 hello, did you do it?

  • @colepatola2831
    @colepatola2831 7 หลายเดือนก่อน +4

    Has anyone done this in 2024? i am super confused on what version of tensor flow to use, nothing seems to be compatable

    • @heuixis
      @heuixis 6 หลายเดือนก่อน

      Tensorflow 2.15.0 you will have to run it through python 3.11

    • @Dogcatcowrat
      @Dogcatcowrat 6 หลายเดือนก่อน

      @@heuixis so i should avoid anaconda ?

    • @heuixis
      @heuixis 6 หลายเดือนก่อน

      @@Dogcatcowrat I’ve never used anaconda. So I wouldn’t know.

    • @Dogcatcowrat
      @Dogcatcowrat 6 หลายเดือนก่อน

      So you don't need to change anything in code bro

    • @heuixis
      @heuixis 6 หลายเดือนก่อน

      @@Dogcatcowrat what id suggest is copying the code from the Jupyter files into python files and run them from terminal using the command: python3.11 [filename].py you shouldn’t need to modify the code if all the dependencies are there and installed into python 3.11. Lmk how it goes. Although, for what I was planning on using this for I’ve just went the ultralytics YOLOv8 route.

  • @mariochamdjoko325
    @mariochamdjoko325 2 ปีที่แล้ว +1

    Hello Nicholas, I'm having trouble when I want to "create TF records" it said
    "line 133, in load_labelmap
    with tf.gfile.GFile(path, 'r') as fid:
    AttributeError: module 'tensorflow' has no attribute 'gfile'"
    can you help me with this?

  • @hunar.abubakir
    @hunar.abubakir 2 ปีที่แล้ว +1

    Hello Nicholas. I have all the steps in your other video and trained the model. Our images have taken and labeled then moved to train and test folders inside the images folder. The model can recognize some photos but when use the webcam the model unable to detect and recognize any of the signs. Could you please gives some recommendations? We have 500 images for each of our 7 signs but we use other sign language not yours.

  • @haifaalromaih1370
    @haifaalromaih1370 3 ปีที่แล้ว +3

    Hello Nicholas, I hope you’re doing well❤️
    I would like to thank you for your video that helped us alot💘. Now I’m actually in the training step, I tried to train the model in my laptop “which doesn’t have a GPU “ so it took 10 hours to train 20 photos. Is there a way or a device that I can buy that will make the training process faster in my laptop?

    • @anaashaikh7342
      @anaashaikh7342 3 ปีที่แล้ว +1

      Heyyyy, can you please help me with my project. I'm stuck at this place. If you could help me please.

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว

      Heya @Haifa, you can try using an external GPU (eGPU) but these tend to be a little more expensive then just getting a basic gaming computer with a half decent GPU.

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว

      Definitely, what's up @Anaa?

    • @anaashaikh7342
      @anaashaikh7342 3 ปีที่แล้ว +1

      @@NicholasRenotte heyy, thankyou so much for the reply, here is my error
      Traceback (most recent call last):
      File "Tensorflow/scripts/generate_tfrecord.py", line 29, in
      from object_detection.utils import dataset_util, label_map_util
      ModuleNotFoundError: No module named 'object_detection'
      Traceback (most recent call last):
      File "Tensorflow/scripts/generate_tfrecord.py", line 29, in
      from object_detection.utils import dataset_util, label_map_util
      ModuleNotFoundError: No module named 'object_detection'

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว

      @@anaashaikh7342 this looks like the OD API hasn't been fully installed. Try running through this first: th-cam.com/video/dZh_ps8gKgs/w-d-xo.html

  • @DhruvPatel-mg6ou
    @DhruvPatel-mg6ou 3 ปีที่แล้ว +3

    Hey!! Mr, can you make video on how to Deploy object detection model online, plz😇.. And love your content as always🤗🤗

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว +1

      Here you go th-cam.com/video/2dwSXXMFhPY/w-d-xo.html 🙂

    • @DhruvPatel-mg6ou
      @DhruvPatel-mg6ou 3 ปีที่แล้ว +1

      @@NicholasRenotte Is there name length limit for object in detection model?
      like in label [ ] ,'I Love You'..
      if not then we can have labels like 'Hello How are you there.'

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว

      @@DhruvPatel-mg6ou I don't believe so, I think you should be fine to include longer labels!

    • @DhruvPatel-mg6ou
      @DhruvPatel-mg6ou 3 ปีที่แล้ว

      @@NicholasRenotte thank you for the reply..

    • @VanamuthuKamaraj
      @VanamuthuKamaraj 3 ปีที่แล้ว

      Frame (Not responding)
      ???

  • @neelcrews
    @neelcrews 2 ปีที่แล้ว +97

    Hey one girl has copied your code 😂 she is getting more fame than this video literally she is 😂😂😂😂😂😂😂😂😂😂😂

  • @nicolaicaruana9950
    @nicolaicaruana9950 ปีที่แล้ว

    Dear Nicholas, I would first like to thank you for showing us these amazing tutorials, they are nothing short of educational and fun. I came here asking for help though, if it is ok with you. I am developing a similar project to yours where the Object detector would figure out which technique in Judo it is observing. I am trying to run the project and I followed the tutorial to a T. I am able to train the model, but the loss value always starts at NaN (technically I am not able to train the model, but step 6 is within reach, because I can execute the command). I have gone through the comments and have done all the suggestions, which include:
    1. Double checking the labels
    2. Decrease the learning rate (although that is only viable if the loss value does not start at NaN)
    3. Used 2 different datasets (1st is the Judo dataset, the other is the image dataset that was created, the same as yours).
    4. Followed the installation to everything on your previous videos (Tensorflow installation + CUDA/CUDNN and Face mask detection tutorial)
    It would be greatly appreciated if you do end up helping me. But if not, this is still a very interesting video.

    • @gauravsontakke5891
      @gauravsontakke5891 10 หลายเดือนก่อน

      same issue bro if get the solution please tell me

  • @rimichowdhury8035
    @rimichowdhury8035 ปีที่แล้ว

    awesome!!!!! too happy to learn

  • @BackpackerSiddhant
    @BackpackerSiddhant 2 ปีที่แล้ว +7

    VIT wale full credit lekr marketing kr rhe. koi to roko unhe 😂

    • @rohitshailesh3449
      @rohitshailesh3449 2 ปีที่แล้ว +1

      i was wondering why that girl is getting so famous 😂

    • @amessit10
      @amessit10 2 ปีที่แล้ว

      exactlyyyy

  • @gurpreetdeveloping
    @gurpreetdeveloping 7 หลายเดือนก่อน +5

    Bro some girl has copied ur code and she is getting more fame than u.. I also came on ur video after seeing her video..

  • @jizhizhang4385
    @jizhizhang4385 2 ปีที่แล้ว +1

    Really like your smile, Nicholas👍

  • @vamshikrishnareddypasula8331
    @vamshikrishnareddypasula8331 3 ปีที่แล้ว +1

    When I try labelling that's at 14:28, it's showing python is not an internal or external part. What can I do now?

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว

      Hmmmm @Vamshi, is that the full error? If it's saying Python is not a recognised command this is normally due to Python not being installed or not being added to your Path.

  • @anjalik3826
    @anjalik3826 6 หลายเดือนก่อน

    Hello @NicholasRenotte Sir, Thanks for the amazing tutorial! I am glad that I found this savior tutorial last minute....Thankyou so much :)

  • @MohammedSadiqAli-hq7jb
    @MohammedSadiqAli-hq7jb 11 วันที่ผ่านมา

    Hi please someone help me asap.
    Im getting an error
    ModuleNotFoundError: no module named 'libs.resources'
    at 14:17 when i give python labelimg.py

  • @thdhrubo9020
    @thdhrubo9020 ปีที่แล้ว +2

    Can you check the generate_tfrecords? It's not working and showing errors

  • @ariyasaccautama5934
    @ariyasaccautama5934 3 ปีที่แล้ว +2

    i just want to ask.
    so before we do "Real Time Sign Language Detection with Tensorflow Object Detection and Python"
    we should do "Install Tensorflow Object Detection From Scratch in 5 Steps"? or anything else?

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว

      Correct! Nope nothing else.

    • @ariyasaccautama5934
      @ariyasaccautama5934 3 ปีที่แล้ว +1

      @@NicholasRenotte but i cant install tensorflow
      When i ran :
      python -m pip install
      It becomes red lines in the end (error)

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว

      @@ariyasaccautama5934 try taking a look at the new tutorial, it does the same but I've tweaked a lot of the code to be more resilient, plus I show how to work through the errors in it: th-cam.com/video/yqkISICHH-U/w-d-xo.html

  • @alifia276
    @alifia276 3 ปีที่แล้ว +1

    Excellent explanation... Thanks for sharing!

  • @_buffer
    @_buffer 3 ปีที่แล้ว +1

    Hi! Is it possible for me to generate a *.pb file so that I can use it the way I'm used to? By specifying a config path and settings it to the *.pbtxt and the weightPath which would be *.pb?

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว

      Heya @BinaryBunny, should be possible, I actually walk through an example of saving a frozen graph and coverting to TFJS here: th-cam.com/video/ZTSRZt04JkY/w-d-xo.html I believe there are some other converters available as part of the ODAPI in the models folder!

  • @timtsen7633
    @timtsen7633 3 ปีที่แล้ว +1

    Could anyone tell me why I executed the code in 23:20 but I got error ?
    I use Pycharm to do that
    is this impact the result ?
    And what is -x, -l, -o and !python ?

  • @taenight2359
    @taenight2359 2 ปีที่แล้ว +2

    please help me i'm facing problem of no module named object detection while creating tf records

  • @amirulaizadkhairulhasnan9934
    @amirulaizadkhairulhasnan9934 3 ปีที่แล้ว +1

    hello nick, I tried to do this project, but I have a problem at 8:06 where i have a error where " module 'cv2.cv2' has no attribute 'VideoCaptured' ". can you please help me with this.. i need to do this for my final year project

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว

      Looks like that might be a typo @Amirul. It should be cv2.VideoCapture(0) not cv2.VideoCaptured(0).

    • @amirulaizadkhairulhasnan9934
      @amirulaizadkhairulhasnan9934 3 ปีที่แล้ว +1

      @@NicholasRenotte ohh ya, thank you. but after i run it, i have a error " OpenCV(4.5.1) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-5rb_9df3\opencv\modules\imgcodecs\src\loadsave.cpp:753: error: (-215:Assertion failed) !_img.empty() in function 'cv::imwrite' "

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว

      @@amirulaizadkhairulhasnan9934 can you try restarting your notebook. This error normally occurs because your camera hasn't been released from a previous run and is in accessible.

  • @KavinKumar-h2m
    @KavinKumar-h2m 9 หลายเดือนก่อน

    had a great learning though i got a lots of errors in the way but that make me go deep into subject and taking this from scratch is awesome and again expectinga a lot like these from your side nick

    • @rajasrithiruvarasan3164
      @rajasrithiruvarasan3164 8 หลายเดือนก่อน

      How did you train the model with tensorflow 2x?

    • @Dogcatcowrat
      @Dogcatcowrat 6 หลายเดือนก่อน

      @@rajasrithiruvarasan3164 same ques bro.......having alots of error

  • @krishna_3406
    @krishna_3406 3 หลายเดือนก่อน +1

    Guys i need a help on how to create a labelimg folders at 13:14. I got struck at this part. pls help

  • @muhammadzeinnurzaman9378
    @muhammadzeinnurzaman9378 6 หลายเดือนก่อน

    Hi i just tried this out using my own dataset that consist of Indonesian sign languages, it works flawlessly, my question is can you deploy the object detection models?, maybe from the checkpoint files etc?,

  • @azgiraffe
    @azgiraffe 3 ปีที่แล้ว +1

    Thank you so much for this wonderful tutorial

    • @SriHari-xu6zz
      @SriHari-xu6zz 3 ปีที่แล้ว

      Can you help in solving the error no module named object_detection in creating tf record

  • @irugal8964
    @irugal8964 3 ปีที่แล้ว +2

    sir i am getting this error when i Create TF record, what should I do?
    File "Tensorflow/scripts/generate_tfrecord.py", line 27, in
    import tensorflow.compat.v1 as tf
    ModuleNotFoundError: No module named 'tensorflow

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว +1

      Try running !pip install tensorflow from within your notebook.

    • @irugal8964
      @irugal8964 3 ปีที่แล้ว

      @@NicholasRenotte you are the best😎😎

  • @frodobaggins2852
    @frodobaggins2852 2 ปีที่แล้ว +1

    Hi can we use the same tutorial if i already have images taken instead of taking them using opencv?

  • @torch05ll
    @torch05ll 8 หลายเดือนก่อน

    11:01 I am getting an error when running this code, it says OpenCV(4.9.0) error (-215: Assertion failed)

  • @vishvajitviswanathan7970
    @vishvajitviswanathan7970 2 ปีที่แล้ว +2

    Hey
    There's no module named "object_detection.utils import dataset_util, label_map_util". It's showing as no file exist. What to do... I'm following exactly the same as you did!!
    But you get that both got trained...

  • @purplefirewolf1567
    @purplefirewolf1567 3 ปีที่แล้ว +2

    Section 4 of tutorial.pynb
    'cp' is not recognized as an internal or external command,
    operable program or batch file.
    Help please!

    • @NicholasRenotte
      @NicholasRenotte  3 ปีที่แล้ว

      I'm here! Change cp to copy and all / to \\ and you should be soaring!

  • @fiona2678
    @fiona2678 2 ปีที่แล้ว +1

    Hey Nicholas, Can you please upload an video regarding the labelling part that you skipped....I tried watching the Git link. Im getting stucked.

  • @satwikchowdary2711
    @satwikchowdary2711 2 ปีที่แล้ว +1

    only after i started working on this that i realise how much effort it for this 30min video

    • @aankitaaa
      @aankitaaa 8 หลายเดือนก่อน

      hey i am facing some issues could you please help me

    • @satwikchowdary2711
      @satwikchowdary2711 7 หลายเดือนก่อน

      @@aankitaaa sure,i will try to help, what are the issues

  • @karthickbalakrishnan17
    @karthickbalakrishnan17 ปีที่แล้ว +2

    Now. I am trying these and i get so many error in tutorial jupyter notebook file. Do you have any updated code

  • @dinukii3332
    @dinukii3332 2 ปีที่แล้ว +2

    Hi Nicholas, Thank you for the tutorial. I get a few errors when I try to train the model.I'm using the tensorflow version 2.3.1 and it gives me the error:module 'tensorflow' has no attribute 'contrib'. When I try downgrading to any version below 2 it gives the error: module 'tensorflow._api.v1.compat.v2.compat' has no attribute 'v1'
    Please I'll be soo much gratefull if you could provide an answer for this

    • @NicholasRenotte
      @NicholasRenotte  2 ปีที่แล้ว

      Are you runnning with both tf and tf-gpu > 2.3.1

    • @dinukii3332
      @dinukii3332 2 ปีที่แล้ว

      Yes. But its alright I started with your other tutorial on 'Sign language detection using Action Recognition' and it worked for me. Thank you:)

    • @dinukii3332
      @dinukii3332 2 ปีที่แล้ว

      @@Archana-jb3pr No I still get the error:/

    • @prathi.editss
      @prathi.editss 2 ปีที่แล้ว

      hey i got same error...can u help me to resolve it