Coder Social home page Coder Social logo

Unusable lab due to deprecated TF 1.x code in "Using Neural Networks for Content-Based Filtering" (`content_based_using_neural_networks.ipynb`) about training-data-analyst HOT 1 OPEN

MrCsabaToth avatar MrCsabaToth commented on June 21, 2024
Unusable lab due to deprecated TF 1.x code in "Using Neural Networks for Content-Based Filtering" (`content_based_using_neural_networks.ipynb`)

from training-data-analyst.

Comments (1)

MrCsabaToth avatar MrCsabaToth commented on June 21, 2024

Good news: there's a workaround until the ipynb will be refreshed. I learned this trick in the next lab (#2441): you cannot select TF 1.15 LTS on the GUI any more, but the prepared Anaconda VM image still exists, so we can create the workbench instead via the Terminal with CLI. The lab instructions should be updated though, so just like the #2441 ipynb:

So instead of the User Managed Notebook creation block in the instructions, have the "Activate Cloud Shell" block, and then the CLI, just like in the next lab:

  1. Activate Cloud Shell
  2. gcloud auth list
  3. gcloud config list project
  4. And this is the workaround: gcloud notebooks instances create tensorflow-notebook --vm-image-project=deeplearning-platform-release --vm-image-family=tf-1-15-cpu --machine-type=e2-standard-4 --location=us-central1-a

I used e2-standard-4 because that's what the GUI defaults to right now. This VM provides a 1.15.5 TF. So I was a little worried that the prep notebook (https://github.com/GoogleCloudPlatform/training-data-analyst/blob/master/courses/machine_learning/deepdive2/recommendation_systems/labs/content_based_preproc.ipynb) we first have to run requires 2.1 TF, but it survived and completed.

After that I moved on to the main ipynb https://github.com/GoogleCloudPlatform/training-data-analyst/blob/master/courses/machine_learning/deepdive2/recommendation_systems/labs/content_based_using_neural_networks.ipynb which I was able to execute with this CLI created VM. So once the instructions are updated and this VM image still exists the lab can live without the ipynb TF code being upgraded to say TF 2.13. However the #2441 fails still.

from training-data-analyst.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.