You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are facing this issue : (
from object_detection import model lib_v2
ImportError: cannot import name 'model_lib_v2' from 'object_detection' (C:\Users\darsh\AppData\Local\Programs\Python\Python37\lib\sie-packages\object_detection_init_.py)
)
In order to resolve this issue we manually moved the model_lib_v2 in object detection folder.
The issue gets resolved but another error pops out that goes like " no module named pycocotools " , to rectify this erro we tried cloning the git repo of pycocotools but during cloning it throws an error " failed building wheel for pycocotools ".
We tried approximately every solution available on internet to rectify this error and still not able to resolve this issue please help us out.
The text was updated successfully, but these errors were encountered:
pycocotools requires c++ build tool version >=14.0
install visual studio build tools: https://visualstudio.microsoft.com/downloads/?q=build+tools
select the desktop C++ development checkbox (the first one) and install the build tools,(restart your PC)
while installing the object detection API
cd Tensorflow/models/research
python -m pip install --user .
don't forget '--user 'or it will give an error
We are facing this issue :
(
from object_detection import model lib_v2
ImportError: cannot import name 'model_lib_v2' from 'object_detection' (C:\Users\darsh\AppData\Local\Programs\Python\Python37\lib\sie-packages\object_detection_init_.py)
)
In order to resolve this issue we manually moved the model_lib_v2 in object detection folder.
The issue gets resolved but another error pops out that goes like " no module named pycocotools " , to rectify this erro we tried cloning the git repo of pycocotools but during cloning it throws an error " failed building wheel for pycocotools ".
We tried approximately every solution available on internet to rectify this error and still not able to resolve this issue please help us out.
The text was updated successfully, but these errors were encountered: