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

how i can correct this error ImportError: cannot import name 'generator' from 'utils' (/content/dnn-audio-watermarking/utils.py) #5

Open
prakhar199 opened this issue Nov 3, 2022 · 2 comments

Comments

@prakhar199
Copy link

ImportError: cannot import name 'generator' from 'utils' (/content/dnn-audio-watermarking/utils.py)

@bison-abner
Copy link

Yes, generator is clearly not defined in the utils class. How is it imported?

@Madghostek
Copy link

generator is defined in dataset.py, changing the import to from dataset import generator seems to work.

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

3 participants