Skip to content

Commit 2f8cd11

Browse files
fix(pre_commit): 🎨 auto format pre-commit hooks
1 parent a344f68 commit 2f8cd11

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

roboflow/adapters/rfapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import json
22
import os
33
import urllib
4-
from typing import List, Optional, Dict, Union
4+
from typing import Dict, List, Optional, Union
55

66
import requests
77
from requests.exceptions import RequestException

roboflow/core/version.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,13 @@ def live_plot(epochs, mAP, loss, title=""):
424424
else:
425425
if len(epoch_ids) > 0:
426426
title = (
427-
title + ": Epoch: " + str(epoch_ids[-1]) + " mAP: " + str(mAP[-1]) + " loss: " + str(loss[-1])
427+
title
428+
+ ": Epoch: "
429+
+ str(epoch_ids[-1])
430+
+ " mAP: "
431+
+ str(mAP[-1])
432+
+ " loss: "
433+
+ str(loss[-1])
428434
)
429435
if not first_graph_write:
430436
write_line(title)

0 commit comments

Comments
 (0)