davidbau / rewriting

Rewriting a Deep Generative Model, ECCV 2020 (oral). Interactive tool to directly edit the rules of a GAN to synthesize scenes with objects added, removed, or altered. Change StyleGANv2 to make extravagant eyebrows, or horses wearing hats.
https://rewriting.csail.mit.edu/
MIT License
537 stars 76 forks source link

rewriting-interface.ipynb exceeds IOPub data rate with faces #6

Open MaxTheMooshroom opened 3 years ago

MaxTheMooshroom commented 3 years ago

Issue:

rewriting's rewriting-interface.ipynb exceeds colab's IOPub data rate with faces

While in google colab, as directed in the last cell, I changed modelname to faces with no other changes. While executing, the runtime disconnects with no error displayed. When running print(interface._repr_html_()) the following error is displayed:

IOPub data rate exceeded.
The notebook server will temporarily stop sending output
to the client in order to avoid crashing it.
To change this limit, set the config variable
`--NotebookApp.iopub_data_rate_limit`.

Current values:
NotebookApp.iopub_data_rate_limit=1000000.0 (bytes/sec)
NotebookApp.rate_limit_window=3.0 (secs)

As far as I'm able to tell, there are no ways to change the data rate limit in colab.

Steps to reproduce:

Change modelname to faces in the last cell of rewriting-interface.ipynb in google colab

davidbau commented 3 years ago

Sorry about this. I don't know a workaround either.

For now maybe the right solution is just to run a notebook on your own computer (the same notebook woks on standard jupyter.)