Это видео недоступно.
Сожалеем об этом.
How to Install TensorFlow Object Detection in 2020 (Webcam and Images!)
HTML-код
- Опубликовано: 8 июл 2020
- Hey guys welcome back, Ben again! Today i'm going through the process step by step to get Google's TensorFlow Object Detection API working in 2020. If you've ever tried to do this before you've most likely followed sentdex's tutorials. While they are great and I personally use them, the object detection series is out of date in some places so I made this video using all the tips and tricks i've learned trying to make his tutorial work.
I've seen people have problems with jupyter, pycocotools, computer vision 2, tf_slim, protobuf, and more. I made sure to include all the fixes i've personally done so that others can hopefully fix their installations also.
pycocotools fix - 14:07
Run object detection on your local computer - 16:14
Using a webcam - 21:11
Install cv2 - 22:06
Commands:
o pip install TensorFlow==1.15 lxml pillow matplotlib jupyter contextlib2 cython tf_slim
o git clone github.com/ten...
o protoc object_detection/protos/*.proto --python_out=.
o python setup.py build
o python setup.py install
o pip install pycocotools (or) pip install git+github.com/phi...^&subdirectory=PythonAPI
Websites Used:
Sentdex RUclips Channel: / sentdex
Official TensorFlow Github: github.com/ten...
My Object Detection Github: github.com/Ben...
Protoc download page: github.com/pro...
cv2 download page: www.lfd.uci.ed...
I have a Tensorflow 2 tutorial out now! Check it out here: ruclips.net/video/rRwflsS67ow/видео.html
For the people who get an error for the installing tensorflow , you need the create the environment with the "conda create -n myenv python=3.7". Because it is need this version of Python. It worked for me.
Tx mate, it works!
olur gibi oldu ama hala hata alıyorum, sen yapabildin mi?
@@atillaonder1527 Evet
@@Lafontein protoc kısmında kaldım, nasıl yaptığını hatırlıyor musun?
how do we do it
Awesome video! The savior for programmers that started learning Object Detection in 2020 :D
Thanks! I hoped for this video to be useful for people just starting out, wish someone else made this when I learned!
Thanks for this vid, by the way. Got your example running. Super awesome to see people updating such convoluted or outdated instructions.
Thanks! Hoped it would help
protoc is not showing that warning and i am in research folder can anyone help !!
Hey, just want to say, this was great and super helpful! Thanks!
I managed to train objects in Google Colabs but it's a PITA.
Thanks for this, I'd much rather have it on my machine even though it's not as fast.
There is now integration on Tensorflow 2 for Object detection. The process seems easier and better integrated but as I'm an Android/ Java developer I don't know how (yet!) to implement my own code. Hopefully with TF2 there is no conflicts which inevitably occur on TF1x.
I skipped through the LabelImg video as I'm already past this stage but look forward to your third video in the series.
I’ll have to look into TF2, hopefully when I go over google collab training next time I can simplify the process! It took some time to learn how to setup but now I use it all the time since I don’t have a compatible gpu
Hey, so at 6:38 when it comes to compiling protoc, I'm not getting that warning that you say is essential and I'm not really sure what to do. i have followed this video step by step up until that point, so I doubt I've missed anything before. its in the right environment as well. if you could help solve this issue, that would be great. thanks
I face the same problem.
I have exactly the same problem.
try this : go to the folder
esearch\object_detection\protos then open the file input_reader.proto and add this line after the package command: import "object_detection/protos/image_resizer.proto"; including the quotation marks and the semicolon. fixed it for me.
@@retrohead THANK YOU!
@@retrohead Thank you, It works
Love the TensorFlow object detection playlist. please make more Deep learning computer vision videos.
Hi. I have error with third cell in Jupyter. Command 'b'cd models/research/
protoc object_detection/protos/*.proto --python_out=.
'' returned non-zero exit status 1.
I ran same code in prompt and it did nothing visible, but still, didn`t raise any error. How can I fix it?
Aww!!! this is what i have been searching for
That’s great to hear!
AWESOME ! TNX A LOT. There is a lot bugs and issues with tensorflow 2. And other libraries. Couldnt figure out how to do without stupid errors.
oh my gosh I was just having problems with this the other day when I was planning my heist for world domination. Lol
had some open cv errors with the webcam, used
pip uninstall opencv-python-headless
pip uninstall opencv-python
pip install opencv-python
and this worked for me
Awesome tutorial! I've been following it step by step, but when I get to the command python setup.py install, half way through it, it exits with a fatal errors, saying Math.h: no such file or directory. I've been struggling with it for a while and nothing works. 🙁 Any ideas?
If anyone is in the same situation, I finally managed to solve it by uninstalling and re-installing the Visual C++ 2015 build tools.
@@hellhammervs For anyone that is looking for the missing "setup.py" file that he builds and installs, it is as of writing this comment, located in the .../models/research/object_detection/packages/tf1 folder. Copy it into research folder and you should be able to continue with the guide.
@@ashishjha8630 thanks mate! works
@@ashishjha8630 thank you it solves it :)
hi
Thank you!
protoc object_detection/protos/*.proto --python_out=. nothing is showing after i enter this command. And yes i m in research directory
did you find a solution? I'm having the same issue - I'm in research, the exe is pasted in it too, but im not getting anything show
@@mishaalnaeem6135 +1 :(
i have the same problem :/
same problem here. Did you already try this one:"Please check the research/object_detectio/protos/input_reader proto file.In here after the package line add the import “object_detection/protos/image_resizer.proto”; someone had deleted it from the original file.worked for me"?
@@MBassa Brooooo you da real MVP
/bin/bash: line 2: protoc: command not found
I am getting this error and do not get the warning when I compile the protoc and I do have the protoc in the research folder. Is there any solution to this? Protoc version 3.4
I ran into the same issue but followed the presenter's instructions carefully and finally overcame this issue (now running into some new issues, however). (1) After copying/Git cloning/unzipping, be sure to move or copy manually or via cmd prompt (cp command) the protoc.exe file from the default 'bin' folder into the '../models/research' folder. (2) Then in the Anaconda Prompt window, when you're in that '..\models
esearch' directory, run the protoc command again. It should work. Good luck. (My problem was a small typo!)
I'm getting the same error on Jupyter notebook. Did you find a solution? Thanks
@@alimagzari7656 yeah added .exe in the colab tutorial where it was failing... just was directing to the wrong path. Once u fix it there youre able to save it and continue on
@@zachsmith8762 could you please share the command line?
Hey, I am getting the below listed error:
ERROR: Could not find a version that satisfies the requirement TensorFlow==1.15 (from versions: 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4, 2.2.0, 2.3.0rc0, 2.3.0rc1, 2.3.0rc2, 2.3.0)
ERROR: No matching distribution found for TensorFlow==1.15
What do I have to do now?
I am not sure is it correct, but maybe you should try create virtual enviroment with parameter python==3.7. As I read, python 3.8 do not support tensorflow 1.x, so you should try with previous version. Actually it works for me.
u use python 3.8, delete lastest version and download 3.7
from object_detection.protos import string_int_label_map_pb2
ModuleNotFoundError: No module named 'object_detection'
what problem with above depiction😥
I added protoc in my research file but once I do the command it says command not found. What should I do?
You need to put the protoc.exe in this folder "C:\Users\URNAME\AppData\Local\Programs\Python\Scripts" (Replace the URNAME with your name)
guys for the protoc command there is no necessity of the warning. if your files in protos folder gets the python file that means the command has been executed
Thanks man, it's helped me a lot! Appreciate that.
Hello there. I seem to face this problem on anaconda prompt regarding pip. " 'pip' is not recognized as an internal or external command,
operable program or batch file." This is what it shows.
Thanks alot this helped me alot for my project!!!
Thank you for video. It is very helpful! I have a question about the model config file. In that file, there are some lines like eval_config, and eval_input_reader. Those eval means validation during the train? or test the model?
i have followed all the steps, but i m opening jupyter notebook in 'object', it shows 'kernel error'. how i can fix this?
"pip install opencv-python" to install cv2 you do not have to install the wheel file
Sometimes this works, sometimes it doesn’t - give it a try!
thank you, I had problems with the wheel file but this worked out easily
great tutorial ben. Many Thanks.
hello I have problem with the tensorflow models git. it seems the contents of it from when you created the video is not the same now (2021). please help
Thank you it works perfectly
Hi, I'm following your project and accidentally ran into a problem. What version of python were you using in this video, may I ask?
python3.7
I like your video so much. Thank you for your work!
Can you please also talk about Mac? I am stuck on the pycocotools installation :(.
I use pip install git+@t^&subdirectory=PythonAPI
The message shows error is in the log file names
Unfortunately I do not know the process for Mac. If the command i provided did not work try this one: pip install git+github.com/waleedka/cocoapi.git#egg=pycocotools&subdirectory=PythonAPI
Thank you, this was incredibly helpful for my school project!
ERROR: Could not find a version that satisfies the requirement TensorFlow==1.15 (from versions: 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4, 2.2.0, 2.2.1, 2.2.2, 2.3.0rc0, 2.3.0rc1, 2.3.0rc2, 2.3.0, 2.3.1, 2.3.2, 2.4.0rc0, 2.4.0rc1, 2.4.0rc2, 2.4.0rc3, 2.4.0rc4, 2.4.0)
ERROR: No matching distribution found for TensorFlow==1.15
i am getting this error can u please help
Downgrade your python version
TensorFlow 2.0.0 -> pip install python==3.6.9
In the jupyter file, when I click cell and run all I get the error NameError: name 'TEST_IMAGE_PATH' is not defined. Does anyone know how to fix this? I followed everything in the video so far
Something that I don't understand is that you said when an error occurs we should make sure we are in the folder x when we do that action but what if we already done the exact same thing that you said and still get the error?
hello, I have 3 doubts
1)Is tensorflow 2.0 gpu version working for object detection.
2)Do we need to create different environments for different projects
3)In practice will the companies or some softwares use these architectures like faster rcnn , mobilnet and yolo etc or do they create their own from scratch neural networks layers .
thanks in advance
1) TensorFlow 2 just added support for object detection (I should be making a video about it in the future) 2) You don't have to create new environments, but it might be a good idea to do so 3) I can't say for sure but it is most likely a mix of both. For example, in my next video coming out soon I show how to make our own dataset using one of the premade models which can save days of time for computation. There is nothing stopping you from making your own from scratch, but this is what most people do
Would u plz provide us with which python version u use? And some people says that it works only with anaconda 32 bit is that true?
I use python 3.7. I’ve been using the 64 bit just fine
@@LazyTech825 Im using thesame version but pip install TensorFlow==1.15 returns
ERROR: Could not find a version that satisfies the requirement TensorFlow==1.15 (from versions: 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4, 2.2.0, 2.3.0rc0, 2.3.0rc1, 2.3.0rc2, 2.3.0)
ERROR: No matching distribution found for TensorFlow==1.15
@@RobbieLikesACDC You are probably using python 3.8, who doesn't support TF 1.X. To fix your problem swap your python version to 3,7 through the command "conda install python=3.7.7 and try again
"NameError: name 'category_index' is not defined", I am getting error on this
Do the custom model next please :D
Just posted a new video about custom models!
Your video is awesome and very helpful but i have a slight error while running the last bit of the object detection tutorial notebook. The error is that the 'autotrackable' object has no attribute 'output_shapes', I have tried searching for online help but ended up lost.. any help here?
same for me if you've solved it?
@@bor77 시간이 지나서 잘 기억이 안나지만 텐서플로우 버전 때문에 생긴 에러인것 같았어요.. ㅜㅜ 기억이 잘 안나네요
you need the updated file there errors in it. updated file is in an issue of github discussions
Hey, Thankyou so much, but on my research folder, there's none of the item that named by setup.py, can you help me? thankyou so much~
setup .py file is in models/official/pip_package directory
@@ScottPoirier thanks !!
Thank you for the video. Excellent. Is there a way to export the detected objects to an excel format. I tried a few solutions available online but not working.
Hey, hope all is well! when the api demo is ran on jupyter notebook, I receive this error for this line of code:
code: (line 24 in api demo)
model_name = 'ssd_mobilenet_v1_coco_2017_11_17'
detection_model = load_model(model_name)
error:
ImportError: cannot import name 'dtensor' from 'tensorflow.compat.v2.experimental' (C:\Users\chris\AppData\Roaming\Python\Python37\site-packages\tensorflow\_api\v2\compat\v2\experimental\__init__.py)
Can't find any solution. I've spent hours on this issue, any help is deeply appreciated, thanks!
Great tutorial. Can you please make video on evaluation metrics of object detection?
Worked great! Thanks a lot
@F O R E M A N yes!
I am in the process of installing the tensorflow API, but then what to do with this message that appears during the installiation "tf-models-official 2.4.0 has requirement tensorflow>=2.4.0, but you'll have tensorflow 1.15.0 which is incompatible."
what should I do, any help please ?
How can I find a protoc for windows 64 version? The protoc used in the video is for windows 32 version and I don't see a protoc for windows 64. How can I work with it? Need help.
The win32 version works both for win32 and win64.
thx for the videos. I follow your video all but I have some errors. when I run webcam.py, there is no webcam with no error message. Just end. And running updated an old example.py, outputs folder is still empty. How can I fix these problem?
I solve it! I was in wrong path! thx!
Hello, I want to print the defined objects to the console. Which variable should I print? could you please help :(
When I run the imports cell, I got the following error, I tried a lot of tutorials and got same can you please help?
ModuleNotFoundError: No module named 'tensorflow.python.tools'
Try this:
pip install -upgrade pip
pip uninstall tensorflow
pip install tensorflow==1.15
@@LazyTech825 it gives me this error: No matching distribution found for tensorflow==1.15
@@yarabanda9639 That's probably because you're using python 3.8, and 1.15 is not supported there. To fix it you can swap to 3.7 version through this command: conda install python=3.7.7
i keep getting the ModuleNotFoundError: No module named 'object_detection.utils'; 'object_detection' is not a package error :/ anyone else facing this problem (macOS)
Yes, facing the same issue. Got any fix for this one ?
At
10:28
I got jupyter is not recognised as internal or external command.
What should I do now?
When i run the updated file i got this - "Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2 " what does this mean any why am I getting this error?
I am getting error ... please help me in resolving this %%bash
cd models/research/
protoc object_detection/protos/*.proto --python_out=.
if you are using windows change for %%cmd
@@koskoski66 This comment needs to be higher. I definitely overlooked this for several hours!
what the difference of tensorflow and yolo
Yolo is another object detection api that generally uses darknet. TensorFlow is a google api which has an object detection api
@@LazyTech825 thank u for the feedback. Im absolute beginner. I dont have much ideas of many things in the video. Like whats the software used to edit the code, what must be installed and y are they chosen. Is there any video by you that start from scratch? Thanks
At the beginning of the video I talk about the software I’m using. Many of the packages you install are needed by the scripts that run the object detection. I don’t think I would be able to go over all of them as I myself don’t know what they all do in depth
any tutorial how to detect keypoint (face landmark) not only bounding box? thank you
Thanks for the tutorial. But I'm getting an error when I run the file "updated_old_example.py". The error is:
ValueError: Protocol message StringIntLabelMapItem has no field frequency.
I have no idea what this means. I'd like some guidance here.
i am not able to download pycoco tools please provide the exact command here
pip install pycocotools-windows
this is for windows users
@@ondereser648 This worked for me!!! since I am a windows user
what can i do if kernel starting, please wait...... when i enter to jupyter to run the object detection api demo¿?
thank you u helped a lot
Hi, I've been getting an error while installing the TensorFlow, the error is :
ERROR: Could not find a version that satisfies the requirement TensorFlow==1.15 (from versions: none)
ERROR: No matching distribution found for TensorFlow==1.15
I don't know why I'm getting this error but it is been happening for other versions also. Please help
@@arkgupta1555 Hello, make sure to have python 3.7 before installing tensorflow, write this in anaconda (in your environment) : conda install python=3.7.0
@@thibautlehmann221, right now I have python 3.9
you can check with version 1.14 instead using 1.15
make sure you're using python 3.7
I am using python 3.8 . Would that work or di i need older version ?
Can you help me to count the number of objects in an image?? is there anything that I can modify in the present code?
PLEASE HELP! Getting tripped by the following bash command in the TF's updated Notebook. I'm a newbie at this. Please dumb it down for me. Thank you in advance. I'm using the object_detection_tutorial model that's currently available on TF's Github. I do have the protoc.exe in the 'research' directory as suggested in the video.
%%bash
cd models/research/
protoc object_detection/protos/*.proto --python_out=.
/bin/bash: line 2: protoc: command not found
(followed by several lines of source code traceback, and a final error message...)
CalledProcessError: Command 'b'cd models/research/
protoc object_detection/protos/*.proto --python_out=.
'' returned non-zero exit status 127.
I'm getting the same error on Jupyter notebook. Did you find a solution? Thanks
How can I modify this code to print the particular class....if I have human, dogs and cat in my data set..... I want only the human to be displayed
and next day he goes skateboarding with his bottle
Hello,
I download the protoc file and copy and paste the protoc.exe from the bin file to the research file. However, when I run the "protoc object_detection/protos/*.proto --python_out=." in the anaconda prompt, I couldn't get it to compile at all. Anybody else face the same problem? Please help asap.
I didn't get the warning :(
Same. Did it work out though?
same
@@mohitthorat288 I worked anyways, but make sure to have the protoc version 3.4 installed
using the comand
"protoc" in the research folder
If you're working from the Anaconda command prompt, and your current directory is in 'research,' run this command: for /f %i in ('dir /b object_detection\protos\*.proto') do protoc object_detection\protos\%i --python_out=. I am using TensorFlow 2.3.0 and following this: tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/install.html#id5
I can't even get pip installed, nor anaconda or tensorflow
fun
if you read this use this command
conda create -n [name] python=[version]
then use this
conda install -c conda-forge tensorflow-gpu
and you will have installed it successfully TensorFlow
after that, if you want to use jupyter notebook u will need to reference your virtual env
write this command in the cmd
python -m ipykernel install --user --name=myenv
after you start jupyter just choose a different kernel, not Python 3 and delete this command pip install -U --pre tensorflow=="2.*" in the example named object_detection_tutorial.ipynb hope I helped
setup.py is in official/pip_package
thanks a lot!
python setup.py build
python: can't open file 'C:\Tensorflow\models
esearch\setup.py': [Errno 2] No such file or directory
I still can't find this file after installing proctoc
setup.py is in \models\official\pip_package directory
Hello sir,
Please i want to build a model for extract the data from card-id using key-pair values please advice me how i can do that
dude when i clicking the object_detection/colab_tutorials/object_detection_tutorial.ipynb I get an 500 : Internal Server Error. WHY this happening ı don't know.
Can't download Tensorflow version 1.15 ...
EDIT: had to say: conda create -n object pip python=3.5
also had to download Visual Studio C++ Workload for pycoco to work on windows
Hi Ben, this was very useful. Mucho appreciato. Any chance you can post the written document you were referring to, at 6:25 mark?
can u please put the link for the colab notebook?
Is it possible to get the coordinates of the object being detected?
I’ve actually been looking into this also. Haven’t had much time yet but this post looks helpful stackoverflow.com/questions/48915003/get-the-bounding-box-coordinates-in-the-tensorflow-object-detection-api-tutorial
@@LazyTech825 Thanks for your fast response sir
I am getting a error saying ERROR: Could not find a version that satisfies the requirement TensorFlow==1.15 (from versions: none)
Make sure you're on a compatible version of python, try using 3.7
excuse me sir, does Esp 32 Cam also can apply to this?
can i use mobilenetv2 as the model ? not the ssd version
Yes
Tfrecords gives the error I have only CPU how can I create the record file in colab .
I am not able to open webcam after running the webcam_detection file
plz anyone help me with this
hay. i appreciate your effort but this video is confusing. you 1st installed ft1.15 after this in tutorial jupyter notebook in 1st cell there is command to install tf2 so you run whole notebook and you are installing tf2 can you elaborate this? Moreover, tf1.5 unable to run tutorial notebook bcz its crating issues while loading weights i also posted error on your github repository. thanks
I dont see where it installs tensorflow 2, if it is in there somewhere that it my mistake it should be using 1.15. Collab doesn't use specific version numbers, so saying 1.15 will switch it to 1.x.x mode
@@LazyTech825 check 1st cell in your jupyter notebook where you can see pip install tensorflow==2*
Does anyone knows how to change the model detection name? Cos I can't seem to be able to.
Hi, can I make it detect only one object that I want and if I can how can I do that (custom data set).
using the webcam (live)
Yes you can do that! I will be making a tutorial soon on how we can make a custom model
Lazy Tech alright thanks
Hey I am getting this problem:ImportError: Traceback (most recent call last):
File "c:\users\pc\anaconda3\envs\objdetect\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 64, in
from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: DLL load failed: The specified module could not be found.
when running the collab example
How to solve this? Can i run tensorflow api without gpu?
yes, tensorflow api can be used using cpu....and try to find the version of tensorflow suitable for the version of python you are using..like tensorflow 2.2 or later require python3.8
Hello
How much fps on 1650 or 1660 or titan 6gb?)
Where do I find the updated_old_example.py?
for the protoc my computer is 64 bit, can i use the one you download ?
yup! win32 supports x32 and x64 I believe
ı cant download the protocols !! it made a cache error what can ı do?
Running into ImportError with utils functions using Ben's .py file. Executing Ben's .py file using Anaconda's Spyder IDE. Using Python 3.7 64-bit version and the Python 3.7 Environment Variable. All dependencies are successfully installed in the virtual environment. protoc command executed successfully (didn't get any errors).
Getting the following error for the line "from utils import label_map_util"
ImportError: cannot import name 'label_map_util' from 'utils' (C:\ProgramData\Anaconda3\lib\site-packages\utils\__init__.py)
Tried changing directory to .../object_detection/utils and making corresponding code changes per stackoverflow, etc. But no matter what I do, the error doesn't go away. Very frustrating to keep stumbling right out of the gate...
You got it fixed?
ERROR: Could not find a version that satisfies the requirement TensorFlow==1.15
ERROR: No matching distribution found for TensorFlow==1.15
I am getting this error
some one please help
same here
do you use anaconda or python because I had the error when I used python
@@kys1721 yes
@@rishikeshborse834 I would recommend you create a virtual env in anaconda
and use this command in it conda install -c conda-forge tensorflow-gpu or this if you cant use the gpu conda install -c conda-forge tensorflow
Hello, I ran the python script from python IDLE(I don't use pycharm.). I got the error ModuleNotFoundError: No module named 'object_detection'
Does your virtual environment of 'object' has anything to do with this? Please help. Thanks.
No, the way I did it with pycharm was set the project directory at a higher folder than the object_detection folder. Doing this makes sure the scripts can find the correct imports
unable to get warning message while running protoc object_detection/protos/*.proto --python_out=. can you please guide
Check out my newest video where this is fixed
@@LazyTech825 sure!
I actually did this before using sentdex's tutorial and it worked like 1 year ago
Now I tried to do this again, no anaconda
python : 3.5
tensorflow version: 1.15
tensorflow gpu with CUDA and cuDNN = 1.15
protoc version : libprotoc 3.4.0
protobuf version : 3.13.0
did everything but I don't get any warning for : protoc object_detection/protos/*.proto --python_out=.
as a matter of fact I dont get any output at all this is what i get
D:\Tensorflow\models
esearch>protoc object_detection/protos/*.proto --python_out=.
D:\Tensorflow\models
esearch>
anyways I went on ahead with your tutorial and at In[5] Imports I got a huge error
Please check the research/object_detectio/protos/input_reader proto file.In here after the package line add the import “object_detection/protos/image_resizer.proto”; someone had deleted it from the original file.worked for me
@@chathurafernando3026 I guess you are right because older version of protoc worked for me
Hi Ben!
First of all, thank you for your videos. Facing the typical problems associated to older versions of nice tutorials like Sentdex ones is shit...
I have one question: You've said that it's advisable to use the 1.15 Tensorflow version, but in the first notebook code cell you're installing Tensorflow 2.X, right? What's the point of installing 1.15 in conda env then?
And in the next code cells you're executing again the command protoc object_detection/protos/*.proto --python_out=., that you had executed before in conda env, right? Is that necessary?
Thank you ;)
I probably left the TF 2.x line in there by accident whoops. Google collab doesn’t care too much about versions so as long as it’s set to TensorFlow 1. I might’ve left that protoc line in there twice but we also have to run it on the collab
@@LazyTech825 Perfect, thanks for the answer ;)
I'm getting the following error while running the updated_old_example.py (I have installed all the packages):
Traceback (most recent call last):
File "C:/Users/Student/OneDrive - University Of Houston/Object-detection/models/research/object_detection/updated_old_example.py", line 15, in
from utils import label_map_util
File "C:\Users\Student\OneDrive - University Of Houston\Object-detection\models
esearch\object_detection\utils\label_map_util.py", line 29, in
from object_detection.protos import string_int_label_map_pb2
ModuleNotFoundError: No module named 'object_detection'
How can this issue be solved?
solved...
run this in your enviroment project
python setup.py build
python setup.py install
I am getting error while converting to tflite