Это видео недоступно.
Сожалеем об этом.

How to Install Tensorflow 2 Object Detection

Поделиться
HTML-код
  • Опубликовано: 17 авг 2024
  • Its finally here! Welcome to my tutorial for installing and setting up Tensorflow 2 Object Detection! This tutorial goes over how to install Tensorflow 2 and get object detection up and running. I try to cover as many possible errors you may find when trying to do this yourself so that you can skip the headaches and get right to object detecting!
    Watch the other videos in this series: • Tensorflow 2 Object De...
    Common Tensorflow 2 fixes:
    "protoc not found" - make sure you add protoc to path and also do "conda install protobuf"
    "numpy not found" - make sure to do "conda install numpy"
    Links used:
    Tensorflow github: github.com/ten...
    Tensorflow models: github.com/ten...
    Protobuf download: github.com/pro...
    Anaconda download: www.anaconda.com/
    Code used in this tutorial: github.com/Ben...
    Original inspiration: github.com/Tan...
    Chapters:
    00:00 - Download Tensorflow repo
    01:40 - Protobuf/Protoc Download
    04:10 - Anaconda
    09:04 - protoc command and script
    10:45 - setup.py
    11:55 - numpy
    12:40 - Test the install
    14:10 - Setup IDE
    17:10 - Model downloader
    21:20 - Detection script
    25:00 - Results
    26:10 - Outro

