romerocruzsa's picture
docs: Added banner :P
f66cc0f verified
|
Raw History Blame
1.1 kB
metadata
library_name: cellpose
pipeline_tag: image-segmentation
base_model: mouseland/cellpose-sam
base_model_relation: quantized
license: bsd-3-clause
tags:
  - cellpose
  - cellpose-sam
  - microscopy
  - quantization
  - image-segmentation
Capicú Technologies

Cellpose-SAM WQuant — W8A16

Ready-to-load W8A16 quantized variant of Cellpose-SAM cpsam_v2.

Load

import runpy
from huggingface_hub import hf_hub_download

loader = runpy.run_path(
    hf_hub_download("capicu-ai/cellpose-sam-wquant-w8a16", "runtime_loader.py")
)
model = loader["load_model"]()

Pass device="cuda" to load_model for CUDA.

Result

  • Weight size: 295.8 MiB
  • Compression versus FP32: 3.93x
  • Evaluated paired samples: 20
  • Complete bounded-panel criterion met: Yes
  • Reload verification normalized RMSE: 0.0

results.json and model_registry.json contain the compact machine-readable record.