Update main.py
Browse files
main.py
CHANGED
@@ -10,7 +10,7 @@ from ultralytics import YOLO
|
|
10 |
# Initialize your model
|
11 |
def init_context(context):
|
12 |
context.logger.info('Init context... 0%')
|
13 |
-
model = YOLO('
|
14 |
context.user_data.model_handler = model
|
15 |
context.logger.info('Init context...100%')
|
16 |
|
|
|
10 |
# Initialize your model
|
11 |
def init_context(context):
|
12 |
context.logger.info('Init context... 0%')
|
13 |
+
model = YOLO('best.pt')
|
14 |
context.user_data.model_handler = model
|
15 |
context.logger.info('Init context...100%')
|
16 |
|