Comments (8)
I mean, when you run
python setup.py build_ext --inplace
You should be inside the directory that setup.py was in.
from faster-rcnn-tensorflow-python3.
I had the same problem.
from faster-rcnn-tensorflow-python3.
Stay ‘building 'pycocotools._mask' extension’ for a long time.
from faster-rcnn-tensorflow-python3.
you should go to the directory, to build the mask file. cd to the setup.py folder.
from faster-rcnn-tensorflow-python3.
C:\Users\Sunny>F:
F:>cd F:\python3\Faster-RCNN-TensorFlow-Python3.5-master\data\coco\PythonAPI\
F:\python3\Faster-RCNN-TensorFlow-Python3.5-master\data\coco\PythonAPI>F:\python3\python setup.py build_ext --inplace
running build_ext
building 'pycocotools._mask' extension
cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IF:\python3\lib\site-packages\numpy\core\include -I../common -IF:\python3\include -IF:\python3\include /Tcpycocotools/_mask.c /Fobuild\temp.win-amd64-3.6\Release\pycocotools/_mask.obj
error: command 'cl.exe' failed: No such file or directory
According to what you said, the result of my operation is as above, there are still problems,please guide
from faster-rcnn-tensorflow-python3.
C:\Users\Sunny>F:
F:>cd F:\python3\Faster-RCNN-TensorFlow-Python3.5-master\data\coco\PythonAPI\
F:\python3\Faster-RCNN-TensorFlow-Python3.5-master\data\coco\PythonAPI>F:\python3\python setup.py build_ext --inplace
running build_ext
building 'pycocotools._mask' extension
cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IF:\python3\lib\site-packages\numpy\core\include -I../common -IF:\python3\include -IF:\python3\include /Tcpycocotools/_mask.c /Fobuild\temp.win-amd64-3.6\Release\pycocotools/_mask.obj
error: command 'cl.exe' failed: No such file or directoryAccording to what you said, the result of my operation is as above, there are still problems,please guide
same question ,have you solved it?
from faster-rcnn-tensorflow-python3.
Please help me to solve these issues:-
After running below command:-
python model_main.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_thali.config
I am getting Error message:-
from object_detection.metrics import coco_tools
File "C:\ProgramData\Anaconda3\envs\venv_obj_gpu2\lib\site-packages\object_detection-0.1-py3.6.egg\object_detection\metrics\coco_tools.py", line 51, in <module>
from pycocotools import coco
ModuleNotFoundError: No module named 'pycocotools'
To solve this I put pycocotools folder in object_detection directory then this error was gone but new error came
_mask file not found
To solve this I thought of run a command :
I copied PythonAPI in model/research/ from official cocoapi folder
PWD: model/research
python PythonAPI/setup.py build_ext install
then I got different error:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64/link.exe not found.
but file is there.
I am using python 3.6 on Windows 10 with Tensorflow gpu 1.12
as per the official doc is provided we need to put pycocotools folder into research directory of Model
but not working.
Please suggest me any way to overcome this.
from faster-rcnn-tensorflow-python3.
Please help me to solve these issues:-
After running below command:-python model_main.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_thali.configI am getting Error message:-
from object_detection.metrics import coco_tools File "C:\ProgramData\Anaconda3\envs\venv_obj_gpu2\lib\site-packages\object_detection-0.1-py3.6.egg\object_detection\metrics\coco_tools.py", line 51, in <module> from pycocotools import coco ModuleNotFoundError: No module named 'pycocotools'
To solve this I put pycocotools folder in object_detection directory then this error was gone but new error came
_mask file not foundTo solve this I thought of run a command :
I copied PythonAPI in model/research/ from official cocoapi folder
PWD: model/researchpython PythonAPI/setup.py build_ext install
You don't need any additional file. Make sure to follow all steps in the README, above all the 4th.
then I got different error:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64/link.exe not found.
but file is there.
This error is caused by Visual studio, search on the net your error (after trying to follow my previous advice).
from faster-rcnn-tensorflow-python3.
Related Issues (20)
- how use resnet to train fasterrcnn ? HOT 3
- Didn't get the checkpoint file HOT 2
- ResourceExhaustedError when allocating HOT 1
- 'NoneType' is not iterable: error during training HOT 9
- Unable to find vcvarsall.bat HOT 7
- TypeError: argument of type 'NoneType' is not iterable HOT 1
- AttributeError: 'NoneType' object has no attribute 'astype' HOT 1
- convert the ckpt model to pb model
- if v.name.split(':')[0] in var_keep_dic: TypeError: argument of type 'NoneType' is not iterable HOT 3
- InvalidArgumentError (see above for traceback): Incompatible shapes: [64,8] vs. [0,8]
- [Summary of the question]How to test the model after training? I can't find the .py to test the model.
- AttributeError: module 'lib' has no attribute 'datasets'
- Feature extracted network HOT 1
- How to draw the Recall-IoU curve?
- ModuleNotFoundError: No module named 'lib.utils.cython_bbox' HOT 4
- how to change the number of anchors? HOT 1
- KeError:Chair
- 怎么融合faster rcnn中第一层和第五层的特征作为第五层的输出?
- 请问怎样对视频目标进行检测?
- KeyError: 'image'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from faster-rcnn-tensorflow-python3.