Skip to content

Commit

Permalink
Remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Warvito committed Jun 15, 2023
1 parent fc7ae98 commit 1f0bd90
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/python/training/train_ldm.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,10 @@ def main(args):
model_type="diffusion",
)

# Load Autoencoder to produce the latent representations
print(f"Loading Stage 1 from {args.stage1_uri}")
stage1 = mlflow.pytorch.load_model(args.stage1_uri)
stage1.eval()

# Create the diffusion model
print("Creating model...")
config = OmegaConf.load(args.config_file)
diffusion = DiffusionModelUNet(**config["ldm"].get("params", dict()))
Expand Down

0 comments on commit 1f0bd90

Please sign in to comment.