IDEA-Research / Grounded-Segment-Anything

Grounded SAM: Marrying Grounding DINO with Segment Anything & Stable Diffusion & Recognize Anything - Automatically Detect , Segment and Generate Anything
https://arxiv.org/abs/2401.14159
Apache License 2.0
14.85k stars 1.37k forks source link

TypeError: __init__() missing 2 required positional argument: 'confidence' and 'class_id' #233

Open noseding opened 1 year ago

noseding commented 1 year ago

企业微信截图_16835361515320 企业微信截图_16835361648085

rentainhe commented 1 year ago

企业微信截图_16835361515320 企业微信截图_16835361648085

Hello! I will test this demo later, you can try this demo first: https://github.com/IDEA-Research/Grounded-Segment-Anything/blob/main/grounded_sam_simple_demo.py

noseding commented 1 year ago

作者您好,很感谢您的工作。我在运行grounded_sam_simple_demo.py时报下面这个错误。我是在无法联网的服务器上部署的项目。 企业微信截图_16835937378512 企业微信截图_1683593754339

CodePainter-Swang commented 1 year ago

我和你的遇到的问题是一样的,请问你解决了吗