TFFRCNN demo模型加载测试

 

  • .data-00000-of-00001和.index保存了所有的weights、biases、gradients等变量, .meta保存了图结构, checkpoint文件是个文本文件,里面记录了保存的最新的checkpoint文件以及其它checkpoint文件列表

  • 保存训练模型:

    • 建立一个Saver对象

    • 设置保存模型的个数

      • 默认为5,保存最近 5个 模型

      • 也可以每训练一个epoch就保存一次模型

    • 保存模型

  • 模型恢复

    •  官方git给出了解答https://github.com/CharlesShang/TFFRCNN/issues/47

    • You can add it/replace in the demo.py , just after the parsing of the args. Then give the path to an existing model file e.g :

      • python ./faster_rcnn/demo.py --model dir_model_path/model.ckpt.meta

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值