Skip to content

Commit ce235be

Browse files
authored
Update qm9_mol_gen_ddpm.py
1 parent a2c630e commit ce235be

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/models/qm9_mol_gen_ddpm.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,7 @@ def optimize(
648648
id_from: int = 0,
649649
chain_viz_batch_element_idx: int = 0,
650650
name: str = os.sep + "chain",
651+
norm_with_original_timesteps: bool = False,
651652
verbose: bool = True
652653
) -> Tuple[torch.Tensor, torch.Tensor, torch.Tensor, torch.Tensor]:
653654
# context-conditioning
@@ -665,7 +666,8 @@ def optimize(
665666
context=context,
666667
device=self.device,
667668
num_timesteps=num_timesteps,
668-
return_frames=return_frames
669+
return_frames=return_frames,
670+
norm_with_original_timesteps=norm_with_original_timesteps,
669671
)
670672

671673
# visualize optimized samples

0 commit comments

Comments
 (0)