wyverman/ONNX
By wyverman · ↓ 0 · ♥ 1 · Updated 2026-03-18
What's in this repo
This page lists the files in wyverman/ONNX, including clip_visual_vit_b32.onnx, lpips_alexnet.onnx.
- 2 ONNX models (.onnx files)
- 4 files, including 2 .onnx, 1 .md
- Last updated 2026-03-18
ONNX files
| File | Size | Download |
|---|---|---|
| vidupe.net/models/clip_visual_vit_b32.onnx | — | Download |
| vidupe.net/models/lpips_alexnet.onnx | — | Download |
How to use
These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.
README
ONNX Models for Vidupe.Net
This repository contains ONNX-exported models used by Vidupe.Net for visual similarity and perceptual comparison tasks.
Models
vidupe.net/models/clip_visual_vit_b32.onnx
CLIP visual encoder (ViT-B/32) exported to ONNX. This model encodes images into a 512-dimensional embedding space, enabling semantic image similarity comparisons.
- Source: openai/clip-vit-base-patch32
- Input: RGB image tensor
[batch, 3, 224, 224], normalized - Output: Image embeddings
[batch, 512]
vidupe.net/models/lpips_alexnet.onnx
LPIPS (Learned Perceptual Image Patch Similarity) model with an AlexNet backbone exported to ONNX. Computes perceptual distance between two image patches.
- Source: richzhang/PerceptualSimilarity
- Input: Two normalized RGB image tensors
[batch, 3, H, W] - Output: Perceptual distance score
[batch, 1, 1, 1]
Usage
import onnxruntime as ort
import numpy as np
# CLIP visual encoder
session = ort.InferenceSession("vidupe.net/models/clip_visual_vit_b32.onnx")
image = np.random.randn(1, 3, 224, 224).astype(np.float32)
embeddings = session.run(None, {"input": image})[0]
# LPIPS perceptual similarity
session = ort.InferenceSession("vidupe.net/models/lpips_alexnet.onnx")
img0 = np.random.randn(1, 3, 64, 64).astype(np.float32)
img1 = np.random.randn(1, 3, 64, 64).astype(np.float32)
distance = session.run(None, {"input0": img0, "input1": img1})[0]
Requirements
onnxruntime>=1.16.0
numpy
Model info
Created: 2026-03-18
Updated: 2026-03-18
View on Hugging FaceFiles (4)
Related models
More from wyverman
No other models by this author.
More models
No task type declared.