-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
invalid numeric argument '/Wno-cpp' #51
Comments
See #9 . They will not provide windows support for some reason |
That engage in wool |
anyone knows how to solve this problem? |
After tons of digging I've found a way to make it work: Steps
|
@TonyNgo1 THANK YOU! |
https://github.com/philferriere/cocoapi cocoapi with windows support |
@TonyNgo1 |
@LongruiDong Unfortunately that's the same thing I have and it works on my machine. I was also able to compile it by removing the line completely ie:
So you could try that too. I assume the system determines how to compile if |
Thanks to the tips from @TonyNgo1 I managed to get through this. I didn't need any
One final link error was a bit stranger: |
I made a repo to support To support Windows x64 build with Microsoft Visual C++ 9.0 standalone: Visual C++ Compiler for Python 2.7: |
@TonyNgo1 Sorry, I got an error like this: |
Solved.
|
Try replacing extra_compile_args=['-Wno-cpp', '-Wno-unused-function', '-std=c99'] with extra_compile_args={'gcc': ['/Qstd=c99']} in coco/pycocotools/setup.py. And then run python setup.py install again |
How to run "make" command |
It works man, thanks! |
Hey guys! Here's how I fixed it-
Thanks to the above guys for help! |
I am working in COLAB and when I start training this show-up, Please Help. WARNING:tensorflow:From object_detection/model_main.py:109: The name tf.app.run is deprecated. Please use tf.compat.v1.app.run instead. WARNING:tensorflow:From /gdrive/My Drive/object_detection/models/research/object_detection/utils/config_util.py:102: The name tf.gfile.GFile is deprecated. Please use tf.io.gfile.GFile instead. W0404 19:26:53.064985 140220757751680 module_wrapper.py:139] From /gdrive/My Drive/object_detection/models/research/object_detection/utils/config_util.py:102: The name tf.gfile.GFile is deprecated. Please use tf.io.gfile.GFile instead. Traceback (most recent call last): |
according to cocodataset#51
Any chance original author can update for pycocotools 2.0.1? |
Issue Resolved: Write: pip install pycocotools-windows Python 3.7.6 |
None of them worked for me. After setting this: |
After I run setup.py I encounter this:
cl : Command line error D8021 : invalid numeric argument '/Wno-cpp'
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
I have all C++ tools installed and have updated my pip and setuptools.
python 3.5.2
Anaconda 64 bit
The text was updated successfully, but these errors were encountered: