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

推荐订阅源

J
Java Code Geeks
Engineering at Meta
Engineering at Meta
GbyAI
GbyAI
MongoDB | Blog
MongoDB | Blog
Blog — PlanetScale
Blog — PlanetScale
腾讯CDC
U
Unit 42
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Apple Machine Learning Research
Apple Machine Learning Research
M
MIT News - Artificial intelligence
人人都是产品经理
人人都是产品经理
Hugging Face - Blog
Hugging Face - Blog
MyScale Blog
MyScale Blog
小众软件
小众软件
博客园 - 三生石上(FineUI控件)
N
Netflix TechBlog - Medium
阮一峰的网络日志
阮一峰的网络日志
博客园 - Franky
Recent Announcements
Recent Announcements
A
About on SuperTechFans
Stack Overflow Blog
Stack Overflow Blog
The GitHub Blog
The GitHub Blog
D
Docker
H
Hackread – Cybersecurity News, Data Breaches, AI and More

博客园 - 太一吾鱼水

室内物体语义类别 开放词汇分割 产权 图像和点云 安装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模型初探! - 知乎