GithubHelp home page GithubHelp logo

Comments (8)

rancheng avatar rancheng commented on July 21, 2024 20

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.

xqxqwps avatar xqxqwps commented on July 21, 2024

I had the same problem.

from faster-rcnn-tensorflow-python3.

xqxqwps avatar xqxqwps commented on July 21, 2024

Stay ‘building 'pycocotools._mask' extension’ for a long time.

from faster-rcnn-tensorflow-python3.

rancheng avatar rancheng commented on July 21, 2024

you should go to the directory, to build the mask file. cd to the setup.py folder.

from faster-rcnn-tensorflow-python3.

sunnyl95 avatar sunnyl95 commented on July 21, 2024

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.

Tju-AI avatar Tju-AI commented on July 21, 2024

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

same question ,have you solved it?

from faster-rcnn-tensorflow-python3.

smartdevices2ai avatar smartdevices2ai commented on July 21, 2024

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.

morpheusthewhite avatar morpheusthewhite commented on July 21, 2024

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

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.