ONNX Model Zoo

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.

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.

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

onnx clip lpips image-similarity computer-vision license:mit region:us
↓ 0 ♥ 1

Created: 2026-03-18

Updated: 2026-03-18

View on Hugging Face

Files (4)

.gitattributes
README.md
vidupe.net/models/clip_visual_vit_b32.onnx ONNX
vidupe.net/models/lpips_alexnet.onnx ONNX

Related models