Skip to content

Commit b9ceccf

Browse files
committed
reformat
Signed-off-by: Can-Zhao <[email protected]>
1 parent 40be2a6 commit b9ceccf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

monai/inferers/inferer.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -889,9 +889,9 @@ def sample(
889889

890890
# 2. compute previous image: x_t -> x_t-1
891891
if not isinstance(scheduler, RFlowScheduler):
892-
image, _ = scheduler.step(model_output, t, image)
892+
image, _ = scheduler.step(model_output, t, image) # type: ignore
893893
else:
894-
image, _ = scheduler.step(model_output, t, image, next_t)
894+
image, _ = scheduler.step(model_output, t, image, next_t) # type: ignore
895895
if save_intermediates and t % intermediate_steps == 0:
896896
intermediates.append(image)
897897

@@ -1453,9 +1453,9 @@ def sample( # type: ignore[override]
14531453

14541454
# 3. compute previous image: x_t -> x_t-1
14551455
if not isinstance(scheduler, RFlowScheduler):
1456-
image, _ = scheduler.step(model_output, t, image)
1456+
image, _ = scheduler.step(model_output, t, image) # type: ignore
14571457
else:
1458-
image, _ = scheduler.step(model_output, t, image, next_t)
1458+
image, _ = scheduler.step(model_output, t, image, next_t) # type: ignore
14591459

14601460
if save_intermediates and t % intermediate_steps == 0:
14611461
intermediates.append(image)

0 commit comments

Comments
 (0)