【CV学习】segment anything

1. 大模型

在现有的大模型体系下提示的相关操作被描述为prompt,Prompt作为一种大模型使用技术,是一种输入形式,用于指示AI模型在进行特定任务时应该采取什么行动或生成什么输出。可通过以下链接对prompt进行了解:

https://baijiahao.baidu.com/s?id=1763284845527167128&wfr=spider&for=pc
https://baijiahao.baidu.com/s?id=1763031180410656499&wfr=spider&for=pc

重点为:

  • Prompt包含如下部分:指令(Instruction)、情景(Context)、输入数据(Input Data)、输出指标(Output Indicator)
  • 大模型可以通过人类的prompt(提示词)等不断改进,数据层在二者之间,搭建起无可替代的桥梁作用
  • 零样本学习(Zero-shot)是当前大模型都具备的基本能力

2. SAM

论文解读:https://blog.csdn.net/m_buddy/article/details/130912762

3. Inpaint Anything

论文解读:https://baijiahao.baidu.com/s?id=1763508018062434634&wfr=spider&for=pc

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Segment Anything是一个用于图像分割的工具,可以将图像中的不同物体分割出来。你可以使用以下方法来安装和使用Segment Anything: 方法一: 1. 安装一些基础依赖:pip install opencv-python pycocotools matplotlib onnxruntime onnx 2. 使用pip安装Segment Anything:pip install git+https://github.com/facebookresearch/segment-anything.git 方法二: 1. 克隆Segment Anything的GitHub仓库:git clone git@github.com:facebookresearch/segment-anything.git 2. 进入克隆的目录:cd segment-anything 3. 使用pip安装Segment Anything:pip install -e . 安装完成后,你可以按照以下方法使用Segment Anything: 1. 从给定的提示中导入必要的模块:from segment_anything import build_sam, SamPredictor 2. 创建一个SamPredictor对象,并加载模型的检查点:predictor = SamPredictor(build_sam(checkpoint="</path/to/model.pth>")) 3. 设置要处理的图像:predictor.set_image(<your_image>) 4. 使用predict方法进行图像分割:masks, _, _ = predictor.predict(<input_prompts>) 希望这些信息对你有帮助!\[1\]\[2\]\[3\] #### 引用[.reference_title] - *1* [Segment Anything(SAM)的demo的简单使用](https://blog.csdn.net/Helloorld_1/article/details/130107465)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item] - *2* *3* [Segment Anything Model (SAM)——卷起来了,那个号称分割一切的CV大模型他来了](https://blog.csdn.net/Together_CZ/article/details/129991631)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值