Configuration Parsing Warning: Invalid JSON for config file config.json

MobileSAM

基于MobileSAM的图像分割Pipeline,支持多种输入提示(框、点、掩码),支持650N/620E系列平台的模型推理。

支持芯片:

  • AX650N
  • AX620E
  • AX630C

支持硬件

原始模型请参考

性能对比

  • 输入图片大小 1024x1024
Chip Models Latency (ms) CMM Usage (MiB)
650N mobile_sam_encoder 49.495 48.334
630C mobile_sam_encoder 520.044 63.231
650N mobile_sam_decoder 9.930 16.703
630C mobile_sam_decoder 36.382 14.970

模型转换

环境准备

安装需要的python库 pip install -r requirements.txt

运行

cd python_ax
python3 main.py -i ../images/test.jpg -c 650

output: point box

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for AXERA-TECH/MobileSAM

Base model

qualcomm/MobileSam
Quantized
(1)
this model