简体   繁体   English

在Windows中导出等效项以使用Tensorflow对象检测API

[英]Export equivalent in windows for using Tensorflow object Detection API

I've been trying to install Tensorflow Object Detection API, and I've encountered the following error: 我一直在尝试安装Tensorflow对象检测API,但遇到以下错误:

import error :no module named ' nets ' and the solution is by setting the python path like this :export PYTHONPATH=$PYTHONPATH:`pwd`:`pwd`/slim

But what is the equivalent of this in Windows? 但是,在Windows中这相当于什么呢?

这应该工作:

set PYTHONPATH=$PYTHONPATH:`../tensorflow/model`:`../tensorflow/models/slim`

To solve the error: ModuleNotFoundError: No module named 'nets' . 解决该错误: ModuleNotFoundError: No module named 'nets'

In Windows , go to models-master\\models-master\\research\\slim directory and run the following command in CMD: Windows中 ,转到models-master\\models-master\\research\\slim 目录 ,然后在CMD中运行以下命令:

python setup.py install

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM