MCPcopy Create free account
hub / github.com/horseee/DeepCache / sample

Method sample

experiments/ldm/ldm/models/diffusion/ddim.py:56–114  ·  view source on GitHub ↗
(self,
               S,
               batch_size,
               shape,
               conditioning=None,
               callback=None,
               normals_sequence=None,
               img_callback=None,
               quantize_x0=False,
               eta=0.,
               mask=None,
               x0=None,
               temperature=1.,
               noise_dropout=0.,
               score_corrector=None,
               corrector_kwargs=None,
               verbose=True,
               x_T=None,
               log_every_t=100,
               unconditional_guidance_scale=1.,
               unconditional_conditioning=None,
               replicate_interval=None,
               nonuniform=False, pow=None,
               # this has to come in the same format as the conditioning, # e.g. as encoded tokens, ...
               **kwargs
               )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

convsample_ddimFunction · 0.95
mainFunction · 0.95
convsample_ddimFunction · 0.95
sample_logMethod · 0.95

Calls 2

make_scheduleMethod · 0.95
ddim_samplingMethod · 0.95

Tested by

no test coverage detected