Skip to content

Hoard

Add look-alike models

Optional models that find look-alike pictures (crops, edits, re-posts). Hoard does not install them on its own. You select each one and accept its licence first.

What look-alike models do

A look-alike model reads a picture and makes a short list of numbers that describes it. When two pictures have close numbers, they look alike. This is also true when one picture is cropped, resized, mirrored or saved again, or has different colours or a text stamp.

These models prepare look-alike checks for duplicates. At this time, no Hoard function uses them.

The models

Go to "Settings", then "Tools". The models are in the section "Look-alike models (optional)".

The section "Look-alike models (optional)" in the Tools page of the Hoard settings, with the DINOv2 model and the note "Needs ONNX Runtime first"

Model Needs Downloads from Size Licence
DINOv2 base (ONNX) "ONNX Runtime (author models)" Hugging Face (onnx-community) 331 MB Apache-2.0
CLIP ViT-B/32 picture encoder (ONNX) "ONNX Runtime (author models)" Hugging Face (Xenova) 335 MB MIT
CLIP ViT-B/32 (OpenAI's own PyTorch weights) "PyTorch runtime" Hugging Face (openai) 577 MB Research and non-commercial use only
SSCD copy detection "PyTorch runtime" Meta (dl.fbaipublicfiles.com) 94.2 MB MIT
PyTorch runtime - Astral (uv), Python 3.12, download.pytorch.org, PyPI 2.45 GB to download, approximately 3 GB on the disk BSD-3-Clause for PyTorch, PSF-2.0 for Python 3.12, and NVIDIA's licences for the CUDA parts
  • DINOv2 is good with crops and with changed colours.
  • CLIP compares what the pictures show. Thus it also finds pictures that are similar but are not copies.
  • SSCD is made to find copies.
  • In our tests on a large picture library, DINOv2 added 1 copy that SSCD did not find (1 of 49 copies), and CLIP added none. They mostly mark different shots of the same set, so they add pictures for you to check. To find copies, use SSCD.
  • The PyTorch runtime uses an NVIDIA graphics card if your computer has one. If not, it uses the processor.

Install a model

  1. Go to "Settings", then "Tools".
  2. For a model that needs "ONNX Runtime (author models)", install that tool first, if it is not installed.
  3. For a model that needs the "PyTorch runtime", install the "PyTorch runtime" first. It is in the same section, "Look-alike models (optional)".
  4. In "Look-alike models (optional)", push "Install" on the model.
  5. Read the licence. To see the full text, push "Read the licence".
  6. Tick "I accept", then push "Install".

The licence box of the PyTorch runtime, with the link "Read the licence", the box "I accept" and the button "Install"

How Hoard checks each download

  • Hoard has a record of the size and the SHA-256 of each model file. If a file that downloads is different, Hoard deletes it and installs nothing.
  • Meta does not publish a checksum for SSCD. Hoard records the SHA-256 of the file when you install it the first time. Hoard then checks each later download against that value.
  • The PyTorch runtime installs with uv, from Astral. uv puts Python 3.12 in the tools folder of Hoard, and checks it against the SHA-256 that uv has for it. Each package has a fixed SHA-256, and Hoard installs only ready-made packages. Hoard does not change your PATH or the Windows registry.
  • Hoard records each model file that it checked. If a file is missing or changes later, the row shows "Needs repair". To download it again, push "Install again".

Remove a model

  1. Push "Remove" on the row of the model.
  2. Push "Remove" again to confirm.

When you remove the PyTorch runtime, Hoard keeps the models. To remove a model, push "Remove" on its row.