Google Datalab autosave error. Maximum output unit?

I'm having an issue with autosave failing in google datalab notebook. I am using ssh shell on port 8081 from console. I open my laptop. Make a few changes. Click "Save". Works great. I run the code, make another change. Click "Save". Autosave error! This seems to only happen with this laptop. I don't know how to diagnose this.

Any thoughts?

The problem is reproducible.

UPDATE: I have now traced this down to the code cell that displays 16 10MB scanned images. Is there a limit to the size of the output in the code window or in the datalab notebook in general? Could this be the problem?

+3


source to share


1 answer


The version of Jupyter used by Datalab does not support large file uploads, which causes this issue. When trying to save a large notebook (> ~ 50MB or so), the download actually uses the Jupyter API to save the files.

See https://github.com/googledatalab/datalab/issues/1324 .



A workaround would be to actually not save the images if they are that big in the notebook, and only save their URLs if they are hosted somewhere. Or, if you squeeze them in some way, the goal is to get the laptop size down to a manageable amount.

Ultimately, Datalab should switch to laptop == 5.0.0 which fixed this issue. Feel free to express your +1 on this matter. :)

+3


source







All Articles