Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'Conv1d' object has no attribute 'padding_mode' #27

Open
kqu7 opened this issue Jun 17, 2019 · 0 comments
Open

AttributeError: 'Conv1d' object has no attribute 'padding_mode' #27

kqu7 opened this issue Jun 17, 2019 · 0 comments

Comments

@kqu7
Copy link

kqu7 commented Jun 17, 2019

When I tried to generate the sample audio files by the command "python generate_script.py", the following error message popped up:

Traceback (most recent call last):
File "generate_script.py", line 32, in
regularize=0.)
File "/Users/q7/Desktop/Wavenet/pytorch-wavenet-master/wavenet_model.py", line 262, in generate_fast
dilation_func=self.queue_dilate)
File "/Users/q7/Desktop/Wavenet/pytorch-wavenet-master/wavenet_model.py", line 127, in wavenet
x = self.start_conv(input)
File "/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 493, in call
result = self.forward(*input, **kwargs)
File "/anaconda3/lib/python3.7/site-packages/torch/nn/modules/conv.py", line 190, in forward
if self.padding_mode == 'circular':
File "/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 539, in getattr
type(self).name, name))
AttributeError: 'Conv1d' object has no attribute 'padding_mode'

Can someone propose any solutions? Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant