Views
No views yet
100000.pth1import torch
2from huggingface_hub import hf_hub_download
3
4# Download the checkpoint
5checkpoint_path = hf_hub_download(
6 repo_id="YOUR_USERNAME/latent-diffusion-autoencoder-128",
7 filename="100000.pth"
8)
9
10# Load the checkpoint
11checkpoint = torch.load(checkpoint_path, map_location='cpu')
12print("Checkpoint keys:", list(checkpoint.keys()))