Spaces:
Runtime error
Runtime error
Commit
·
3ae8bf0
1
Parent(s):
726b7df
added logging
Browse files
app.py
CHANGED
@@ -175,8 +175,9 @@ def inference2(video,model_link,iou_threshold,confidence_threshold):
|
|
175 |
return 'output.mp4',np.mean(fps_video)
|
176 |
|
177 |
|
178 |
-
def MODT(sourceVideo, model_link, trackingmethod):
|
179 |
model_path = 'weights/'+str(model_link)+'.pt'
|
|
|
180 |
return MOT(model_path, trackingmethod, sourceVideo), 30
|
181 |
|
182 |
|
|
|
175 |
return 'output.mp4',np.mean(fps_video)
|
176 |
|
177 |
|
178 |
+
def MODT(sourceVideo, model_link, trackingmethod):
|
179 |
model_path = 'weights/'+str(model_link)+'.pt'
|
180 |
+
print("Inside function MODT. Model : {model_link}, model path : {model_path}")
|
181 |
return MOT(model_path, trackingmethod, sourceVideo), 30
|
182 |
|
183 |
|