IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    Test of SegmentAnything Model (SAM)

    RobinDong发表于 2023-12-01 04:02:45
    love 0

    Here is the original picture:

    Months ago, I tested the segmentation of YOLOv8. The result is not very promising:

    The tail of one monkey couldn’t be segmented correctly.

    Today I tested the same picture with Meta’s Segment Anything Model (SAM). After using the simple Colab notebook and “vit_l” model type, the result shows better:

    At least the yellow monkey’s tail has been all correctly segmented.

    Note: For running the notebook with T4 GPU, you may need to set points_per_batch like:

    SamAutomaticMaskGenerator(sam, points_per_batch=16)

    How about running with another picture? The goats:

    Now, even the SAM couldn’t segment all the horns of goats correctly.



沪ICP备19023445号-2号
友情链接