shahules786 / mayavoz

Pytorch based speech enhancement toolkit.
MIT License
328 stars 21 forks source link

Circular import issue #32

Closed ExtReMLapin closed 1 year ago

ExtReMLapin commented 1 year ago

Just gave a try with this example :

from mayavoz.models import Mayamodel

model = Mayamodel.from_pretrained("shahules786/mayavoz-waveunet-valentini-28spk")
model.enhance("TRK010.WAV")

From command-line, got this error:

ImportError: cannot import name 'Mayamodel' from partially initialized module 'mayavoz.models' (most likely due to a circular import)

Tried from mayavoz.models.model import Mayamodel, got

ImportError: cannot import name 'move_data_to_device' from partially initialized module 'lightning_lite.utilities' (most likely due to a circular import)

shahules786 commented 1 year ago

Hi @ExtReMLapin, thanks for trying out mayavoz. Can you help me with some more information?

I have tried running mayavoz on Mac OS and Linux. It worked perfectly for me. Please share the above info if possible.

ExtReMLapin commented 1 year ago

Weirdly, I don't have this issue at home, i'll get back to the office on monday and i'll be able to give more intel about it.

shahules786 commented 1 year ago

Were you able to reproduce this issue? @ExtReMLapin Otherwise, I would consider closing this.

ExtReMLapin commented 1 year ago

I'll close it, I was forced to go on vacations as I didn't take my vacations days during the year. Will keep you in touch if I manage to reproduce it

shahules786 commented 1 year ago

Happy Vacations @ExtReMLapin :)