Views
No views yet
h264 (Advanced Video Coding)h265 (High Efficiency Video Coding / HEVC)dcvcrt (Deep Contextual Video Compression)1umass-lass/ReVo
2├── h264/
3│ ├── h264_rgb.pth
4│ ├── h264_depth.pth
5├── h265/
6│ ├── h265_rgb.pth
7│ ├── h265_depth.pth
8└── dcvcrt/
9 ├── dcvcrt_rgb.pth
10 ├── dcvcrt_depth.pth1from huggingface_hub import hf_hub_download
2import torch
3
4# Define the specific codec and modality you want to load
5codec = "h265" # Options: 'h264', 'h265', 'dcvcrt'
6modality = "depth" # Options: 'rgb', 'depth'
7
8# Download the specific checkpoint
9checkpoint_path = hf_hub_download(
10 repo_id="umass-lass/ReVo",
11 filename=f"{codec}/{codec}_{modality}.pth"
12)
13
14# Load the weights into your PyTorch model
15# model.load_state_dict(torch.load(checkpoint_path))
16print(f"Successfully downloaded to: {checkpoint_path}")