RTIInternational / gobbli

Deep learning with text doesn't have to be scary.
Apache License 2.0
275 stars 23 forks source link

How to use interactive components on google ai platform notebooks #27

Closed AschHarwood closed 3 years ago

AschHarwood commented 3 years ago

Hi,

I've been doing my work on Google AI platform notebooks, which is basically Google's version of Sagemaker, Floydhub, Azure DSVM, etc.

I'm interested in using the interactive features that Gobbli offers. I tried launching the basic tutorial with

!gobbli explore IMDBDataset

This generates a network and external url. But this urls don't work, which I'm not entirely surprised about since I'm working on a virtual machine.

I was just curious if you have any guidance on how to work with Gobbli's interactive features in one of these data science managed virtual machines.

Thanks! Asch

pmbaumgartner commented 3 years ago

Hey Asch - thanks for the question. I think there's probably two things to note:

  1. It's starting up a streamlit app, which I'm not sure how that's handled in colab. You could try and play around with running streamlit from the notebook, but I think we might do enough magic behind the scenes that you might not be able to configure it to work correctly. Here's an example notebook I found doing something similar: https://colab.research.google.com/github/mrm8488/shared_colab_notebooks/blob/master/Create_streamlit_app.ipynb
  2. For most other things, using gobbli in a colab notebook will probably break due to the docker requirements. I'm not sure if colab notebooks have docker installed by default, but I'd be surprised if they did.
AschHarwood commented 3 years ago

I had a sneaking suspicion that was the case. Thanks so much for looking into it for me though!

On Mon, Feb 8, 2021 at 9:10 AM Peter Baumgartner notifications@github.com wrote:

Hey Asch - thanks for the question. I think there's probably two things to note:

  1. It's starting up a streamlit app, which I'm not sure how that's handled in colab. You could try and play around with running streamlit from the notebook, but I think we might do enough magic behind the scenes that you might not be able to configure it to work correctly. Here's an example notebook I found doing something similar: https://colab.research.google.com/github/mrm8488/shared_colab_notebooks/blob/master/Create_streamlit_app.ipynb
  2. For most other things, using gobbli in a colab notebook will probably break due to the docker requirements. I'm not sure if colab notebooks have docker installed by default, but I'd be surprised if they did.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RTIInternational/gobbli/issues/27#issuecomment-775176486, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACKI5VUSPKT6GKNDC5BHB6TS57WHDANCNFSM4XGIGWYQ .

-- Asch Harwood Mobile: 646.217.8843 Skype: Aschharwood