This commit is contained in:
zcr
2026-01-13 12:01:20 +08:00
parent 8fa66f327f
commit d1d15f7980
2 changed files with 26 additions and 10 deletions

View File

@@ -170,7 +170,7 @@ class SAMBoxSegmenter:
# 准备框坐标
box = np.array(self.current_box)
print(self.current_box)
# 调用SAM生成掩码
masks, _, _ = self.predictor.predict(
box=box,