Skip to content

Instantly share code, notes, and snippets.

View ulassbin's full-sized avatar
🤖
Hey there, I am using source code!

Ulaş Süreyya Bingol ulassbin

🤖
Hey there, I am using source code!
  • Universität Konstanz
View GitHub Profile
@ulassbin
ulassbin / extract_dino_features.py
Last active August 24, 2025 16:54
DinoV3 Feature Extraction and Saving Script
#!/usr/bin/env python3
# Tool to get DinoV3 features from videos, and save them in a compressed manner
# Compression is done with PCA and IncrementalPCA for larger inputs
import os, sys
from pathlib import Path
import numpy as np
from PIL import Image
import torch