Open-Sora-Plan icon indicating copy to clipboard operation
Open-Sora-Plan copied to clipboard

Questions about the value range of input to CausalVAE

Open longyangqi opened this issue 10 months ago • 1 comments

In video dataset: https://github.com/PKU-YuanGroup/Open-Sora-Plan/blob/098ecbbd5d7ecb85d8e38e92edfc9466b4c65f3a/opensora/models/ae/videobase/dataset_videobase.py#L50

says [-0.5, 0.5] while the transform sounds like map data to [-1, 1] https://github.com/PKU-YuanGroup/Open-Sora-Plan/blob/098ecbbd5d7ecb85d8e38e92edfc9466b4c65f3a/opensora/models/ae/videobase/dataset_videobase.py#L66

So what's the value range of input to CausalVAE? Many thanks!

longyangqi avatar Apr 12 '24 08:04 longyangqi

The input range should be [-1,1].

qqingzheng avatar Apr 12 '24 09:04 qqingzheng