Skip to content

Commit

Permalink
Add more infos
Browse files Browse the repository at this point in the history
  • Loading branch information
roflmaostc committed Jun 4, 2024
1 parent 4c3af60 commit 69606b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ function log_time(x)
start_time[] .= time()
last_time[] .= time()
end
@info "Iteration:\t$(x[end].iteration),\t total time:\t$(round(time()-start_time[][1], digits=2))s,\ttime since last iteration:\t$(round(time()-last_time[][1], digits=2))s"
@info "Iteration:\t$(x[end].iteration),\t total time:\t$(round(time()-start_time[][1], digits=2))s,\ttime since last iteration:\t$(round(time()-last_time[][1], digits=2))s, loss value: $(round(x[end].value, digits=4))"

last_time[] .= time()
return false
Expand Down

0 comments on commit 69606b8

Please sign in to comment.