Skip to content

怎样生成log文件 #99

Description

@jjprincess

博主你好,我想请问一下训练/测试用的.sh脚本文件中,怎样生成log文件,在一般的caffe工程中可以使用
GLOG_logtostderr=0 GLOG_log_dir=$xxx/Log/test/ \ 命令生成,但是我在你写的test.sh中加入了这个命令还是无法生成log,不知道是否是因为前者是使用的caffe本身的test去训练的($caffe_root/build/tools/caffe test \)而你的工程中是调用的一个脚本训练的(time tools/test_net.py --gpu ${GPU_ID} \ )。
问题:
如何在你写的.sh中生成log文件,希望博主能够解答一下,感谢!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions