Python未能创建NewWriteableFile(tensorflow.Python.framework.errors\u impl.NotFoundError:未能创建NewWriteableFile:)

2024-04-20 04:22:05 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在试用TensorFlow 2.0对象检测API,当我试图导出推理图时,我得到一个错误,声明tensorflow.python.framework.errors_impl.NotFoundError: Failed to create a NewWriteableFile: .\exported-models\my_mobilenet_model\checkpoint\ckpt-0_temp_8cca890901704d9b9c1a0c5e959235fc/part-00000-of-00001.data-00000-of-00001.tempstate144711528486123721 : The system cannot find the path specified. ; No such process [Op:SaveV2]

我运行命令:python .\exporter_main_v2.py --input_type image_tensor --pipeline_config_path .\models\my_ssd_mobilenet_v2_fpnlite\pipeline.config --trained_checkpoint_dir .\models\my_ssd_mobilenet_v2_fpnlite\ --output_directory .\exported-models\my_mobilenet_model

我在运行命令的目录中确实有一个文件夹名exported models


Tags: ofpath命令configmodelpipelinemodelsmy
1条回答
网友
1楼 · 发布于 2024-04-20 04:22:05

整个路径长度有一个限制(<;260)。请。检查您保存模型的路径,如果您能创建如上所示的文件夹,您可以手动尝试,如果不能,请。尝试将输出目录更改为另一个短路径

相关问题 更多 >