例如:

#!/bin/bash

 

#LOG="examples/mnist/lenet_log_mylog"

LOG="LOG/log.txt.`date +'%Y-%m-%d_%H-%M-%S'`"#包含运行日期
exec &> >(tee -a "$LOG")
echo Logging output to "$LOG"

 

./build/tools/caffe train --solver=examples/mnist/lenet_solver.prototxt

相关文章:

  • 2021-09-04
  • 2021-12-02
  • 2022-02-16
  • 2021-12-11
  • 2022-12-23
  • 2022-12-23
  • 2021-09-08
  • 2021-07-11
猜你喜欢
  • 2021-10-29
  • 2022-12-23
  • 2021-08-10
  • 2022-12-23
  • 2021-09-08
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案