Skip to content

Instantly share code, notes, and snippets.

View b8zhong's full-sized avatar

Brayden Zhong b8zhong

View GitHub Profile
@b8zhong
b8zhong / benchmark_pdq_indices.py
Created February 27, 2025 02:02
Benchmarking PDQ implementations for ThreatExchange
import argparse
import binascii
import time
import pickle
import sys
from pathlib import Path
import numpy
import faiss