如何在重新训练前删除 tensorflow 模型 [英] how to delete tensorflow model before retraining

查看:97
本文介绍了如何在重新训练前删除 tensorflow 模型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法使用新图像重新训练我的图像分类器,出现以下错误:

I can't retrain my image classifier with new images, I get the following error:

断言错误:导出目录已存在.请指定不同的导出目录:/tmp/saved_models/1/

AssertionError: Export directory already exists. Please specify a different export directory: /tmp/saved_models/1/

如何覆盖或删除它?我似乎无法在磁盘上找到它的位置.

How do I overwrite this or delete it? I can't seem to find it's location on the disk.

推荐答案

只需删除 c:\tmp 或 d:\tmp 目录.取决于 python 的安装位置.

just delete c:\tmp or d:\tmp Dir. Depends on where python is installed.

这篇关于如何在重新训练前删除 tensorflow 模型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