llzzyy233 commited on
Commit
c11d212
·
verified ·
1 Parent(s): ff0f383

使用最新best

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from ultralytics import YOLO
5
  import matplotlib.pyplot as plt
6
  import io
7
  from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas
8
- model = YOLO(r'pcb-best.pt')
9
 
10
 
11
  def predict(img, conf, iou):
 
5
  import matplotlib.pyplot as plt
6
  import io
7
  from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas
8
+ model = YOLO(r'best.pt')
9
 
10
 
11
  def predict(img, conf, iou):