错误
在已训练好的YOLOv5模型上用tensorboard查看模型相关信息时,使用到了命令
tensorboard --logdir=runs
会出现错误,详见如下所示!
No dashboards are active for the current data set.
Probable causes:
You haven’t written any data to your event files.
TensorBoard can’t find your event files.
If you’re new to using TensorBoard, and want to find out how to add data and set up your event files, check out the README and perhaps the TensorBoard tutorial.
If you think TensorBoard is configured properly, please see the section of the README devoted to missing data problems and consider filing an issue on GitHub.
Last reload: May 9, 2023, 3:35:50 PM
Log directory: runs
解决办法
使用命令
tensorboard --logdir=F:\PycharmProjects\yolov5-5.0\runs\train\exp15
这里的“ F:\PycharmProjects\yolov5-5.0\runs\train\exp15 ”为日志文件绝对地址
在PyCharm终端执行该条命令后,成功解决问题!!!!!