magenta / magenta

Magenta: Music and Art Generation with Machine Intelligence
Apache License 2.0
19.17k stars 3.74k forks source link

Colab notebook - Generating Piano Music with Transformer environment error #1675

Open songproducer opened 4 years ago

songproducer commented 4 years ago

https://colab.research.google.com/notebooks/magenta/piano_transformer/piano_transformer.ipynb#scrollTo=1R7s3MmldBBB

ERROR: albumentations 0.1.12 has requirement imgaug<0.2.7,>=0.2.5, but you'll have imgaug 0.2.9 which is incompatible.


<ipython-input-11-78f7de3535d9> in <module>()
      2 mm.sequence_proto_to_midi_file(
      3     unconditional_ns, '/tmp/unconditional.mid')
----> 4 files.download('/tmp/unconditional.mid')

2 frames

/usr/local/lib/python3.6/dist-packages/google/colab/_message.py in read_reply_from_input(message_id, timeout_sec)
    104         reply.get('colab_msg_id') == message_id):
    105       if 'error' in reply:
--> 106         raise MessageError(reply['error'])
    107       return reply.get('data', None)
    108 

MessageError: TypeError: NetworkError when attempting to fetch resource.
iansimon commented 4 years ago

Downloads in colab can be a little flaky. Does it work if you try the same download again?

ajohnson114 commented 2 years ago

I'm trying this and it's not letting me do it. I've tried at least 10 times

Screen Shot 2021-12-21 at 5 16 00 AM
shxluo commented 2 years ago

has it solved? i have the same issue....frustrated

ajohnson114 commented 2 years ago

I'm not sure it. I figured out that my issue was because I was in safari because I tried doing the same thing on another computer and was able to download it after switching to a windows laptop using chrome I believe. Maybe try that?

shxluo commented 2 years ago

It didn't work for me, but thanks anyway!

---Original--- From: @.> Date: Fri, Apr 8, 2022 14:18 PM To: @.>; Cc: @.**@.>; Subject: Re: [magenta/magenta] Colab notebook - Generating Piano Music with Transformer environment error (#1675)

I'm not sure it. I figured out that my issue was because I was in safari because I tried doing the same thing on another computer and was able to download it after switching to a windows laptop using chrome I believe. Maybe try that?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>