Overview

Detects bad crop jobs and misalignments, like screenshots from phones that should be trimmed down to relevant details.

Version 8.

Training progress: https://wandb.ai/josephc/bad_crop/overview

Usage:

import numpy
import onnxruntime as ort
session = ort.InferenceSession("./bad_crop.onnx")
blank = numpy.zeros((1, 3, 224, 224), dtype=numpy.float32)
out = torch.softmax(torch.tensor(session.run(["output"], {"input": blank,})[0][0]), axis=0)
print(out)  # tensor([9.9941e-01, 5.8832e-04])  # Bad crop, good crop
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for JosephCatrambone/badcrop

Quantized
(2)
this model