caffe icon indicating copy to clipboard operation
caffe copied to clipboard

something wrong with tools/extra/plot_training_log.py.example

Open yangtetris opened this issue 9 years ago • 3 comments

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

yangtetris avatar Mar 06 '17 12:03 yangtetris

I want to solve this too..

kimseonho avatar Mar 19 '17 02:03 kimseonho

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"

astroli avatar Mar 23 '17 11:03 astroli

Thanks for reporting this first. Closing as duplicate of #5422 as it is more detailed.

shelhamer avatar Apr 12 '17 00:04 shelhamer