-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
In DynamiCrafter, I understand that the model expects input images to be normalized to [-1, 1], which is common for diffusion models.
However, in the released code, the [0, 1] → [-1, 1] normalization seems to be commented out:
<enhancer_utils.py>
transform = transforms.Compose([
transforms.Resize((self.height, self.width)), # skip centercrop
# transforms.ToTensor(),
# transforms.Normalize(mean=(0.5, 0.5, 0.5), std=(0.5, 0.5, 0.5))
])
Could you clarify the intended input range for the model, and why the [-1, 1] normalization is commented out in the public code?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels