ProgramerSalar

Results comments of ProgramerSalar

run this code ```python -m script.txt2img```

``` config = "config/vae_config/kl-f4.yaml" path = "lightning_logs/version_0/checkpoints/epoch=0-step=961.ckpt" # Load the YAML file with open(config, 'r') as file: config = yaml.safe_load(file) # Load model autoencoder = AutoEncoderKL.load_from_checkpoint( checkpoint_path=path, ddconfig=config['model']['params']['ddconfig'], embed_dim=config['model']['embed_dim'], monitor="val/total_loss",...