Diffutoon / diffsynth /models /sdxl_vae_encoder.py
kevinwang676's picture
Upload folder using huggingface_hub
fb4fac3 verified
raw
history blame
416 Bytes
from .sd_vae_encoder import SDVAEEncoderStateDictConverter, SDVAEEncoder
class SDXLVAEEncoder(SDVAEEncoder):
def __init__(self):
super().__init__()
self.scaling_factor = 0.13025
def state_dict_converter(self):
return SDXLVAEEncoderStateDictConverter()
class SDXLVAEEncoderStateDictConverter(SDVAEEncoderStateDictConverter):
def __init__(self):
super().__init__()