You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I configure factors for [4,4,4,2,2] to match with hop_size=256 but I could not find segment_length
Would you have idea for exactly matching segment_length to match dilation, padding for the configuration?
I got error below with segment_length=7200
Traceback (most recent call last):
File "train.py", line 185, in <module>
run(config, args)
File "train.py", line 92, in run
loss = model.compute_loss(mels, batch)
File "/content/WaveGrad/model/diffusion_process.py", line 176, in compute_loss
eps_recon = self.nn(mels, y_noisy, continuous_sqrt_alpha_cumprod)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/content/WaveGrad/model/nn.py", line 119, in forward
ublock_outputs = ublock(x=ublock_outputs, scale=scale, shift=shift)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/content/WaveGrad/model/upsampling.py", line 82, in forward
outputs = self.first_block_main_branch['modulation'](outputs, scale, shift)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/content/WaveGrad/model/upsampling.py", line 30, in forward
outputs = self.featurewise_affine(x, scale, shift)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/content/WaveGrad/model/linear_modulation.py", line 98, in forward
outputs = scale * x + shift
RuntimeError: The size of tensor a (450) must match the size of tensor b (448) at non-singleton dimension 2
when I configure factors for
[4,4,4,2,2]
to match withhop_size=256
but I could not findsegment_length
Would you have idea for exactly matching
segment_length
to match dilation, padding for the configuration?I got error below with
segment_length=7200
full configuration
The text was updated successfully, but these errors were encountered: