简体   繁体   English

python3: 无法打开文件 'model_main_tf2.py': [Errno 2] 没有那个文件或目录

[英]python3: can't open file 'model_main_tf2.py': [Errno 2] No such file or directory

I've been tried to training model with tensorflow on google colab.我已经尝试在 google colab 上使用 tensorflow 训练模型。 This is the script code i've been tried to run这是我尝试运行的脚本代码

!python model_main_tf2.py --model_dir=models/my_ssd_resnet50_v1_fpn --pipeline_config_path=models/my_ssd_resnet50_v1_fpn/pipeline.config

but then i got this error:但后来我收到了这个错误:

python3: can't open file 'model_main_tf2.py': [Errno 2] No such file or directory

anyone know what should i do?有谁知道我该怎么办?

Pls.请。 Give the complete path to the model_main_tf2.py Or run from the directory which contains this file.提供 model_main_tf2.py 的完整路径或从包含此文件的目录运行。 It seems this file is not present in the directory from where you are running this command.您运行此命令的目录中似乎不存在此文件。

you need to compile you proto repo to create from .proto -> .py files with protoc object_detection/protos/*.proto --python_out=.你需要编译你的 proto repo 以从 .proto -> .py 文件与 protoc object_detection/protos/*.proto --python_out= 创建。

you need to install protoc!你需要安装protoc! it's programming language https://forums.developer.nvidia.com/t/problem-to-use-tensorflow-object-detection-api-solved/65379它是编程语言https://forums.developer.nvidia.com/t/problem-to-use-tensorflow-object-detection-api-solved/65379

暂无
暂无

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

相关问题 无法打开文件 'main.py': [Errno 2] 没有那个文件或目录 - Can't open file 'main.py': [Errno 2] No such file or directory Python3:无法打开文件'sherlock.py' [Errno 2] 没有这样的文件或目录 - Python3: can't open file 'sherlock.py' [Errno 2] No such file or directory python3: 无法打开文件 '/app/manage.py': [Errno 2] 没有那个文件或目录 - python3: can't open file '/app/manage.py': [Errno 2] No such file or directory python:无法打开文件'main.py':[Errno 2]没有这样的文件或目录-docker - python: can't open file 'main.py': [Errno 2] No such file or directory - docker 尝试使用 Tensorflow Object 检测 API train.py 文件或 model_main_tf2.py 时出错 - Error while trying to use Tensorflow Object Detection API train.py file or model_main_tf2.py Dockerfile:无法打开文件'./main.py':[Errno 2]没有这样的文件或目录 - Dockerfile: can't open file './main.py': [Errno 2] No such file or directory 找不到 >python scraper.py - 无法打开文件“scraper.py”:[Errno 2] 没有这样的文件或目录 - Cant find >python scraper.py - can't open file 'scraper.py': [Errno 2] No such file or directory 无法打开文件'file.py':[Errno 2] 没有这样的文件或目录 - Can't open file 'file.py': [Errno 2] No such file or directory 无法打开文件“import.py”:[Errno 2] 没有这样的文件或目录 - can't open file 'import.py' :[Errno 2] No such file or directory 无法打开文件'menu.py':[Errno 2]没有这样的文件或目录 - Can't open file 'menu.py': [Errno 2] No such file or directory
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM