Skip to content

Commit

Permalink
less aggressive clipping
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Aug 20, 2024
1 parent d6d352e commit 91e362c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "rectified-flow-pytorch"
version = "0.1.4"
version = "0.1.5"
description = "Rectified Flow in Pytorch"
authors = [
{ name = "Phil Wang", email = "[email protected]" }
Expand Down
2 changes: 1 addition & 1 deletion rectified_flow_pytorch/rectified_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def __init__(
data_normalize_fn = normalize_to_neg_one_to_one,
data_unnormalize_fn = unnormalize_to_zero_to_one,
clip_during_sampling = True,
clip_values: Tuple[float, float] = (-1., 1.)
clip_values: Tuple[float, float] = (-2., 2.)
):
super().__init__()

Expand Down

0 comments on commit 91e362c

Please sign in to comment.