Skip to content

Commit 74d1c3c

Browse files
committed
unsure about clipping, default to off for now
1 parent 91e362c commit 74d1c3c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "rectified-flow-pytorch"
3-
version = "0.1.5"
3+
version = "0.1.6"
44
description = "Rectified Flow in Pytorch"
55
authors = [
66
{ name = "Phil Wang", email = "[email protected]" }

rectified_flow_pytorch/rectified_flow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ def __init__(
153153
consistency_loss_weight = 1.,
154154
data_normalize_fn = normalize_to_neg_one_to_one,
155155
data_unnormalize_fn = unnormalize_to_zero_to_one,
156-
clip_during_sampling = True,
157-
clip_values: Tuple[float, float] = (-2., 2.)
156+
clip_during_sampling = False,
157+
clip_values: Tuple[float, float] = (-1.5, 1.5)
158158
):
159159
super().__init__()
160160

0 commit comments

Comments
 (0)