JIN

Results 2 issues of JIN

我使用grounded_sam_simple_demo.py进行测试,配置如下 GROUNDING_DINO_CONFIG_PATH = "GroundingDINO/groundingdino/config/GroundingDINO_SwinT_OGC.py" GROUNDING_DINO_CHECKPOINT_PATH = "./groundingdino_swint_ogc.pth" SAM_ENCODER_VERSION = "vit_l" SAM_CHECKPOINT_PATH = "./models/sam_vit_l_0b3195.pth" CLASSES = ["people"] BOX_THRESHOLD = 0.25 TEXT_THRESHOLD = 0.25 NMS_THRESHOLD = 0.8 第一步,检测出people,并标记,没有问题 ![image](https://github.com/IDEA-Research/Grounded-Segment-Anything/assets/66582460/d41ab205-2133-4180-a1cc-0730ee9026eb) 然而第二步,人物分割的mask和背景的mask正好弄反 ![image](https://github.com/IDEA-Research/Grounded-Segment-Anything/assets/66582460/d8d85314-6b58-4bf3-9a8c-b3196bd5184c) 原图是这个,可以拿来测试...

ollecting mpmath>=0.19 (from sympy->torch->groundingdino==0.1.0) Using cached https://pypi.tuna.tsinghua.edu.cn/packages/43/e3/7d92a15f894aa0c9c4b49b8ee9ac9850d6e63b03c9c32c0367a13ae62209/mpmath-1.3.0-py3-none-any.whl (536 kB) Collecting six>=1.5 (from python-dateutil>=2.7->matplotlib>=2.1.0->pycocotools->groundingdino==0.1.0) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl (11 kB) Building wheels for collected packages: groundingdino Building editable for groundingdino (pyproject.toml) ... error...