MCPcopy Create free account
hub / github.com/OpenDriveLab/ReSim / __init__

Method __init__

sat/vae_modules/autoencoder.py:503–509  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

501
502class AutoencoderKL(AutoencodingEngineLegacy):
503 def __init__(self, **kwargs):
504 if "lossconfig" in kwargs:
505 kwargs["loss_config"] = kwargs.pop("lossconfig")
506 super().__init__(
507 regularizer_config={"target": ("sgm.modules.autoencoding.regularizers" ".DiagonalGaussianRegularizer")},
508 **kwargs,
509 )
510
511
512class IdentityFirstStage(AbstractAutoencoder):

Callers 6

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected