我有一堆这些错误,我处于死胡同.
在谷歌找到了大量的答案,但不幸的是他们都没有工作
我正在使用Visual Studio 2012.
它说的无法找到的所有文件都在我的计算机上
C:\Program Files\Microsoft Visual Studio 11.0\VC\include
Run Code Online (Sandbox Code Playgroud)
即使我右键单击include语句并单击"打开文档",它也会将我带到文档中,因此它显然在那里可以看到
我尝试将目录添加到选项中的"其他目录"字段,但没有解决它.
如果我使用带有完整路径的include语句,如下所示:
#include <C:\Program Files\Microsoft Visual Studio 11.0\VC\include\math.h>
Run Code Online (Sandbox Code Playgroud)
然后是有效的,但如果math.h文件有任何include语句,我还需要添加它们的路径,依此类推.
任何想法发生了什么,我还能尝试什么?
编辑:尝试从头开始创建一个新项目,看看是否有帮助.我有可能触及了我不应该拥有的设置
我是机器学习的新手,已经开始使用配备 GeForce GTX 540M 的 Windows 8.1 电脑。我按照本教程开始使用对象检测模型。我构建了自己的数据集并尝试按照教程对其进行训练,但使用“ssd_mobilenet_v1_coco_2017_11_17”模型。但是无法成功执行,因为我在使用教程中给出的“train.py”文件时遇到了麻烦。
所以我用谷歌搜索,发现我们必须使用“model_main.py”来训练模型。在尝试使用“model_main.py”进行训练时,出现此错误:
"ImportModuleError: No module named 'pycocotools' was found"
所以我尝试从这个链接安装 cocoapi 。我按照给定的说明进行操作,但遇到了下面显示的错误,我尝试了很多解决方案,但没有任何效果。任何帮助都感激不尽。
(tensorflow1) C:\tensorflow1\models\research\object_detection>pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI
Collecting git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI
Cloning https://github.com/philferriere/cocoapi.git to c:\users\home\appdata\l
ocal\temp\pip-req-build-76t4e6ys
Building wheels for collected packages: pycocotools
Running setup.py bdist_wheel for pycocotools ... error
Complete output from command c:\users\home\anaconda3\envs\tensorflow1\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Home\\AppData\\Local\\Temp\\pip-req-build-76t4e6ys\\PythonAPI\\setup.py';f=getattr(tokenize, 'open',open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d C:\Users\Home\AppData\Local\Temp\pip-wheel-4_r37hm6 --python-tag cp36:
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.6
creating build\lib.win-amd64-3.6\pycocotools
copying pycocotools\coco.py …
Run Code Online (Sandbox Code Playgroud)