GroundingDINO安装笔记[可运行源码]

上传者: pca5navigator | 上传时间: 2026-01-26 19:33:35 | 文件大小: 120.39MB | 文件类型: ZIP
本文记录了GroundingDINO的安装过程及遇到的报错解决方法。主要内容包括测试代码的运行、报错信息NameError: name ‘_C‘ is not defined的解决步骤,以及相关依赖库的安装命令如numpy和matplotlib的版本要求。此外,还提供了GitHub项目链接Grounded-SAM-2,该项目结合了Grounding DINO、Florence-2和SAM 2技术。文章详细说明了如何通过修改代码解决_C未定义的错误,并提供了多尺度可变形注意力机制的实现代码片段。 文章详细记录了GroundingDINO安装过程中的各个细节,首先介绍了测试代码运行的步骤,为了让读者更容易理解和操作,文中没有忽略任何可能遇到的错误情况。对于遇到的NameError: name ‘_C‘ is not defined这一问题,文章给出了详细的解决步骤,以指导用户一步步排查并解决问题。 文章还提供了numpy和matplotlib等依赖库的安装命令和版本要求,这些信息对于初次安装GroundingDINO的用户来说非常宝贵。此外,文章还提到了GitHub上的一个相关项目,即Grounded-SAM-2,该项目整合了Grounding DINO、Florence-2和SAM 2等前沿技术。这对于想要深入研究或者应用这些技术的开发者来说,是一个非常有价值的信息来源。 在文章的后续部分,作者分享了如何通过修改代码来解决_C未定义错误的经验,这对其他遇到同样问题的用户而言,是一种非常实用的帮助。文章还包含了多尺度可变形注意力机制的实现代码片段,这对于理解和实现这一机制的细节提供了直接的帮助。 这是一篇十分详尽的技术性文章,不仅包含了安装过程和常见问题的解决方法,还涉及到了相关技术的代码实现。这篇文章对于需要安装和使用GroundingDINO的读者来说,是一份宝贵的学习资源。

文件下载

资源详情

