1
This commit is contained in:
@@ -249,7 +249,7 @@ class SAMPointBoxSegmenter:
|
||||
if __name__ == "__main__":
|
||||
# 配置路径
|
||||
IMAGE_PATH = "ae976103-d7ec-4eed-b5d1-3e5f04d8be26.jpg" # 替换为你的图像路径
|
||||
SAM_CHECKPOINT = "/home/alab/PycharmProjects/segment-anything/checkpoint/sam_vit_h_4b8939.pth" # 替换为你的SAM模型路径
|
||||
SAM_CHECKPOINT = "/mnt/data/workspace/Code/aida_seg_anything/checkpoint/sam_vit_h_4b8939.pth" # 替换为你的SAM模型路径
|
||||
MODEL_TYPE = "vit_h" # 模型类型,与checkpoint对应
|
||||
|
||||
# 运行工具
|
||||
|
||||
Reference in New Issue
Block a user