简体   繁体   English

在 Windows 11 上安装 tensorflow 对象检测 API,卡在安装 pycocotools

[英]Installing tensorflow object detection API on Windows 11, stuck on installation of pycocotools

I'm installing tensorflow object detection API on Windows 11, however I'm stuck on the installation of pycocotools.我正在 Windows 11 上安装 tensorflow 对象检测 API,但是我一直在安装 pycocotools。

Screenshot of error message I'm following the tutorial on https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/install.html#tensorflow-installation however I keep getting errors.错误消息的屏幕截图我正在关注https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/install.html#tensorflow-installation上的教程,但是我不断收到错误消息。

The command that is giving me errors is pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI给我错误的命令是 pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI

Please check the link it has a screenshot of the errors请检查链接它有错误的截图

It seems like the basetsd.h file is missing.似乎缺少basetsd.h文件。 Try to download and install Windows 11 SDK from here .尝试从此处下载并安装Windows 11 SDK If you have it installed already, check if windows SDK and the Microsoft Visual C++ are added to system PATH, if not adding them to system PATH will help.如果您已经安装了它,请检查是否将 windows SDK 和 Microsoft Visual C++ 添加到系统 PATH,如果没有将它们添加到系统 PATH 将有所帮助。

As you already have Visual Studio compiler, you will need to install only Developer Tools > Windows Headers and Libraries , which includes missing basetsd.h .由于您已经拥有 Visual Studio 编译器,因此您只需要安装Developer Tools > Windows Headers and Libraries ,其中包括缺少basetsd.h Thanks!谢谢!

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Tensorflow Object 检测 API 与 GPU 安装 - Tensorflow Object Detection API with GPU Installation 无法在Windows上运行Tensorflow对象检测API - Fail to run tensorflow object detection api on windows Windows上的tensorflow对象检测API错误 - tensorflow object detection API Error at windows Best TensorFlow version & Object Detection API version for Object Detection in Windows - Best TensorFlow version & Object Detection API version for Object Detection in Windows 我无法在 Google Colab 中测试 Tensorflow 对象检测 API 的安装 - I cannot test installation of the Tensorflow Object Detection API in Google Colab Windows上具有GPU的Tensorflow对象检测API和实时检测 - Tensorflow Object Detection API with GPU on Windows and real-time detection 没有这样的选项: --use-feature while installing tensorflow object detection api - no such option: --use-feature while installing tensorflow object detection api Windows 上的 Tensorflow 对象检测 API - ImportError:没有名为“object_detection.utils”的模块; “object_detection”不是一个包 - Tensorflow Object Detection API on Windows - ImportError: No module named "object_detection.utils"; "object_detection" is not a package 在Windows上编译协议缓冲区Tensorflow对象检测API - Compiling Protocol Buffers Tensorflow Object Detection API on Windows 在Windows中导出等效项以使用Tensorflow对象检测API - Export equivalent in windows for using Tensorflow object Detection API
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM