Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -27,12 +27,12 @@ image_path = [['test_images/2a998cfb0901db5f8210.jpg','cham_diem_yolov8', 640, 0
|
|
27 |
['test_images/ee106392e56837366e79.jpg','cham_diem_yolov8', 640, 0.25, 0.45], ['test_images/f88d2214a4ee76b02fff.jpg','cham_diem_yolov8', 640, 0.25, 0.45]]
|
28 |
|
29 |
# Load YOLO model
|
30 |
-
|
31 |
# model = YOLO('linhcuem/chamdiemgianhang_yolov8_300epochs')
|
32 |
# model = YOLO('linhcuem/chamdiemgianhang_yolov8_ver21')
|
33 |
# model = YOLO('linhcuem/cham_diem_yolov8_ver20')
|
34 |
# model_ids = ['linhcuem/checker_TB_yolov8_ver1', 'linhcuem/cham_diem_yolov8', 'linhcuem/chamdiemgianhang_yolov8_300epochs', 'linhcuem/cham_diem_yolov8_ver20', 'linhcuem/chamdiemgianhang_yolov8_ver21']
|
35 |
-
model = YOLO('linhcuem/checker_TB_yolov8_ver1')
|
36 |
# current_model_id = model_ids[-1]
|
37 |
# model = YOLO(current_model_id)
|
38 |
# model = YOLO(model_path)
|
|
|
27 |
['test_images/ee106392e56837366e79.jpg','cham_diem_yolov8', 640, 0.25, 0.45], ['test_images/f88d2214a4ee76b02fff.jpg','cham_diem_yolov8', 640, 0.25, 0.45]]
|
28 |
|
29 |
# Load YOLO model
|
30 |
+
model = YOLO('linhcuem/cham_diem_yolov8')
|
31 |
# model = YOLO('linhcuem/chamdiemgianhang_yolov8_300epochs')
|
32 |
# model = YOLO('linhcuem/chamdiemgianhang_yolov8_ver21')
|
33 |
# model = YOLO('linhcuem/cham_diem_yolov8_ver20')
|
34 |
# model_ids = ['linhcuem/checker_TB_yolov8_ver1', 'linhcuem/cham_diem_yolov8', 'linhcuem/chamdiemgianhang_yolov8_300epochs', 'linhcuem/cham_diem_yolov8_ver20', 'linhcuem/chamdiemgianhang_yolov8_ver21']
|
35 |
+
# model = YOLO('linhcuem/checker_TB_yolov8_ver1')
|
36 |
# current_model_id = model_ids[-1]
|
37 |
# model = YOLO(current_model_id)
|
38 |
# model = YOLO(model_path)
|