Комментарии • 189

  • @phazz2891
    @phazz2891 Год назад +9

    Thank you so much! I spent so much time following different turorials but none worked but thankfully this one did. You're a life saver!

  • @KenuraTech
    @KenuraTech Месяц назад +1

    Worked for me. Initially I faced some issues with the python version and protobuf. But after some version changing according to what is in video, all worked fine. Thank you for your detailed explanations through the video.

    • @user-ip6kr5bo5f
      @user-ip6kr5bo5f Месяц назад

      I got experimental error of keras version in testing of the installation can you please help me to sort it

  • @williamturner3206
    @williamturner3206 8 дней назад

    Excellent channel bro, super simple and nobody left behind

  • @abience
    @abience Год назад +1

    jesus christ u saved me from smashing my head in. You are so articulate and actually address the 50 errors that occur. Thank you kind sir

  • @user-pb9qw4tq3s
    @user-pb9qw4tq3s 5 месяцев назад

    had romed around over tons of tutorials for this but i hadn't seen this master piece you owe my respect brother

  • @harshalidevi6718
    @harshalidevi6718 2 месяца назад

    Thank you! After watching many tutorials, yours finally worked!!

  • @bijayaghimire7354
    @bijayaghimire7354 Год назад +1

    Thank you for making this straight forward. This may be the only tutorial that i don't get a single error.

  • @some_random_wot_dude485
    @some_random_wot_dude485 Год назад +1

    After three days of endless tries it finally works.... thanks my man you really deserve more attention. Most deserved like and sub ever.

    • @divyamadineni715
      @divyamadineni715 2 месяца назад

      Can you please tell for which version of protobuf which version of tenspeflow worked

    • @divyamadineni715
      @divyamadineni715 2 месяца назад

      Can anyone twll for what version of protobuf which tensorflow worked

  • @phoque6
    @phoque6 Год назад +1

    Btw great tutorial i have been stuck for a few weeks trying to resolve installation errors following backdated tutorials. Thanks for helping solve my headaches :)😀

  • @EED-qj2tv
    @EED-qj2tv Месяц назад

    It was a great tutorial, ı couldn't do with other tutorials, but now it worked

  • @vbca11b4krithickbalab6
    @vbca11b4krithickbalab6 3 месяца назад

    Thank you brotha!!!Loved it...
    finally I found it and managed to do things without screwing up

  • @hippoland9971
    @hippoland9971 Год назад

    Watched so many Videos and read so many webites, but this is the first video which really helped and didn't skipped things. Thank you so much!

    • @LazyTech825
      @LazyTech825  Год назад

      Happy to hear it! :)

    • @divyamadineni715
      @divyamadineni715 2 месяца назад

      Can you please say when you download the model is that savedmodel folder is coming directly because I downloaded manually and pasted folder over there so I don't have any saved model

    • @divyamadineni715
      @divyamadineni715 2 месяца назад

      @@LazyTech825 sir, while installing in gpu version i am having this issue sirImportError: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/iot/miniconda3/envs/tf2/lib/python3.9/site-packages/scipy/optimize/_highs/_highs_wrapper.cpython-39-x86_64-linux-gnu.so) please resolve it and this would be great help

  • @divyamadineni715
    @divyamadineni715 2 месяца назад +3

    Can anyone twll for what version of protobuf which tensorflow worked

  • @ramf7673
    @ramf7673 Год назад +2

    Thank you for making this so straightforward!!!!!

  • @muhammadzulnaim1492
    @muhammadzulnaim1492 8 месяцев назад +3

    im stuck and setup.py 10.45 where it say Attribute error

  • @bhn1997
    @bhn1997 4 месяца назад

    Amazing guidance for beginner like me.
    Thank you!!

  • @Bengemon825
    @Bengemon825 Год назад +3

    Awesome tutorial!!! fixed common errors

  • @Ansari-Devs
    @Ansari-Devs 17 дней назад

    Nice tutorial you save my life hehe
    Thanks.

  • @jelly8936
    @jelly8936 6 месяцев назад

    I'm using ubuntu and it works! thank you for sharing the video:)

  • @hanishvenkat9496
    @hanishvenkat9496 8 месяцев назад

    very well explained...got the perfect outputs

  • @hsinyu4944
    @hsinyu4944 Год назад

    Thank you for making this video!! REALLY HELPFUL!!

  • @shooby117
    @shooby117 10 месяцев назад +3

    I get the following error when I run "python -m pip install ." after copying the set up file.
    Pls help :(
    "AttributeError: cython_sources"
    Edit: had to do the following to solve the issue
    pip install "Cython

    • @rafnex99
      @rafnex99 2 месяца назад

      thx a lot, got the same error.
      For me
      pip install "Cython

    • @jun8aid
      @jun8aid 2 месяца назад

      Thanks bud

  • @andresmarin8993
    @andresmarin8993 2 месяца назад

    amazing tutorial man. thank you so much

  • @LuisMatty
    @LuisMatty 10 месяцев назад

    Thank you so much! Excellent tutorial

  • @deniz.7200
    @deniz.7200 21 день назад

    I have installed VS C++ libraries, installed procom and compiled using procom. Still getting "no module named object_detection" using tensorflow 1.13.1

  • @ROY-yz9lb
    @ROY-yz9lb 2 дня назад

    hey, I actually loved your video and your effort. But I think it'll be better for us if you maintain larger font size & all. Thanks in advance : )

  • @SoSuSS895
    @SoSuSS895 5 месяцев назад

    You are a legend brother !

  • @olusholaosasona1842
    @olusholaosasona1842 Месяц назад

    I want to detect something similar but will have 2 different classes Yes and No, instead of detecting random items.. How to go about it?

  • @efemenaekagha3406
    @efemenaekagha3406 Месяц назад

    Dunno what to say but thank you very much. +1 Sub gained!

  • @ItsMe-yb1zn
    @ItsMe-yb1zn Год назад

    Very helpful, Thank you so much for your effort!

  • @Bengemon825
    @Bengemon825 Год назад

    just watched the custom object detection model video, good series! Now i can detect macaroni and cheese whenever i want :P

    • @LazyTech825
      @LazyTech825  Год назад

      Go for it!

    • @divyamadineni715
      @divyamadineni715 2 месяца назад

      @@LazyTech825 sir, while installing in gpu version i am having this issue sirImportError: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/iot/miniconda3/envs/tf2/lib/python3.9/site-packages/scipy/optimize/_highs/_highs_wrapper.cpython-39-x86_64-linux-gnu.so) please resolve it and this would be great help

  • @user-pc8tr9pf8t
    @user-pc8tr9pf8t Год назад

    Thank you for amazing tutorial!

  • @beetrandahiya2992
    @beetrandahiya2992 2 месяца назад +1

    I'm getting errors with tf.keras.experimental thing during test at 13:40
    did someone else have the same issue?

  • @hankarnold9920
    @hankarnold9920 Месяц назад +1

    Thanks!

  • @BeLKa4444
    @BeLKa4444 12 дней назад

    just thank you

  • @keithsoriano1083
    @keithsoriano1083 Год назад +3

    Hello, great tutorial! I'm stuck at the part of 24:28.
    The errors:
    1. can't open file
    2. [Errno 2] No such file or directory
    Any thoughts on this? Thank you.

    • @teniolatemidayo7438
      @teniolatemidayo7438 Год назад

      Same I am stuck here too

    • @BharadwajChukkala
      @BharadwajChukkala 8 месяцев назад

      try this.. python .\detect_from_image.py -m .\ssd_mobilenet_v2_320x320_coco17_tpu-8\saved_model -l ..\.\data\mscoco_label_map.pbtxt -i ..\.\test_images
      generally this is due to the argument pointing to a different location. see the difference in directories between where the py file is and the labemap and test images are.
      i am executing that command from this location in my terminal: \Tensorflow\models
      esearch\object_detection\utils>
      my directory structure is like this:
      object_detection
      | - data
      | | - mscoco_label_map.pbtxt
      | - test_images
      | - utils
      | | - ssd_mobilenet_v2_320x320_coco17_tpu-8
      | | | - saved_model
      | | | - checkpoint
      | | - ssd_mobilenet_v2_320x320_coco17_tpu-8.tar.gz
      | | - detect_from_image.py
      | | - model_downloader.py

    • @nkyau445
      @nkyau445 4 месяца назад

      hey @keithsoriano1083 you can solve this by delete 1 equal sign before the ssd_efficient.det. etc python model_main_tf2.py --pipeline_config_path=ssd_efficientdet_d0_512x512_coco17_tpu-8.config --model_dir==training --alsologtostderr. Hope this one helps

  • @Tech_Talks_By_Marsh
    @Tech_Talks_By_Marsh 2 месяца назад

    thanks for everything , but i did not find any images in the output folder after executing command, what can be the possible cause ?

  • @shahriaralom4547
    @shahriaralom4547 4 месяца назад

    thank so you sir, please make some detailed up to date videos of tensorflow 2.16.1 installation and bug fixing and serving model through app of server to app. and also cuda cudnn path setting and all, thanks in advance

  • @biswanthpinnika7149
    @biswanthpinnika7149 Год назад +1

    That was a nice explanation thank you

    • @LazyTech825
      @LazyTech825  Год назад

      Thanks for watching!

    • @divyamadineni715
      @divyamadineni715 2 месяца назад

      @@LazyTech825 sir, while installing in gpu version i am having this issue sirImportError: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/iot/miniconda3/envs/tf2/lib/python3.9/site-packages/scipy/optimize/_highs/_highs_wrapper.cpython-39-x86_64-linux-gnu.so) please resolve it and this would be great help

  • @amalnawawi56
    @amalnawawi56 Год назад

    Thanks for the tutorial it's a life saver!!!!!!!

    • @LazyTech825
      @LazyTech825  Год назад

      Glad it helped! I have another video about making your own model coming out soon too!

  • @andi4016
    @andi4016 10 месяцев назад

    I have a gpu on my PC but everytime I try to install tensorflow-gpu==2.10.0 ( is giving me an error) and if I try to install through conda it installs tensorflow-gpu=2.6 ( but I have tensorflow 2.10) so what should I do?
    Thank you

  • @hellteen9475
    @hellteen9475 11 дней назад

    can it install on macos?

  • @kaansevinc6182
    @kaansevinc6182 Год назад

    Hi first thanks you helped me alot!! one question why do you make two anaconda env. second is tf_cpu but you open the first in pycharm?

  • @ameer-alahmadi
    @ameer-alahmadi Год назад

    I still get this error:
    ModuleNotFoundError: No module named 'tensorflow.contrib'

  • @thingsandstuff825
    @thingsandstuff825 Год назад

    great tutorial!

  • @notanormie268
    @notanormie268 Год назад

    It works thank you ❤❤

  • @SamuelGerardCacnio
    @SamuelGerardCacnio Год назад +1

    Thanks for putting this together. I tried running detect_from_image with the command "python detect_from_image.py -m ssd_mobilenet_v2_coco_2018_03_29/saved_model/ -l data/mscoco_label_map.pbtxt -i test_images" (seemed to not find the files using your original format, so I ended up changing the \'s and whatnot.)
    I got an error on the line "output_dict = model(input_tensor)" saying "Autotrackable object is not callable"
    Any explanation/fix would be much appreciated.
    Found the fix: "output_dict = model(input_tensor)" --> output_dict = model.signatures['serving_default'](input_tensor)

    • @teniolatemidayo7438
      @teniolatemidayo7438 Год назад

      Question can u help I have like your error too

    • @SamuelGerardCacnio
      @SamuelGerardCacnio Год назад

      @@teniolatemidayo7438 Unfortunately, I ended up reinstalling (found I had version incompatibilities between TF, CUDA, and cuDNN) everything but never ran into this error afterward for some reason even though I didn't put the above change back.

  • @muhammadzulnaim1492
    @muhammadzulnaim1492 8 месяцев назад

    from tensorflow.python.keras.layers.preprocessing import image_preprocessing as image_ops
    ModuleNotFoundError: No module named 'tensorflow.python.keras.layers.preprocessing'
    how to solve this error im stuck 2 days

  • @Putt-Putt
    @Putt-Putt Год назад

    Thank you so much. Now could you help me direct to the next step where I can custom train my own dataset?
    Instead of detecting dogs, people and kites, how can I instead detect what I want to detect? Like my boxes or pencils?

    • @LazyTech825
      @LazyTech825  Год назад

      My more recent videos show you how to make a custom dataset!

  • @cb407
    @cb407 Год назад +1

    Amazing video!! Such a great explanation with clarity. If possible will you please make a video on custom object detection using tf2. I tried to follow your custom object detection videos from the year 2020. But I'm not able to use tf2 using the same process.

    • @LazyTech825
      @LazyTech825  Год назад +1

      Thanks for watching! And yes! I plan on making a video for custom models!

    • @cb407
      @cb407 Год назад +1

      @@LazyTech825 Please do!! It will help a lot. Can you please take objects something like previous videos like - people with masks and no masks in a picture, video....

    • @ajarivas72
      @ajarivas72 Год назад

      Incredible video. I feel my computer skills just gave a quantum leap in other dimension

  • @am-pt3cw
    @am-pt3cw 10 месяцев назад

    Great video! It helped me a lot! THANKS!

  • @ahmediftikhar3398
    @ahmediftikhar3398 Год назад

    Hi i want to use my gpu for training can you guide for that

  • @durgasaranyudk7130
    @durgasaranyudk7130 Год назад +2

    I got this error at 13:27, can you please help, thanks!
    C:\Users\user\models
    esearch>python object_detection/builders/model_builder_tf2_test.py
    Traceback (most recent call last):
    File "C:\Users\user\.conda\envs\tf2\Lib\site-packages\object_detection\models\ssd_efficientnet_bifpn_feature_extractor.py", line 36, in
    from official.legacy.image_classification.efficientnet import efficientnet_model
    ModuleNotFoundError: No module named 'official.legacy'
    During handling of the above exception, another exception occurred:
    Traceback (most recent call last):
    File "C:\Users\user\models
    esearch\object_detection\builders\model_builder_tf2_test.py", line 24, in
    from object_detection.builders import model_builder
    File "C:\Users\user\.conda\envs\tf2\Lib\site-packages\object_detection\builders\model_builder.py", line 70, in
    from object_detection.models import ssd_efficientnet_bifpn_feature_extractor as ssd_efficientnet_bifpn
    File "C:\Users\user\.conda\envs\tf2\Lib\site-packages\object_detection\models\ssd_efficientnet_bifpn_feature_extractor.py", line 38, in
    from official.vision.image_classification.efficientnet import efficientnet_model
    File "C:\Users\user\.conda\envs\tf2\Lib\site-packages\official\vision\image_classification\efficientnet\efficientnet_model.py", line 37, in
    from official.vision.image_classification import preprocessing
    File "C:\Users\user\.conda\envs\tf2\Lib\site-packages\official\vision\image_classification\preprocessing.py", line 25, in
    from official.vision.image_classification import augment
    File "C:\Users\user\.conda\envs\tf2\Lib\site-packages\official\vision\image_classification\augment.py", line 31, in
    from tensorflow.python.keras.layers.preprocessing import image_preprocessing as image_ops
    ModuleNotFoundError: No module named 'tensorflow.python.keras.layers.preprocessing'

    • @jonhaxhikadrija885
      @jonhaxhikadrija885 Год назад

      You may need to update the Tensorflow 'pip install --upgrade tensorflow', and try it again. If doesn't work again check if there is a conflict with more than one Tensorflow version with 'pip list | grep tensorflow'. Hope it helps.

    • @enrico_ml95
      @enrico_ml95 7 месяцев назад

      Hi, for those who are experiencing the same issue, I tried to create a conda env with a Pyhton version 3.10 and then it worked

    • @imamhanafi7458
      @imamhanafi7458 День назад

      @@enrico_ml95 i tried 3.10 still didnt work too

    • @imamhanafi7458
      @imamhanafi7458 День назад

      @durgasaranyudk7130 did you solve this?

  • @mvjjain5013
    @mvjjain5013 Год назад +2

    Hi. Cool video, thx. I keep on getting ERROR: Could not build wheels for pycocotools, which is required to install pyproject.toml-based projects, at 11:48. Could you please help?

    • @LazyTech825
      @LazyTech825  Год назад +1

      Thanks for watching! Try running 'pip install pycocotools' - if that doesn't work try 'pip install git+github.com/philferriere/cocoapi.git#egg=pycocotools^&subdirectory=PythonAPI'

    • @mvjjain5013
      @mvjjain5013 Год назад

      @@LazyTech825 Typing pip install pycocotools gives me Building wheel for pycocotools (pyproject.toml) did not run successfully.
      │ exit code: 1
      ╰─> [16 lines of output], while pip install git + link returns an ERROR: Cannot unpack file, after it says that pip is being invoked by an old script wrapper. Any advice? Thx.

    • @mvjjain5013
      @mvjjain5013 Год назад

      wait... was I supposed to run these commands inside anaconda, or in a normal command prompt outside it? Because I did the second.

    • @LazyTech825
      @LazyTech825  Год назад

      Yes do it in conda and see if that works, everything should be done in that conda environment

    • @mvjjain5013
      @mvjjain5013 Год назад +1

      ​@@LazyTech825 Hi! Okay, so everything's working now! Your tutorial's have been really helpful. (I subscribed and upvoted both). I still have two questions though - I hope you won't mind me asking. I'm running the TensorFlow Code on an MS Surface, and since I have 2 cameras, do you know how I would choose which one I want to see the webcam-detection on? Also, do you know how I could go about training my own model?
      Thanks!

  • @jjukjjik
    @jjukjjik Год назад +1

    Hi Sir, I got an error at this step 24:28, it said:
    from object_detection.utils import ops as utils_ops
    ModuleNotFoundError: No module named 'object_detection'
    and then i found that in these 3 .py files (in object_detection\utils folder)
    from object_detection.utils import ops as utils_ops
    from object_detection.utils import label_map_util
    from object_detection.utils import visualization_utils as vis_util
    the libraries called "six.moves" and "tensorflow.compat.v1" seems like these libraries didn't install yet. But i do the pip list and conda list, the "six" already installed, but the "tensorflow.compat.v1" doesn't have in the list. I have no idea how to fix this problem. Please help me, thank you.

    • @LazyTech825
      @LazyTech825  Год назад

      You can try manually installing it with ‘conda install tensorflow.compat.v1’

    • @jjukjjik
      @jjukjjik Год назад

      It’s not work…

    • @LazyTech825
      @LazyTech825  Год назад

      It looks like it can't find object_detection, try starting from the beginning and make sure you do the setup.py steps. If you miss that step it won't recognize the package

    • @adamdangerfield
      @adamdangerfield Год назад +1

      I had the same issue trying to run it in py charm, setup like the video. I switched back to the anaconda propt and run the python .\detect_from_image\.... from the object_detection directory and it worked. I'm guessing I've set up something incorrectly py charm.

    • @teniolatemidayo7438
      @teniolatemidayo7438 Год назад

      @@adamdangerfieldsame problem did u fix your yet

  • @ameer-alahmadi
    @ameer-alahmadi Год назад

    Great tutorial! can you please explain how to train such models such models like Mobilenetv SSD on custom dataset. Thanks.

    • @LazyTech825
      @LazyTech825  Год назад +1

      Yes! On my channel I have another video showing how to do that which is part of this tutorial series!

    • @ameer-alahmadi
      @ameer-alahmadi Год назад

      ​@@LazyTech825 Thanks a alot, I will see that then.

  • @_Tristy_
    @_Tristy_ 10 месяцев назад

    Thanks for the great video. I have a question, does anyone have experience implementing this on a PI 4 ? Especially Anaconda are difficult to install and Protobuf is difficult to change the system variables?
    Thanks for the help

    • @LazyTech825
      @LazyTech825  9 месяцев назад

      Check out my video on Tensorflow Lite for raspberry pi

  • @abraralharbi6835
    @abraralharbi6835 Год назад +1

    Thank you, can you please help me to solve this problem (" ERROR: Cannot install object-detection and object-detection==0.1 because these package versions have conflicting dependencies")

    • @LazyTech825
      @LazyTech825  Год назад +1

      what part of the process does this happen? what command did you run where this error comes up?

    • @abraralharbi6835
      @abraralharbi6835 Год назад

      @@LazyTech825python -m pip install .

    • @abraralharbi6835
      @abraralharbi6835 Год назад +2

      Thank you for kindness, I fixed the problem 👍

    • @sailikhith9316
      @sailikhith9316 Год назад

      @@abraralharbi6835 how did you solve this error please help

    • @sailikhith9316
      @sailikhith9316 Год назад

      @@LazyTech825 i got the same error and am not able to resolve please help

  • @paulspiccia7487
    @paulspiccia7487 Год назад

    This was great, one issue which has made me pause though is CUDA. This didnt work with CUDA out of the box. I played around with cudnn, CUDA, and these commands: print("Num GPUs Available: ", len(tf.config.list_physical_devices('GPU')))
    print(tf.test.is_built_with_cuda()) Finally after following a guide i found online i was able to get the is built with cuda to return true, only issue is the number of gpu's available was stuck at 0.
    Absolutely frustrating. I've spent all day getting this to work and big thanks to your tutorial for getting this far (although i still encountered about 3 issues which I had to overcome - not your fault though!), but I dont want to run tensorflow on CPU....so im thrilled to have got this far and disappointed that CUDA is such a pain in the ass to get working.
    If you could come out with another guide to replace your last 25min video on setting this up, or a way to get it working once its been setup, that would be incredible. I have tried changing cuda versions, using tensorflow-gpu, changing cudnn to align with the cuda versions, and more...
    Absolute pain in the ass to get working.

  • @harshwardhan8771
    @harshwardhan8771 Год назад

    Getting requirements to build wheel ... error
    error: subprocess-exited-with-error
    × Getting requirements to build wheel did not run successfully.
    │ exit code: 1
    ╰─> [62 lines of output] i am getting this error can you please tell what can be the fix ?

    • @enrico_ml95
      @enrico_ml95 7 месяцев назад +1

      Got the same issue. Before running setup.py, I installed Cython with a version

  • @LeIsaiahsss
    @LeIsaiahsss Год назад

    ERROR: Could not build wheels for pycocotools, which is required to install pyproject.toml-based projects
    I got this error whenever I try to install the setup python program. is there a way to fix this issue?

    • @LazyTech825
      @LazyTech825  Год назад +1

      Try running 'pip install pycocotools' - if that doesn't work try 'pip install git+github.com/philferriere/cocoapi.git#egg=pycocotools^&subdirectory=PythonAPI'

    • @jonascampos3567
      @jonascampos3567 Год назад

      @@LazyTech825 I tried to do this, but i got this error "Cannot unpack file" and "cannot detect archive format" and "ERROR: Cannot determine archive format"

  • @tristanmenzel4392
    @tristanmenzel4392 10 месяцев назад

    Hey, thanks a lot for your video.
    I have a small question, would it be possible to install TF2 as shown here in the video also on a Raspberry Pi 4 with 8GB ? Does anyone have experience with this ?
    Thanks for the help

    • @LazyTech825
      @LazyTech825  10 месяцев назад

      I believe you’ll have to use tflite, which is a version of tensorflow made for mobile and small devices - thinking of making a video about this

  • @user-jl8dm5vq5j
    @user-jl8dm5vq5j 9 месяцев назад +2

    There are lot of compatibility issues !

  • @patis.IA-AI
    @patis.IA-AI 5 месяцев назад

    Merci beaucoup c est super

  • @kratos_gaming9765
    @kratos_gaming9765 Год назад

    python -m pip install while doing this one i got a error that, ignored following bcause of different python version

    • @LazyTech825
      @LazyTech825  Год назад

      You can probably do it with a different python version

    • @TRENTINATERx2000
      @TRENTINATERx2000 Месяц назад

      For future people I have yet to see or hear of anyone who got object detection working with any python newer than 3.9.x.

  • @adityarajhonraopatil4453
    @adityarajhonraopatil4453 Год назад

    could you please increase the font size on cmd, struggled with most commands

  • @jacsonwang3255
    @jacsonwang3255 10 месяцев назад

    You should use a larger font size when making videos, 720 quality is still very blurry

  • @maysalsayed2343
    @maysalsayed2343 3 месяца назад

    does this work on raspberry pi 4?

    • @LazyTech825
      @LazyTech825  3 месяца назад

      Checkout my video for tensorflow lite on raspberry pi

    • @maysalsayed2343
      @maysalsayed2343 3 месяца назад

      @@LazyTech825 yes i tried to use it,but it gives me an error, there's no web camera,i use raspberry pi 4 ,os 64 bit,bookworm,with pi camera module 3

  • @muhammadadityahastapratama5783
    @muhammadadityahastapratama5783 8 месяцев назад

    thankyou!

  • @santomy4579
    @santomy4579 Год назад

    thank you

  • @MarkFrexelAlvarez
    @MarkFrexelAlvarez 5 месяцев назад

    C:\Users\MATSTRIX\anaconda3\envs\tf2\python.exe: can't open file 'C:\Users\MATSTRIX\Projects\tf2\detect_from_images.py': [Errno 2] No such file or directory
    i'm literally stuck for days in this error.

  • @kratos_gaming9765
    @kratos_gaming9765 Год назад

    its showing git is not recognised as a command
    what to do?

    • @LazyTech825
      @LazyTech825  Год назад

      Do you have git installed?

    • @kratos_gaming9765
      @kratos_gaming9765 Год назад

      @@LazyTech825 no i didnt but now i did and its working thankss

  • @kratos_gaming9765
    @kratos_gaming9765 Год назад

    also in the test one it shows absl modulenotfounderror

    • @aureydeguzman5361
      @aureydeguzman5361 Год назад

      I have this one as well, did you ever get to fixing it?

  • @efecankaratut9638
    @efecankaratut9638 Год назад

    Can I do all of this without anaconda ?

    • @LazyTech825
      @LazyTech825  Год назад

      You can, but it might be harder to do

    • @efecankaratut9638
      @efecankaratut9638 Год назад

      @@LazyTech825 Thank you sir, can I ask u some question next time for my project

  • @seyf633
    @seyf633 9 месяцев назад

    is trhere anyone who could do the second part in macOS

  • @ProISA534
    @ProISA534 Год назад

    HOW! PYTHON DOESN"T UNDERSTAND, where it is located
    (tf_py37) C:\Users\Sarvar\Desktop\ODAPI\models
    esearch\object_detection>python detect_from_image.py -m ssd_mobilenet_v2_320x320_coco17_tpu-8\saved_model -l .\data\mscoco_label_map.pbtxt -i .\test_images
    Traceback (most recent call last):
    File "detect_from_image.py", line 10, in
    from object_detection.utils import ops as utils_ops
    ModuleNotFoundError: No module named 'object_detection'

    • @BharadwajChukkala
      @BharadwajChukkala 8 месяцев назад

      try this.. python .\detect_from_image.py -m .\ssd_mobilenet_v2_320x320_coco17_tpu-8\saved_model -l ..\.\data\mscoco_label_map.pbtxt -i ..\.\test_images
      generally this is due to the argument pointing to a different location. see the difference in directories between where the py file is and the labemap and test images are.
      i am executing that command from this location in my terminal: \Tensorflow\models
      esearch\object_detection\utils>
      my directory structure is like this:
      object_detection
      | - data
      | | - mscoco_label_map.pbtxt
      | - test_images
      | - utils
      | | - ssd_mobilenet_v2_320x320_coco17_tpu-8
      | | | - saved_model
      | | | - checkpoint
      | | - ssd_mobilenet_v2_320x320_coco17_tpu-8.tar.gz
      | | - detect_from_image.py
      | | - model_downloader.py

    • @maysalsayed2343
      @maysalsayed2343 6 месяцев назад

      @@BharadwajChukkala i tried it , but it doesn't work, does it work with you totally?

    • @comicnerd9770
      @comicnerd9770 5 месяцев назад

      Yes
      Depends on the trees structure u have. Send a git link to ur code and i’ll take a look at it.

    • @maysalsayed2343
      @maysalsayed2343 5 месяцев назад

      @@comicnerd9770 thank you , i restarted everything from the beginning and it's solved now

  • @LuFFy.TaRo_
    @LuFFy.TaRo_ Год назад +1

    PLEASE HELP , STUCK AT THIS FOR 2 DAYS .........................................
    Collecting pyyaml=5.1 (from tf-models-official>=2.5.1->object-detection==0.1)
    Using cached PyYAML-5.4.1.tar.gz (175 kB)
    Installing build dependencies: started
    Installing build dependencies: finished with status 'done'
    Getting requirements to build wheel: started
    Getting requirements to build wheel: finished with status 'error'
    error: subprocess-exited-with-error
    Getting requirements to build wheel did not run successfully.
    exit code: 1

    • @RajarshiBangal
      @RajarshiBangal 4 месяца назад

      i got the same error. did you find any solution, beacuse I really can use the help

    • @zahranuranisah
      @zahranuranisah 4 месяца назад

      I also have the same error:( have you find the solution yet??

    • @shazmahussain3395
      @shazmahussain3395 3 месяца назад

      Got the same issue. Before running setup.py, I installed Cython with a version

    • @shazmahussain3395
      @shazmahussain3395 3 месяца назад

      @@RajarshiBangal
      Got the same issue. Before running setup.py, I installed Cython with a version

  • @dk_x.095
    @dk_x.095 5 месяцев назад

    anyone get error in13min.
    error - WARNING:tensorflow:From C:\Users\DK\.conda\envs\tf2\Lib\site-packages\keras\src\losses.py:2976: The name tf.losses.sparse_softmax_cross_entropy is deprecated. Please use tf.compat.v1.losses.sparse_softmax_cross_entropy instead.

  • @janjoshuaaus9478
    @janjoshuaaus9478 Год назад

    just watched this tutorial and encountered "ImportError: cannot import name 'builder' from 'google.protobuf.internal'". can i get a fix?

  • @tiktokolosh
    @tiktokolosh Год назад

    Goodluck if you have an M1 chip, no training for you. Getting " contrib" does not exist at the testing stage because apparently TF2 does not have a tf.contrib equivalent. docs.google.com/spreadsheets/d/1FLFJLzg7WNP6JHODX5q8BDgptKafq_slHpnHVbJIteQ/edit#gid=0