Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

怎样生成log文件 #99

Open
jjprincess opened this issue Oct 31, 2018 · 1 comment
Open

怎样生成log文件 #99

jjprincess opened this issue Oct 31, 2018 · 1 comment

Comments

@jjprincess
Copy link

博主你好,我想请问一下训练/测试用的.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文件,希望博主能够解答一下,感谢!

@unsky
Copy link
Owner

unsky commented Nov 5, 2018

使用nohup >train.log命令,这个和caffe没关系,搜索一下相关用法。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants