Skip to content

Commit

Permalink
Merge pull request #313 from venkatram-dev/fix_box_loss_error
Browse files Browse the repository at this point in the history
fix_box_loss_error
  • Loading branch information
grzegorz-roboflow committed Sep 17, 2024
2 parents 66bbe0d + c4d65ac commit db89776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roboflow/core/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ def live_plot(epochs, mAP, loss, title=""):
mAP = np.array([float(epoch["mAP"]) for epoch in models["roboflow-train"]["epochs"]])
loss = np.array(
[
(float(epoch["box_loss"]) + float(epoch["class_loss"]) + float(epoch["obj_loss"]))
sum(float(epoch[key]) for key in ["box_loss", "class_loss", "obj_loss"] if key in epoch)
for epoch in models["roboflow-train"]["epochs"]
]
)
Expand Down

0 comments on commit db89776

Please sign in to comment.