PyUpgrade 3.8 updates (#13289)
* PyUpgrade 3.8 updates Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> * Auto-format by https://ultralytics.com/actions --------- Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
1 parent
e8a30cf820
commit
f44db01005
4 files changed
+4
-4
No files matched your search
+1
-1
@@ -147,7 +147,7 @@ def run(
|
||||
save_path = str(save_dir / p.name) # im.jpg
|
||||
txt_path = str(save_dir / "labels" / p.stem) + ("" if dataset.mode == "image" else f"_{frame}") # im.txt
|
||||
|
||||
s += "%gx%g " % im.shape[2:] # print string
|
||||
s += "{:g}x{:g} ".format(*im.shape[2:]) # print string
|
||||
annotator = Annotator(im0, example=str(names), pil=True)
|
||||
|
||||
# Print results
|
||||
|
||||
Reference in new issue
Block a user