joeljang / music2video

Making an AI-generated music video from any song with Wav2CLIP and VQGAN-CLIP
MIT License
226 stars 23 forks source link

Apple Silicon question for tqdm import #2

Open brianross93 opened 1 year ago

brianross93 commented 1 year ago

If you are using the new M1 Mac, tqdm library (line 9 in generate.py) isn't supported on newer versions of python. Is there a work around for this?

joeljang commented 1 year ago

Hi Brian,

Sorry, I only tested this code repository on a Linux server system, so I don't have the answer to that!

Best, Joel

On Sat, Sep 24, 2022 at 4:34 PM Brian @.***> wrote:

If we are using the new M1 Mac, tqdm library (line 9 in generate.py) isn't supported on older versions of python. Is there a work around for this?

— Reply to this email directly, view it on GitHub https://github.com/joeljang/music2video/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJZKFY6XTPYSCHLB2P7RZVDV72VJPANCNFSM6AAAAAAQURAY2U . You are receiving this because you are subscribed to this thread.Message ID: @.***>

joeljang commented 1 year ago

Maybe you can install a virtual environment on your mac via https://www.anaconda.com/ and use the latest version of python! :)

On Sat, Sep 24, 2022 at 4:48 PM Joel Jang @.***> wrote:

Hi Brian,

Sorry, I only tested this code repository on a Linux server system, so I don't have the answer to that!

Best, Joel

On Sat, Sep 24, 2022 at 4:34 PM Brian @.***> wrote:

If we are using the new M1 Mac, tqdm library (line 9 in generate.py) isn't supported on older versions of python. Is there a work around for this?

— Reply to this email directly, view it on GitHub https://github.com/joeljang/music2video/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJZKFY6XTPYSCHLB2P7RZVDV72VJPANCNFSM6AAAAAAQURAY2U . You are receiving this because you are subscribed to this thread.Message ID: @.***>

brianross93 commented 1 year ago

All good, gonna try it on a different machine tomorrow. Thanks for the quick response!

On Sep 24, 2022, at 12:50 AM, Joel Jang @.***> wrote:

 Maybe you can install a virtual environment on your mac via https://www.anaconda.com/ and use the latest version of python! :)

On Sat, Sep 24, 2022 at 4:48 PM Joel Jang @.***> wrote:

Hi Brian,

Sorry, I only tested this code repository on a Linux server system, so I don't have the answer to that!

Best, Joel

On Sat, Sep 24, 2022 at 4:34 PM Brian @.***> wrote:

If we are using the new M1 Mac, tqdm library (line 9 in generate.py) isn't supported on older versions of python. Is there a work around for this?

— Reply to this email directly, view it on GitHub https://github.com/joeljang/music2video/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJZKFY6XTPYSCHLB2P7RZVDV72VJPANCNFSM6AAAAAAQURAY2U . You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

brianross93 commented 1 year ago

Maybe you can install a virtual environment on your mac via https://www.anaconda.com/ and use the latest version of python! :)

Sorry, I miswrote my earlier comment. I think it only works on intel based chips, and running a Linux VM should fix it, but my MacBook Air can't handle it. Going to next try running on an older Mac and see what happens. Thanks again!

joeljang commented 1 year ago

No problem!

On Sat, Sep 24, 2022 at 7:17 PM Brian @.***> wrote:

All good, gonna try it on a different machine tomorrow. Thanks for the quick response!

On Sep 24, 2022, at 12:50 AM, Joel Jang @.***> wrote:

 Maybe you can install a virtual environment on your mac via https://www.anaconda.com/ and use the latest version of python! :)

On Sat, Sep 24, 2022 at 4:48 PM Joel Jang @.***> wrote:

Hi Brian,

Sorry, I only tested this code repository on a Linux server system, so I don't have the answer to that!

Best, Joel

On Sat, Sep 24, 2022 at 4:34 PM Brian @.***> wrote:

If we are using the new M1 Mac, tqdm library (line 9 in generate.py) isn't supported on older versions of python. Is there a work around for this?

— Reply to this email directly, view it on GitHub https://github.com/joeljang/music2video/issues/2, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AJZKFY6XTPYSCHLB2P7RZVDV72VJPANCNFSM6AAAAAAQURAY2U

. You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

— Reply to this email directly, view it on GitHub https://github.com/joeljang/music2video/issues/2#issuecomment-1256932065, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJZKFY3SNSARPQV25MQROA3V73IMXANCNFSM6AAAAAAQURAY2U . You are receiving this because you commented.Message ID: @.***>

Barrycx commented 5 months ago

hello ModuleNotFoundError: No module named 'torch._six',AttributeError: module 'torch' has no attribute 'UntypedStorage',给我你的版本号呗?对不上