Previous upsampling if statement on line 229 of conditional_unet1d.py never triggers since idx is 0 indexed. I assume this is a typo and that expected behaviour is for h_local[1] to be added to x on the last of the upsampling layers.
Hi @Aaditya-Prasad this is indeed a bug. However, this change will break compatibility with existing checkpoints. Therefore I will add your suggested change as a comment in the code. Thanks!
Previous upsampling if statement on line 229 of conditional_unet1d.py never triggers since idx is 0 indexed. I assume this is a typo and that expected behaviour is for h_local[1] to be added to x on the last of the upsampling layers.