You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there need add writer.iteration += 1 and modifiy the writer.add_scalars(metric_name, {mode: metric_batch}, writer.iteration) as the orginal code is not pass in writer.iteration?
Beacause I find that the tensorboard generating figures in valid set have no valid acc and fps curve rather a single point.
The text was updated successfully, but these errors were encountered:
Hi, I know this is old issue, but I found the solution to this, as you said it's not taking the writter iteration right, but it's because it's not adding it to the writer, so the line :
writer.add_scalars(metric_name, {mode: metric})
Change it for:
writer.add_scalars(metric_name, {mode: metric}, writer.iteration)
Hope it's not too late to help or if the devs can make this change.
Hi, I know this is old issue, but I found the solution to this, as you said it's not taking the writter iteration right, but it's because it's not adding it to the writer, so the line : writer.add_scalars(metric_name, {mode: metric}) Change it for: writer.add_scalars(metric_name, {mode: metric}, writer.iteration) Hope it's not too late to help or if the devs can make this change.
facenet-pytorch/models/utils/training.py
Line 134 in 555aa4b
Is there need add
writer.iteration += 1
and modifiy thewriter.add_scalars(metric_name, {mode: metric_batch}, writer.iteration)
as the orginal code is not pass inwriter.iteration
?Beacause I find that the tensorboard generating figures in valid set have no valid acc and fps curve rather a single point.
The text was updated successfully, but these errors were encountered: