Open prakhar199 opened 2 years ago
ImportError: cannot import name 'generator' from 'utils' (/content/dnn-audio-watermarking/utils.py)
Yes, generator is clearly not defined in the utils class. How is it imported?
generator is defined in dataset.py, changing the import to from dataset import generator seems to work.
generator
dataset.py
from dataset import generator
ImportError: cannot import name 'generator' from 'utils' (/content/dnn-audio-watermarking/utils.py)