MCPcopy Create free account
hub / github.com/360CVGroup/FancyVideo / create_diffusers_schedular

Function create_diffusers_schedular

fancyvideo/utils/convert_from_ckpt.py:308–315  ·  view source on GitHub ↗
(original_config)

Source from the content-addressed store, hash-verified

306
307
308def create_diffusers_schedular(original_config):
309 schedular = DDIMScheduler(
310 num_train_timesteps=original_config.model.params.timesteps,
311 beta_start=original_config.model.params.linear_start,
312 beta_end=original_config.model.params.linear_end,
313 beta_schedule="scaled_linear",
314 )
315 return schedular
316
317
318def create_ldm_bert_config(original_config):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected