美文网首页
[记录]pytorch TensorboardX可视化配置以及使

[记录]pytorch TensorboardX可视化配置以及使

作者: 好吃红薯 | 来源:发表于2019-06-20 16:29 被阅读0次

    http://www.pianshen.com/article/3479170564/

    三种初始化方法:

    from tensorboardX import SummaryWriter
    
    # Creates writer1 object.
    # The log will be saved in 'runs/exp'
    writer1 = SummaryWriter('runs/exp')
    
    # Creates writer2 object with auto generated file name
    # The log directory will be something like 'runs/Aug20-17-20-33'
    writer2 = SummaryWriter()
    
    # Creates writer3 object with auto generated file name, the comment will be appended to the filename.
    # The log directory will be something like 'runs/Aug20-17-20-33-resnet'
    writer3 = SummaryWriter(comment='resnet')
    

    使用技巧:
    https://www.jianshu.com/p/d059ffea9ec0

    相关文章

      网友评论

          本文标题:[记录]pytorch TensorboardX可视化配置以及使

          本文链接:https://www.haomeiwen.com/subject/glejqctx.html