Skip to content

Commit 907c32a

Browse files
committed
Optim code
1 parent ee0be15 commit 907c32a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yolov5_2_coco.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def __init__(self, data_dir):
2828

2929
def __call__(self, mode_list: list):
3030
if not mode_list:
31-
return ValueError(f'mode_list is empty!!')
31+
return ValueError('mode_list is empty!!')
3232

3333
for mode in mode_list:
3434
# Read the image txt.

0 commit comments

Comments
 (0)