如何自动仅在Tensorboard中查看上次运行的结果?

时间:2018-09-21 04:43:13

标签: python tensorboard

我发现所有以前的运行都在Tensorboard中混合在一起,这使得很难看到最新结果。我知道我可以编写一个正则表达式来过滤运行。但是,为了查看最后一次运行,我仍然每次必须编写正则表达式。

enter image description here

我只想删除所有以前的运行,而只看到最后一次运行的结果。因此,我编写了一些Python代码,每次运行程序时都会删除$a = App\Employee::with('grades')->find(15); 。然后我得到了错误:

logdir

Tensorboard似乎正在使用C:\Python36\python.exe I:/github_repos/botrainer/train.py Traceback (most recent call last): File "I:/github_repos/botrainer/train.py", line 227, in <module> util.clear_tmp_dir() File "I:\github_repos\botrainer\util.py", line 70, in clear_tmp_dir os.remove(os.path.join(fileList[0], name)) PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'runs\\Sep21_11-24-23_MININT-744QCB7\\events.out.tfevents.1537500263.MININT-744QCB7' Process finished with exit code 1 ,因此无法将其删除。我必须手动停止Tensorboard进程。删除文件夹。然后重新启动Tensorboard。是非常低效的。有没有更简单的方法来自动仅在Tensorboard中查看上一次运行?谢谢。

0 个答案:

没有答案