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

error using wavenet code #2

Open
sandeeppandey456 opened this issue Apr 22, 2019 · 1 comment
Open

error using wavenet code #2

sandeeppandey456 opened this issue Apr 22, 2019 · 1 comment

Comments

@sandeeppandey456
Copy link

I am getting the following error-

File "/media/eee/AA70975870972A59/Monthwise_experiments/april2019/wavenet-classifier-master/WaveNetClassifier.py", line 154, in fit
if self.task == 'classification':

AttributeError: 'WaveNetClassifier' object has no attribute 'task'

@Erinon
Copy link

Erinon commented Sep 4, 2020

He forgot to add 'task' to class attributes, it is currently only visible in the constructor (init). Add the following line to the init function:
self.task = task

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

2 participants