AI4HealthUOL / SSSD

Repository for the paper: 'Diffusion-based Time Series Imputation and Forecasting with Structured State Space Models'
MIT License
270 stars 47 forks source link

question about zeroconv #20

Closed JunSeok94 closed 6 months ago

JunSeok94 commented 8 months ago

Hi, I wonder why you use zeroconv instead of normal conv?

These zero line means the weight and bias of conv1d is 0. I didn't understand why this operation is needed. https://github.com/AI4HealthUOL/SSSD/blob/eef6ca8b8867ace342dcb000e89a7f53d372396a/src/imputers/SSSDS4Imputer.py#L30-L31

juanlopezcode commented 6 months ago

The implementation closely follows WaveNet vocoder, see https://github.com/philsyn/DiffWave-Vocoder/blob/master/WaveNet.py