Issues with Using TensorBoard
Q7nl1s admin

EN

Startup Command (in the parent directory of the log folder, usually the current project directory)

1
tensorboard --logdir "log folder name"

It can be used both in an activated environment and an unactivated environment.

image-20230906123454549

The prerequisite is that there must be at least one log folder containing valid data in the runs/logs folder. Folders with files around 1k in size usually indicate that they have been created but no data has been written to them yet.

image-20230906123859103

If all the log folders contain only such files, the following error will definitely occur after startup:

image-20230906123526380

If there is at least one folder with content written to it, it will look like this:

image-20230906124131648

Note: The file directory is as follows

image-20230906124215869




CN

启动命令(在日志文件夹地址的上级目录,一般为当前项目地址目录)

1
tensorboard --logdir "日志文件夹名称"

经测试,激活的环境下和未激活的环境下都可使用

image-20230906123454549

前提是在该runs/logs文件夹下,必须至少有一个日志文件夹中存在有效数据,像下面这种1k的一般都是创建了但还没有向其中写入数据的

image-20230906123859103

如果其中全部都是这样内容的日志文件夹,则启动后一定会有下面报错

image-20230906123526380

如果存在一个文件夹有内容写入,则会像下面这样

image-20230906124131648

注:文件目录如下

image-20230906124215869

 Comments
Comment plugin failed to load
Loading comment plugin
Powered by Hexo & Theme Keep
Unique Visitor Page View