Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error #2

Open
upright2003 opened this issue Nov 21, 2023 · 1 comment
Open

error #2

upright2003 opened this issue Nov 21, 2023 · 1 comment

Comments

@upright2003
Copy link

Hello, I use colab. I could convert it before, but now I can’t use it at all. Can you correct the error?

Traceback (most recent call last):
File "/content/icassp2022-vocal-transcription/src/singing_transcription.py", line 131, in
main(parser.parse_args())
File "/content/icassp2022-vocal-transcription/src/singing_transcription.py", line 84, in main
tempo = calc_tempo(path_audio)
File "/content/icassp2022-vocal-transcription/src/quantization.py", line 26, in calc_tempo
onset_strength = librosa.onset.onset_strength(y, sr=target_sr)
TypeError: onset_strength() takes 0 positional arguments but 1 positional argument (and 1 keyword-only argument) were given

@upright2003
Copy link
Author

I've asked chatgpt to resolve the issue:

/content/icassp2022-vocal-transcription/src/quantization.py

line 26
onset_strength = librosa.onset.onset_strength(y=y, sr=target_sr)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant