unsky / FPN

Feature Pyramid Networks for Object Detection
522 stars 263 forks source link

怎样生成log文件 #99

Open jjprincess opened 5 years ago

jjprincess commented 5 years ago

博主你好,我想请问一下训练/测试用的.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 commented 5 years ago

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