超
gcw_g59KKkes/PickScore-v1
Model Introduction
Files & versions
Pull Requests
Discussion
Analysis

yuvalkirstain/PickScore_v1

昇腾 NPU (torch-npu) 适配版。CLIP 图像-文本美学打分模型。

使用

# CLI 单图推理
python inference.py --img test_input.png --text "a photo of a cat"

# FastAPI 服务 (POST /predict 上传图片)
python inference.py --server
  • 权重缓存:./model_weights/yuvalkirstain/PickScore_v1(本地优先,推理不联网)
  • 设备:npu:0(torch_npu),无任何 CUDA 依赖
  • 验证:CLI 与 FastAPI 均在 Ascend910 上推理成功