配置好tensorflow后需要调用tensorboard作为pytorch的可视化工具.
启动tensorboard后报错:
ValueError: A logdir must be specified when db is not specified. Run `tensorboard --help` for details and examples.
然后发现是logdir前少打了一个"-".
即tensorboard -logdir=runs应为tensorboard --logdir=runs
遇到此报错,先看看命令拼写是否错误,少-或者logdir拼错都会出现,挺白的这个问题.