sweetcocoa / pop2piano

Official Repo of the paper "Pop2Piano : Pop Audio-based Piano Cover Generation"
454 stars 46 forks source link

In Colab cannot upload MP3 or WAV #1

Closed enzyme69 closed 1 year ago

enzyme69 commented 2 years ago

I kept getting this error when uploading audio file:

blah.mp3(audio/mpeg) - 4473645 bytes, last modified: n/a - 0% done
 ---------------------------------------------------------------------------
MessageError                              Traceback (most recent call last)
[<ipython-input-5-d3c7815908e8>](https://4604gair4u2-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab-20221102-060049-RC00_485557735#) in <module>
      1 #@title Upload audio file (Supports : An audio file like wav, mp3)
----> 2 file = files.upload()
      3 audio_file = list(file.keys())[0]

3 frames
[/usr/local/lib/python3.7/dist-packages/google/colab/_message.py](https://4604gair4u2-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab-20221102-060049-RC00_485557735#) in read_reply_from_input(message_id, timeout_sec)
    100         reply.get('colab_msg_id') == message_id):
    101       if 'error' in reply:
--> 102         raise MessageError(reply['error'])
    103       return reply.get('data', None)
    104 

MessageError: RangeError: Maximum call stack size exceeded.
sweetcocoa commented 2 years ago

I haven't encountered this kind of error. I suspect that It is a Colab-related error.

If you are using an other Internet browser than Chrome, then try chrome browser.