Linux下操作
1. 将loss值存储到lossInf.txt中
fName1='loss.txt' cat loss.log | grep "solver.cpp:218] Iteration" | awk '{print $9}' > $fName1
2. Python画出loss曲线
fName2=./loss.txt
python show_loss_curve.py $fName2 || exit 1
Linux下操作
1. 将loss值存储到lossInf.txt中
fName1='loss.txt' cat loss.log | grep "solver.cpp:218] Iteration" | awk '{print $9}' > $fName1
2. Python画出loss曲线
fName2=./loss.txt
python show_loss_curve.py $fName2 || exit 1