[{"title":"( 840 个子文件 120.39MB ) GroundingDINO安装笔记[可运行源码]","children":[{"title":".babelrc <span style='color:#111;'> 102B </span>","children":null,"spread":false},{"title":".eslintrc.cjs <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"vision.cpp <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"ms_deform_attn_cpu.cpp <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"connected_components.cu <span style='color:#111;'> 7.63KB </span>","children":null,"spread":false},{"title":"ms_deform_attn_cuda.cu <span style='color:#111;'> 7.59KB </span>","children":null,"spread":false},{"title":"cuda_version.cu <span style='color:#111;'> 140B </span>","children":null,"spread":false},{"title":"ms_deform_im2col_cuda.cuh <span style='color:#111;'> 53.41KB </span>","children":null,"spread":false},{"title":"backend.Dockerfile <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false},{"title":"Dockerfile <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"Dockerfile <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"frontend.Dockerfile <span style='color:#111;'> 531B </span>","children":null,"spread":false},{"title":".dockerignore <span style='color:#111;'> 357B </span>","children":null,"spread":false},{"title":".eslintignore <span style='color:#111;'> 28B </span>","children":null,"spread":false},{"title":"Arrow.frag <span style='color:#111;'> 6.55KB </span>","children":null,"spread":false},{"title":"Overlay.frag <span style='color:#111;'> 6.13KB </span>","children":null,"spread":false},{"title":"Burst.frag <span style='color:#111;'> 4.46KB </span>","children":null,"spread":false},{"title":"Scope.frag <span style='color:#111;'> 3.93KB </span>","children":null,"spread":false},{"title":"Replace.frag <span style='color:#111;'> 3.42KB </span>","children":null,"spread":false},{"title":"Sobel.frag <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false},{"title":"NoisyMask.frag <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"Cutout.frag <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":"PixelateMask.frag <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false},{"title":"VibrantMask.frag <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false},{"title":"EraseForeground.frag <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"BackgroundBlur.frag <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"Pixelate.frag <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"Gradient.frag <span style='color:#111;'> 994B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 357B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 26B </span>","children":null,"spread":false},{"title":"schema.graphql <span style='color:#111;'> 3.94KB </span>","children":null,"spread":false},{"title":"video-api-schema.graphql <span style='color:#111;'> 3.01KB </span>","children":null,"spread":false},{"title":"inference-api-schema.graphql <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false},{"title":"ms_deform_attn.h <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":"ms_deform_attn_cuda.h <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"ms_deform_attn_cpu.h <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"grounded_sam2_demo.html <span style='color:#111;'> 21.57KB </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 342B </span>","children":null,"spread":false},{"title":"MANIFEST.in <span style='color:#111;'> 254B </span>","children":null,"spread":false},{"title":".inscode <span style='color:#111;'> 81B </span>","children":null,"spread":false},{"title":"video_predictor_example.ipynb <span style='color:#111;'> 9.62MB </span>","children":null,"spread":false},{"title":"image_predictor_example.ipynb <span style='color:#111;'> 8.74MB </span>","children":null,"spread":false},{"title":"automatic_mask_generator_example.ipynb <span style='color:#111;'> 7.49MB </span>","children":null,"spread":false},{"title":"image_editing_with_groundingdino_gligen.ipynb <span style='color:#111;'> 2.06MB </span>","children":null,"spread":false},{"title":"image_editing_with_groundingdino_stablediffusion.ipynb <span style='color:#111;'> 1.56MB </span>","children":null,"spread":false},{"title":"sav_visualization_example.ipynb <span style='color:#111;'> 662.37KB </span>","children":null,"spread":false},{"title":"test.ipynb <span style='color:#111;'> 3.08KB </span>","children":null,"spread":false},{"title":"cat_dog.jpeg <span style='color:#111;'> 120.52KB </span>","children":null,"spread":false},{"title":"cars.jpg <span style='color:#111;'> 1.01MB </span>","children":null,"spread":false},{"title":"sa_v_dataset.jpg <span style='color:#111;'> 544.85KB </span>","children":null,"spread":false},{"title":"hippopotamus_seg.jpg <span style='color:#111;'> 358.02KB </span>","children":null,"spread":false},{"title":"tracking_car_mask_1.jpg <span style='color:#111;'> 296.70KB </span>","children":null,"spread":false},{"title":"truck.jpg <span style='color:#111;'> 265.11KB </span>","children":null,"spread":false},{"title":"00003.jpg <span style='color:#111;'> 195.06KB </span>","children":null,"spread":false},{"title":"00004.jpg <span style='color:#111;'> 174.11KB </span>","children":null,"spread":false},{"title":"groceries.jpg <span style='color:#111;'> 164.13KB </span>","children":null,"spread":false},{"title":"00002.jpg <span style='color:#111;'> 156.48KB </span>","children":null,"spread":false},{"title":"00005.jpg <span style='color:#111;'> 155.23KB </span>","children":null,"spread":false},{"title":"grounded_sam_2_intro.jpg <span style='color:#111;'> 150.62KB </span>","children":null,"spread":false},{"title":"tracking_car_1.jpg <span style='color:#111;'> 131.16KB </span>","children":null,"spread":false},{"title":"00001.jpg <span style='color:#111;'> 131.16KB </span>","children":null,"spread":false},{"title":"00006.jpg <span style='color:#111;'> 120.50KB </span>","children":null,"spread":false},{"title":"00007.jpg <span style='color:#111;'> 103.10KB </span>","children":null,"spread":false},{"title":"00008.jpg <span style='color:#111;'> 94.26KB </span>","children":null,"spread":false},{"title":"00009.jpg <span style='color:#111;'> 83.90KB </span>","children":null,"spread":false},{"title":"00010.jpg <span style='color:#111;'> 77.05KB </span>","children":null,"spread":false},{"title":"00068.jpg <span style='color:#111;'> 72.62KB </span>","children":null,"spread":false},{"title":"00069.jpg <span style='color:#111;'> 72.61KB </span>","children":null,"spread":false},{"title":"00067.jpg <span style='color:#111;'> 72.10KB </span>","children":null,"spread":false},{"title":"00066.jpg <span style='color:#111;'> 72.06KB </span>","children":null,"spread":false},{"title":"00051.jpg <span style='color:#111;'> 72.00KB </span>","children":null,"spread":false},{"title":"00123.jpg <span style='color:#111;'> 71.98KB </span>","children":null,"spread":false},{"title":"00122.jpg <span style='color:#111;'> 71.89KB </span>","children":null,"spread":false},{"title":"00050.jpg <span style='color:#111;'> 71.88KB </span>","children":null,"spread":false},{"title":"00033.jpg <span style='color:#111;'> 71.74KB </span>","children":null,"spread":false},{"title":"00126.jpg <span style='color:#111;'> 71.59KB </span>","children":null,"spread":false},{"title":"00048.jpg <span style='color:#111;'> 71.58KB </span>","children":null,"spread":false},{"title":"00011.jpg <span style='color:#111;'> 71.56KB </span>","children":null,"spread":false},{"title":"00030.jpg <span style='color:#111;'> 71.55KB </span>","children":null,"spread":false},{"title":"00032.jpg <span style='color:#111;'> 71.46KB </span>","children":null,"spread":false},{"title":"00064.jpg <span style='color:#111;'> 71.36KB </span>","children":null,"spread":false},{"title":"00127.jpg <span style='color:#111;'> 71.34KB </span>","children":null,"spread":false},{"title":"00065.jpg <span style='color:#111;'> 71.25KB </span>","children":null,"spread":false},{"title":"00052.jpg <span style='color:#111;'> 71.24KB </span>","children":null,"spread":false},{"title":"00053.jpg <span style='color:#111;'> 71.16KB </span>","children":null,"spread":false},{"title":"00070.jpg <span style='color:#111;'> 71.14KB </span>","children":null,"spread":false},{"title":"00120.jpg <span style='color:#111;'> 71.12KB </span>","children":null,"spread":false},{"title":"00071.jpg <span style='color:#111;'> 71.11KB </span>","children":null,"spread":false},{"title":"00128.jpg <span style='color:#111;'> 71.10KB </span>","children":null,"spread":false},{"title":"00049.jpg <span style='color:#111;'> 71.09KB </span>","children":null,"spread":false},{"title":"00125.jpg <span style='color:#111;'> 71.04KB </span>","children":null,"spread":false},{"title":"00121.jpg <span style='color:#111;'> 71.03KB </span>","children":null,"spread":false},{"title":"00031.jpg <span style='color:#111;'> 70.99KB </span>","children":null,"spread":false},{"title":"00129.jpg <span style='color:#111;'> 70.96KB </span>","children":null,"spread":false},{"title":"00029.jpg <span style='color:#111;'> 70.91KB </span>","children":null,"spread":false},{"title":"00124.jpg <span style='color:#111;'> 70.91KB </span>","children":null,"spread":false},{"title":"00111.jpg <span style='color:#111;'> 70.87KB </span>","children":null,"spread":false},{"title":"00143.jpg <span style='color:#111;'> 70.86KB </span>","children":null,"spread":false},{"title":"......","children":null,"spread":false},{"title":"<span style='color:steelblue;'>文件过多,未全部展示</span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明