惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Hugging Face - Blog
Hugging Face - Blog
B
Blog
博客园_首页
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
G
GRAHAM CLULEY
Microsoft Azure Blog
Microsoft Azure Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
WordPress大学
WordPress大学
The GitHub Blog
The GitHub Blog
Security Latest
Security Latest
F
Full Disclosure
云风的 BLOG
云风的 BLOG
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
C
Cyber Attacks, Cyber Crime and Cyber Security
L
LINUX DO - 热门话题
V
Visual Studio Blog
有赞技术团队
有赞技术团队
腾讯CDC
V
V2EX
Vercel News
Vercel News
C
Cisco Blogs
V2EX - 技术
V2EX - 技术
Scott Helme
Scott Helme
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
AWS News Blog
AWS News Blog
S
Schneier on Security
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
小众软件
小众软件
G
Google Developers Blog
C
Check Point Blog
C
CERT Recently Published Vulnerability Notes
博客园 - 叶小钗
S
SegmentFault 最新的问题
T
Tor Project blog
J
Java Code Geeks
L
Lohrmann on Cybersecurity
Application and Cybersecurity Blog
Application and Cybersecurity Blog
T
The Exploit Database - CXSecurity.com
Apple Machine Learning Research
Apple Machine Learning Research
T
Tailwind CSS Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 司徒正美
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
S
Secure Thoughts
量子位
N
News and Events Feed by Topic
MyScale Blog
MyScale Blog
TaoSecurity Blog
TaoSecurity Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Engineering at Meta
Engineering at Meta

博客园 - 太一吾鱼水

产权 图像和点云 安装MySQL8 大模型的能力 WSL使用 PyVista 知识图谱构建 Karpathy四大原则 AI问答:向量数据库本地化存储的方案? ArcGIS Pro连接PostgreSQL空间数据库 点云密度计算 向量数据库与嵌入模型 Agent设计模式:Plan-and-Execute 氛围编程的一些体会 Agent Skills [AdvaGIS] 预测农作物产量 图片赋色方法学习 Claude code安装与GLM模型配置 ArcGIS Pro开发学习 视觉基础模型DINOv3 aliceVision_utils_split360Images 立体相机标定 古建筑学习 ContextCapture无人机影像与激光点云融合建模感受 Randla-Net深入理解 ROC、PR曲线绘制 Zero-Shot、One-Shot、Few-Shot概念 损失曲线出现先下降后上升
SAM3使用
太一吾鱼水 · 2025-12-17 · via 博客园 - 太一吾鱼水

1.安装参考

  SAM 3 深度技术解析:从图像分割到三维重建的全链路实践_sam3-CSDN博客

# 创建Python虚拟环境(推荐使用Python 3.10或3.12)
conda create -n sam3 python=3.12 -y
conda activate sam3

# 安装SAM 3核心库(使用国内镜像源)
pip install sam3 -i https://pypi.mirrors.ustc.edu.cn/simple

# 安装PyTorch GPU版本(根据CUDA版本选择)
# CUDA 12.4
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124
# 或 CUDA 12.1
# pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121

# 安装Transformers库
pip install transformers>=4.46.0 -i https://pypi.mirrors.ustc.edu.cn/simple

# 安装图像处理相关依赖
pip install pillow opencv-python matplotlib -i https://pypi.mirrors.ustc.edu.cn/simple

需要注意缺少triton,安装方法:

  pip install triton-windows

2.参考教程

  简单调用:GitHub - little51/sam3-sample: Facebook SAM3例程

  文本提示词:【SAM3教程-1】SAM3 使用文本提示进行图像分割详细步骤与示例【附源码】_sam3分割边缘-CSDN博客

   样本提示点:链接

   多概念:SAM3教程:Meta AI最新图像分割模型完全指南|支持400万概念的开放词汇分割 • Tech Explorer 🚀

   其他参考:SAM1?的使用 链接

3.其它:

手把手教你SAM(segment anything)官方代码本地调用_mob6454cc777577的技术博客_51CTO博客

SAM3模型来了,手把手带你运行SAM3模型代码,SAM3模型初探! - Coding茶水间 - 博客园

SAM3模型来了,手把手带你运行SAM3模型代码,SAM3模型初探! - 知乎