turhancan97 commited on
Commit
f53de6f
1 Parent(s): 778a7dd

new weights

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. best.pt +2 -2
app.py CHANGED
@@ -103,7 +103,7 @@ def show_preds_image(image_path):
103
  width=img_res_toshow.shape[1]
104
  dim=(width,height)
105
 
106
- outputs = model.predict(source=img_res_toshow)
107
  boxes = outputs[0].boxes.cls
108
  class_list = []
109
  for class_n in boxes.cpu().numpy():
 
103
  width=img_res_toshow.shape[1]
104
  dim=(width,height)
105
 
106
+ outputs = model.predict(source=img_res_toshow,conf=0.4)
107
  boxes = outputs[0].boxes.cls
108
  class_list = []
109
  for class_n in boxes.cpu().numpy():
best.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f9fc740ca0824e14b44681d491dc601efa664ec6ecea9a870acf876053826448
3
- size 54899779
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2f8de0c7f714e2ab8b70c62490e2a41fd4a6681ca4a8dd442797c809a140278
3
+ size 54786410