hank1996 commited on
Commit
5517bc1
·
1 Parent(s): 5fe92f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -77,8 +77,8 @@ def detect(img,model):
77
  stride = int(model.stride.max()) # model stride
78
  imgsz = check_img_size(imgsz, s=stride) # check img_size
79
 
80
- if trace:
81
- model = TracedModel(model, device, opt.img_size)
82
 
83
  if half:
84
  model.half() # to FP16
 
77
  stride = int(model.stride.max()) # model stride
78
  imgsz = check_img_size(imgsz, s=stride) # check img_size
79
 
80
+ #if trace:
81
+ #model = TracedModel(model, device, opt.img_size)
82
 
83
  if half:
84
  model.half() # to FP16