Skip to content

Commit 08ea31f

Browse files
committed
reformat
Signed-off-by: Can-Zhao <[email protected]>
1 parent 5d40b5f commit 08ea31f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

monai/networks/schedulers/rectified_flow.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636

3737
from monai.utils import StrEnum
3838

39-
from .scheduler import Scheduler
4039
from .ddpm import DDPMPredictionType
40+
from .scheduler import Scheduler
4141

4242

4343
class RFlowPredictionType(StrEnum):
@@ -46,8 +46,10 @@ class RFlowPredictionType(StrEnum):
4646
4747
v_prediction: velocity prediction, see section 2.4 https://imagen.research.google/video/paper.pdf
4848
"""
49+
4950
V_PREDICTION = DDPMPredictionType.V_PREDICTION
5051

52+
5153
def timestep_transform(
5254
t, input_img_size_numel, base_img_size_numel=32 * 32 * 32, scale=1.0, num_train_timesteps=1000, spatial_dim=3
5355
):

0 commit comments

Comments
 (0)