something wrong with tools/extra/plot_training_log.py.example
when i use tools/extra/plot_training_log.py.example, i got
./tools/extra/plot_training_log.py.example 6 examples/mnist/log/save.png examples/mnist/log/my.log
Traceback (most recent call last):
File "./tools/extra/plot_training_log.py.example", line 191, in <module>
plot_chart(chart_type, path_to_png, path_to_logs)
File "./tools/extra/plot_training_log.py.example", line 117, in plot_chart
data = load_data(data_file, x, y)
File "./tools/extra/plot_training_log.py.example", line 88, in load_data
data[1].append(float(fields[field_idx1].strip()))
ValueError: invalid literal for float(): 0.0845537s/100
could you tell me how to fix that, thx
I want to solve this too..
parse_log.sh Line 42 grep ', loss = ' $1 | awk '{print $13}' > aux1.txt
format changed from "solver.cpp:228] Iteration 2000, loss = 5.99603" to "solver.cpp:219] Iteration 104 (0.834028 iter/s, 9.592s/8 iters), loss = 0.421879"
Thanks for reporting this first. Closing as duplicate of #5422 as it is more detailed.