Skip to content

Commit 39186fc

Browse files
committed
black
Signed-off-by: Can-Zhao <[email protected]>
1 parent d6ff591 commit 39186fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

monai/networks/schedulers/rectified_flow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,6 @@ def step(
291291
) # Avoid division by zero
292292

293293
pred_post_sample = sample + v_pred * dt
294-
pred_original_sample = sample + v_pred * timestep/self.num_train_timesteps
295-
294+
pred_original_sample = sample + v_pred * timestep / self.num_train_timesteps
295+
296296
return pred_post_sample, pred_original_sample

0 commit comments

Comments
 (0)