2018年4月3日星期二

darkflow开启tensorboard

summary文件夹是存储TensorBoard日志的地方。但是,#518开始,TensorBoard日志默认处于禁用状态,因此summary除非手动启用TensorBoard日志,否则不应再看到该文件夹已创建。

需要修改一行代码,改为红色。



@@ -12,7 +12,7 @@ def setDefaults(self):
self.define('dataset', '../pascal/VOCdevkit/IMG/', 'path to dataset directory')
self.define('labels', 'labels.txt', 'path to labels file')
self.define('backup', './ckpt/', 'path to backup folder')
- self.define('summary', './summary/', 'path to TensorBoard summaries directory')
+ self.define('summary', '', 'path to TensorBoard summaries directory')
self.define('annotation', '../pascal/VOCdevkit/ANN/', 'path to annotation directory')
self.define('threshold', -0.1, 'detection threshold')
self.define('model', '', 'configuration of choice')


训练完毕后在terminal输入 tensorboard  --logdir=path/summary/train

1 条评论:

  1. 你好,想请问下 我之前训练了很多个模型,想看其中一种的话我应该怎么输入指令?

    回复删除

Failed to find TIFF library

ImportError: Failed to find TIFF library. Make sure that libtiff is installed and its location is listed in PATH|LD_LIBRARY_PATH|.. 解决方法: ...