vincentherrmann / pytorch-wavenet

An implementation of WaveNet with fast generation
MIT License
968 stars 225 forks source link

why tune n here?isn't n the batch size? #30

Closed andylida closed 4 years ago

andylida commented 4 years ago

here is a segment of wavenet_modules: l_old = int(round(l / dilation_factor))
n_old = int(round(n * dilation_factor))
l = math.ceil(l * init_dilation / dilation)
n = math.ceil(n * dilation / init_dilation)

i can't figure out why the batch size changed, i think by this way,the net would be sensitive to the order of the data can someone help with this? thanks

wangpengabc commented 3 years ago

Have you figured out? Can you explain why the n is changed/recalculate