-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Hey,
I downloaded Torch the official way as per the guide by going to their website and selecting my choices. I set my python version in pyenv to 3.12.2 and while sourced into the venv did pip install torch torchvision as torch told me to.
However I still got errors when running the predict_keys.py script.
What worked for me was actually uncommenting the 2 torch requirements and installing again. Then I was able to generate the key of songs.
I also saw a torch warning related to https://github.com/a1ex90/MusicalKeyCNN/blob/main/predict_keys.py#L66 that warned of upcoming changes and suggested using torchcodec.load_with_codec instead. I made that change and the warning disappeared without any other functionality changing.
I could put up a pull request if you'd like Alex
Thanks,