colab: Upload Audio: MessageError: RangeError: Maximum call stack size exceeded.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.8k
- Forks
- 224
- Avg merge
- 54m
- Merged PRs (30d)
- 1
Description
How to fix this error?
Error of Music Transcription with Transformers in colab
MessageError Traceback (most recent call last)
in <cell line: 6>()
4
5 log_event('uploadAudioStart', {})
----> 6 audio = upload_audio(sample_rate=SAMPLE_RATE)
7 log_event('uploadAudioComplete', {'value': round(len(audio) / SAMPLE_RATE)})
8
4 frames
/usr/local/lib/python3.10/dist-packages/google/colab/_message.py in read_reply_from_input(message_id, timeout_sec)
101 ):
102 if 'error' in reply:
--> 103 raise MessageError(reply['error'])
104 return reply.get('data', None)
105
MessageError: RangeError: Maximum call stack size exceeded.
Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure in the Music Transcription with Transformers Colab notebook by running the cell that calls upload_audio(sample_rate=SAMPLE_RATE). Investigate the Colab audio-upload path associated with the reported MessageError and RangeError; done means the audio upload completes without the stack overflow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100