diffwave icon indicating copy to clipboard operation
diffwave copied to clipboard

SpectrogramUpsampler only can be used when hop_samples=256 how to make it to support more hop_samples

Open 2651084156 opened this issue 3 years ago • 2 comments

thecode in this repository only support hop_samples=256 图片

if i try change it i will get 图片 i try it to fix it 图片 but i think it not a good way to fix it could i have other way to fix it and make it support more hop_samples

2651084156 avatar Jan 23 '23 08:01 2651084156

The hop size is tightly coupled with the upsampler module. You'll have to make changes to the transposed convolutions whenever you change the hop size. Here's an example of how you could change the hop size to 300: https://github.com/lmnt-com/diffwave/issues/6. In general, though, you'll have to compute the right arguments for the transposed convolutions.

sharvil avatar Jan 23 '23 17:01 sharvil

The hop size is tightly coupled with the upsampler module. You'll have to make changes to the transposed convolutions whenever you change the hop size. Here's an example of how you could change the hop size to 300: #6. In general, though, you'll have to compute the right arguments for the transposed convolutions.

thank i fix it

and

if i want use sample_rate=44100 which Model params i should make it bigger than Default params?

2651084156 avatar Jan 30 '23 09:01 2651084156