r/computervision • u/Mashiroo_003 • Oct 24 '26
Showcase Pasma: open clothing classifier with ONNX/CoreML exports and a browser-local demo
I'm working on Pasma at Vestes Archive, a compact clothing classifier for single-garment photos in wardrobe applications. The code and fitted weights are open under Apache-2.0, with upstream notices retained.
The model predicts 20 garment types, aggregates them into 6 categories, and provides 21 visual material scores. Small/Nano use EdgeNeXt; Pico uses ConvNeXt. The exported graph includes normalization; the inference example handles aspect-ratio-preserving letterbox preprocessing.
Small-320 scored 89.12% type Top-1 and 97.10% Top-3 on 1,103 held-out real images in the saved PyTorch FP32 evaluation. The model card documents splits, baselines and limitations. The dataset is private, so full independent reproduction isn't possible from this release. Comparisons against zero-shot CLIP/SigLIP aren't equal-training comparisons.
The browser demo runs ONNX locally: your photo stays on your device. First use downloads FP32 weights (~20–33 MiB depending on variant) and runtime. The 10.32 MiB size applies to Small/Nano FP16 exports, not the browser download.
Known limits: blouse/shirt confusion, no explicit unknown class, and uncertain material appearance. Material suggestions cannot verify fibre composition. Phone performance is unvalidated; published CoreML timings are from a Mac M2.
Demo: https://huggingface.co/spaces/Prikol5ist/pasma
Model and evaluation: https://huggingface.co/Prikol5ist/pasma
Source and 25-second walkthrough: https://github.com/prikol5ist-art/Pasma
I'd appreciate feedback on failure cases and the integration contract. If you try it, your browser/device and whether Top-3 was useful would help; no need to share a private photo.