Tensorflow on Google Cloud Platform

0 votes
Which Google Cloud Platform service is the easiest for running Tensorflow?
Aug 1, 2018 in GCP by shams
• 3,580 points
41 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

There are a few ways to run Tensorflow:

  • CloudML
  • Datalab
  • and It can also be done manually
For Manually using Tensorflow:
  1. Create a project
  2. Open the Cloud Shell (a button at the top)
  3. List machine types: gcloud compute machine-types list. You can change the machine type I used in the next command.
  4. Create an instance:
gcloud compute instances create tf \
  --image container-vm \
  --zone europe-west1-c \
  --machine-type n1-standard-2
  1. Run sudo docker run -d -p 8888:8888 --name tf b.gcr.io/tensorflow-udacity/assignments:0.5.0 (change the image name to the desired one)
  2. Find your instance in the dashboard and edit the default network.
  3. Add a firewall rule to allow your IP as well as protocol and port tcp:8888.
  4. Find the External IP of the instance from the dashboard. Open IP:8888 on your browser. Done!
  5. When you are finished, delete the created cluster to avoid charges.
answered Aug 1, 2018 by kurt_cobain
• 9,260 points

Related Questions In GCP

0 votes
1 answer

How to open a port on google compute engine

You need to change the local TCP ...READ MORE

answered May 9, 2018 in GCP by kurt_cobain
• 9,260 points
40 views
+2 votes
2 answers

How to download multiple files in Google Cloud Storage?

You can achieve this through the gsutil ...READ MORE

answered May 9, 2018 in GCP by kurt_cobain
• 9,260 points
2,528 views
0 votes
1 answer

Changing Machine Instance on GCP

There is no direct method to change ...READ MORE

answered Aug 1, 2018 in GCP by kurt_cobain
• 9,260 points
29 views
0 votes
2 answers
0 votes
2 answers

Google Cloud datastore vs firebase

Google has already made a guide for ...READ MORE

answered Aug 20, 2018 in GCP by Priyaj
• 56,140 points
128 views
0 votes
2 answers

How to transfer google cloud project ownership?

Go to IAM and Admin Then Select IAM Click Add Provide another user's ...READ MORE

answered Aug 20, 2018 in GCP by Priyaj
• 56,140 points
476 views
0 votes
1 answer
+3 votes
11 answers

How do I delete my Google Cloud Platform Account?

How do I delete me cloud and ...READ MORE

answered Jan 18 in GCP by dodge123@yahoo.com
8,909 views
0 votes
1 answer

How to delete a project from Google Cloud Console

First of all, select the project you ...READ MORE

answered Apr 18, 2018 in GCP by kurt_cobain
• 9,260 points
95 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.