python - Object_Detection 在张量流中不起作用
问题描述
我是张量流的新手,我训练了面罩模型并在网络摄像头上进行了尝试,但它显示了这样的内容。
任何人都可以帮我解决这个问题,我使用了大约 100 多张图像和 2-3 小时的训练,我做错了任何人都可以帮助我。
使用的最后 2 个 cmd
python train.py --train_dir=training/ --pipeline_config_path=training/ssd_mobilenet_v1_pets.config --logtostderr
python export_inference_graph.py --input_type image_tensor --pipeline_config_path training/ssd_mobilenet_v1_pets.config --trained_checkpoint_prefix training/model.ckpt-0 --output_directory new_graph
解决方案
您使用的training/model.ckpt-0
是模型开始训练后的第一个检查点,您需要使用保存在training
文件夹中的最后一个检查点。
推荐阅读
- excel - 彭博 - 刷新工作簿如何调用
- typescript - TypeScript typeof 和类构造函数问题
- python - 未显示在 Azure 中部署的 Django 应用
- java - 如何使用 mongodb api Java 检索集合名称?
- javascript - 如何在 Jekyll 3 中为 rouge 指定自定义语言解析器别名?
- r - 如何为不同的插入符号训练模型绘制 AUC ROC?
- java - 如何在休眠状态下更新?
- javascript - 尚未验证显示的字段时如何禁用多步表单中的下一步按钮
- sql-server - SSDT 参考 msdb 系统表
- svelte - Svelte (routify) + rollup:不关注 /static 中的 css 变化