MCPcopy Index your code
hub / github.com/YesianRohn/TextSSR / convert_ddpm_original_checkpoint_to_diffusers.py

File convert_ddpm_original_checkpoint_to_diffusers.py

diffusers/scripts/convert_ddpm_original_checkpoint_to_diffusers.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import argparse
2import json
3
4import torch

Callers

nothing calls this directly

Calls 10

VQModelClass · 0.90
AutoencoderKLClass · 0.90
UNet2DModelClass · 0.90
DDPMPipelineClass · 0.90
convert_ddpm_checkpointFunction · 0.85
load_state_dictMethod · 0.80
loadMethod · 0.45
save_pretrainedMethod · 0.45
from_configMethod · 0.45

Tested by

no test coverage detected