release: v2.5.12 - fix color artifacts regression from in-place transform ops
This commit is contained in:
@@ -77,9 +77,9 @@ def prepare_video_transforms(resolution: int, max_resolution: int = 0, debug: Op
|
||||
downsample_only=False,
|
||||
max_resolution=max_resolution,
|
||||
),
|
||||
Lambda(lambda x: x.clamp_(0.0, 1.0)),
|
||||
Lambda(lambda x: torch.clamp(x, 0.0, 1.0)),
|
||||
DivisiblePad((16, 16)),
|
||||
Normalize(0.5, 0.5, inplace=True),
|
||||
Normalize(0.5, 0.5),
|
||||
Lambda(lambda x: x.permute(1, 0, 2, 3)), # t c h w -> c t h w (faster than Rearrange)
|
||||
])
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ Only includes constants actually used in the codebase
|
||||
"""
|
||||
|
||||
# Version information
|
||||
__version__ = "2.5.11"
|
||||
__version__ = "2.5.12"
|
||||
|
||||
import os
|
||||
import warnings
|
||||
|
||||
Reference in New Issue
Block a user