Views
No views yet
| Input Image | Base DINOv2 Features | UPLiFT Upsampled Features |
|---|---|---|
![]() | ![]() | ![]() |
| Property | Value |
|---|---|
| Backbone | DINOv2-S/14 (vit_small_patch14_dinov2.lvd142m) |
| Backbone Channels | 384 |
| Patch Size | 14 |
| Upsampling Factor | 2x per iteration |
| Local Attender Size | N=17 |
| Training Dataset | ImageNet |
| Training Image Size | 448x448 |
| License | MIT |
pip install 'uplift[vit] @ git+https://github.com/mwalmer-umd/UPLiFT.git'1import torch
2from PIL import Image
3
4# Load model (weights auto-download from HuggingFace)
5model = torch.hub.load('mwalmer-umd/UPLiFT', 'uplift_dinov2_s14')
6
7# Run inference
8image = Image.open('your_image.jpg')
9features = model(image) # Returns pixel-dense features1# Fewer iterations = lower memory usage
2model = torch.hub.load('mwalmer-umd/UPLiFT', 'uplift_dinov2_s14', iters=4)1model = torch.hub.load('mwalmer-umd/UPLiFT', 'uplift_dinov2_s14',
2 include_extractor=False)1model = torch.hub.load('mwalmer-umd/UPLiFT', 'uplift_dinov2_s14',
2 return_base_feat=True)
3upsampled_features, base_features = model(image)@article{walmer2026uplift,
title={UPLiFT: Efficient Pixel-Dense Feature Upsampling with Local Attenders},
author={Walmer, Matthew and Suri, Saksham and Aggarwal, Anirud and Shrivastava, Abhinav},
journal={arXiv preprint arXiv:2601.17950},
year={2026}
}