Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/huggingface/diffusers
/ convert_ddpm_original_checkpoint_to_diffusers.py
File
convert_ddpm_original_checkpoint_to_diffusers.py
scripts/convert_ddpm_original_checkpoint_to_diffusers.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
argparse
2
import
json
3
4
import
torch
Callers
nothing calls this directly
Calls
11
VQModel
Class · 0.90
AutoencoderKL
Class · 0.90
UNet2DModel
Class · 0.90
DDPMPipeline
Class · 0.90
convert_vq_autoenc_checkpoint
Function · 0.85
convert_ddpm_checkpoint
Function · 0.85
split
Method · 0.80
load
Method · 0.45
load_state_dict
Method · 0.45
save_pretrained
Method · 0.45
from_config
Method · 0.45
Tested by
no test coverage detected