kosta-pmf / dnn-audio-watermarking

DNN-based audio watermarking
GNU General Public License v3.0
41 stars 12 forks source link

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

Open prakhar199 opened 2 years ago

prakhar199 commented 2 years ago

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

bison-abner commented 7 months ago

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

Madghostek commented 3 months ago

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