Skip to content

Commit 91e362c

Browse files
committed
less aggressive clipping
1 parent d6d352e commit 91e362c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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.4"
3+
version = "0.1.5"
44
description = "Rectified Flow in Pytorch"
55
authors = [
66
{ name = "Phil Wang", email = "[email protected]" }

rectified_flow_pytorch/rectified_flow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def __init__(
154154
data_normalize_fn = normalize_to_neg_one_to_one,
155155
data_unnormalize_fn = unnormalize_to_zero_to_one,
156156
clip_during_sampling = True,
157-
clip_values: Tuple[float, float] = (-1., 1.)
157+
clip_values: Tuple[float, float] = (-2., 2.)
158158
):
159159
super().__init__()
160160

0 commit comments

Comments
 (0)