我有一个像这样的长文本文件:
I0927 11:33:18.534551 16932 solver.cpp:244] Train net output #0: loss = 2.61145 (* 1 = 2.61145 loss) I0927 11:33:18.534620 16932 sgd_solver.cpp:106] Iteration 20, lr = 0.001 I0927 11:33:33.221546 16932 solver.cpp:228] Iteration 40, loss = 0.573027 I0927 11:33:33.221771 16932 solver.cpp:244] Train net output #0: loss = 0.573027 (* 1 = 0.573027 loss) I0927 11:33:33.221851 16932 sgd_solver.cpp:106] Iteration 40, lr = 0.001 I0927 11:33:47.883162 16932 solver.cpp:228] Iteration 60, loss = 0.852016 I0927 11:33:47.884717 16932 solver.cpp:244] Train net output #0: loss = 0.852016 (* 1 = 0.852016 loss) I0927 11:33:47.884812 16932 sgd_solver.cpp:106] Iteration 60, lr = 0.001 I0927 11:34:02.543320 16932 solver.cpp:228] Iteration 80, loss = 0.385975 I0927 11:34:02.543442 16932 solver.cpp:244] Train net output #0: loss = 0.385975 (* 1 = 0.385975 loss) I0927 11:34:02.543514 16932 sgd_solver.cpp:106] Iteration 80, lr = 0.001 I0927 11:34:17.297544 16932 solver.cpp:228] Iteration 100, loss = 0.526758 I0927 11:34:17.297659 16932 solver.cpp:244] Train net output #0: loss = 0.526758 (* 1 = 0.526758 loss) I0927 11:34:17.297722 16932 sgd_solver.cpp:106] Iteration 100, lr = 0.001 I0927 11:34:31.962934 16932 solver.cpp:228] Iteration 120, loss = 0.792767
我想提取以下信息
[ Iteration, Train net output, lr ]
并将它们放在 MATLAB 中的一个单元格中。
你能指导我怎么做吗?