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

Method __init__

experiments/ldm/ldm/models/autoencoder.py:15–61  ·  view source on GitHub ↗
(self,
                 ddconfig,
                 lossconfig,
                 n_embed,
                 embed_dim,
                 ckpt_path=None,
                 ignore_keys=[],
                 image_key="image",
                 colorize_nlabels=None,
                 monitor=None,
                 batch_resize_range=None,
                 scheduler_config=None,
                 lr_g_factor=1.0,
                 remap=None,
                 sane_index_shape=False, # tell vector quantizer to return indices as bhw
                 use_ema=False
                 )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 6

init_from_ckptMethod · 0.95
EncoderClass · 0.90
DecoderClass · 0.90
instantiate_from_configFunction · 0.90
LitEmaClass · 0.85
register_bufferMethod · 0.45

Tested by

no test coverage detected