fdsgsfjsfg commited on
Commit
0a8b289
·
verified ·
1 Parent(s): 95dfb58

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -197,7 +197,7 @@ def process_sample_detection(main_image, sample_image, match_threshold):
197
  # Step 2: 用 Sam3Tracker 的 box prompt 做精细分割
198
  inputs = processor(
199
  images=main_image,
200
- input_boxes=[[[box]]],
201
  return_tensors="pt"
202
  ).to(device)
203
 
 
197
  # Step 2: 用 Sam3Tracker 的 box prompt 做精细分割
198
  inputs = processor(
199
  images=main_image,
200
+ input_boxes=[[box]],
201
  return_tensors="pt"
202
  ).to(device)
203