[英]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.