运行 官网 tensorboardX demo,tensorboard没有出现PR CURVE。
版本问题!(打开tensorflow安装包tensorboard->plugins->没有出现pr_curve文件夹!)
方法:pip install --upgrade tensorflow==1.5.0
搞定!上图
from tensorboardX import SummaryWriter
# log pr_curve
writer = SummaryWriter()
writer.add_pr_curve('precision_recall_curve', labels, outputs, step)
writer.close()