首页 > 其他分享 >segment anything

segment anything

时间:2023-04-06 23:02:53浏览次数:29  
标签:prompt anything image encoder How take model segment

What is the structure of the model?
  • A ViT-H image encoder that runs once per image and outputs an image embedding
  • A prompt encoder that embeds input prompts such as clicks or boxes
  • A lightweight transformer based mask decoder that predicts object masks from the image embedding and prompt embeddings

  

How big is the model?
  • The image encoder has 632M parameters.
  • The prompt encoder and mask decoder have 4M parameters.
How long does inference take?
  • The image encoder takes ~0.15 seconds on an NVIDIA A100 GPU.
  • The prompt encoder and mask decoder take ~50ms on CPU in the browser using multithreaded SIMD execution.

How long does it take to train the model?

  • The model was trained for 3-5 days on 256 A100 GPUs.

标签:prompt,anything,image,encoder,How,take,model,segment
From: https://www.cnblogs.com/c-rex/p/17294544.html

相关文章

  • Keil ERROR C249: 'DATA': SEGMENT TOO LARGE
    1、网上都说存储器模式改为大型即可,但是我尝试后发现有点问题。 2、经过很多操作,最后解决了(1)unsignedcharcodeNumM[480],添加code关键字,但是这不是问题关键;(2)本来声明了两个数组,一个是unsignedcharcodeNumM[256],一个是unsignedcharHanzi[14][16],最初采用把Hanzi数组也......
  • 【segmentation fault】std::string析构崩溃
    今天写了一个小工具,运行时发生segmentationfault,现象如下第一步:review崩溃附近代码,产生疑惑,崩溃的地方居然是变量定义的地方std::stringaccessToken;崩溃在这个地方,我直接懵了,只是变量定义为啥会报错,没有任何思路,打算单步调试。第二步:单步调试代码,发现并且是定义的时候崩......
  • mule anything studio 第一个应用
    添加组件服务组件httplistenerhttplistenerconfig添加请求组件resquesttest.json[{"ID":1,"code1":"ER","code2":"38sd","takeOffDate":"2016/03/20......
  • segment_tree
    这是一棵一棵一棵线段树众所周知,线段树是一个优质的维护区间信息(需要满足结合律)的数据结构我们可以\(O(nlogn)\)建树\(O(logn)\)查询任意区间的信息关于结合......
  • Segment Tree Beats! 初步和其他
    不会渐进表示,全无脑用\(\Theta\)了/kk目录区间最值问题不含区间加减的情况划分数域历史最值问题双半群模型问题描述使用标记维护的问题区间最值问题不含区间加减的......
  • [CVPR2020] RandLA-Net: Efficient Semantic Segmentation of Large-Scale Point Clou
    大佬的TensorFlow代码:here另一个大佬的Pytorch代码:等我看完代码再贴链接,之前那个不太行keywords高分辨率点云——约\(10^5\)点云语义分割多层次特征在正式开始......
  • mybatis-plus的${ew.sqlSegment},${ew.sqlSelect},${ew.sqlSet},${ew.customSqlSegment}
    说明:ew是mapper方法里的@Param(Constants.WRAPPER)WrapperqueryWrapper对象1、${ew.customSqlSegment}会直接在前面添加where@Select(select*fromsys_user${ew.cust......
  • 【题解】[HEOI2013]Segment(李超树)
    [HEOI2013]Segment题目分析:是李超线段树的板子题,在这里就稍微提一嘴李超线段树吧。其实李超线段树就是用来解决插入线段,查询\(x=k\)时纵坐标的最大值的。对于李超线......
  • [oeasy]python0105_七段数码管_7_SEGMENT_数码管驱动_4511
    七位数码管回忆上次内容上次回顾了指示灯辉光管 并了解了驱动(driver)驱动就是控制设备工作的人(模块)  辉光管离我们的......
  • E. Boring Segments (双指针 + 线段树)
    E.BoringSegments(双指针+线段树)题意:给出n条线段的左右端点和权值$l_i$,$r_i$,$w_i$。要求选择一些线段,使得能够从数轴上的1出发,沿着线段走,能够到达m(连通,不是覆盖)。问......