{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/cloudml-samples/issues/12","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudml-samples","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudml-samples/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudml-samples/issues/12/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudml-samples/issues/12/events","html_url":"https://github.com/GoogleCloudPlatform/cloudml-samples/issues/12","id":199397994,"number":12,"title":"Updates to Flowers tutorial gcloud beta ml syntax.","user":{"login":"bw4sz","id":1208492,"avatar_url":"https://avatars.githubusercontent.com/u/1208492?v=3","gravatar_id":"","url":"https://api.github.com/users/bw4sz","html_url":"https://github.com/bw4sz","followers_url":"https://api.github.com/users/bw4sz/followers","following_url":"https://api.github.com/users/bw4sz/following{/other_user}","gists_url":"https://api.github.com/users/bw4sz/gists{/gist_id}","starred_url":"https://api.github.com/users/bw4sz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bw4sz/subscriptions","organizations_url":"https://api.github.com/users/bw4sz/orgs","repos_url":"https://api.github.com/users/bw4sz/repos","events_url":"https://api.github.com/users/bw4sz/events{/privacy}","received_events_url":"https://api.github.com/users/bw4sz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-01-08T02:18:43Z","updated_at":"2017-01-09T15:47:43Z","closed_at":"2017-01-09T15:47:43Z","body":"It looks like there are a few changes to the gcloud beta ml syntax since this tutorial was made.\r\n\r\nIn sample.sh, \r\n\r\nline 6 reads\r\n```\r\nPROJECT=$(gcloud config list project --format \"value(core.project)\")\r\n```\r\nshould  read\r\n\r\n```\r\nPROJECT=$(gcloud beta config list project --format \"value(core.project)\")\r\n```\r\n\r\nlines 70 and 76,\r\ngcloud beta ml versions \r\n\r\nis now.\r\ngcloud beta ml models versions \r\n\r\nalso note that USER is never defined in the tutorial, but is required or else the GCS_PATH has an awkward  __ space in it, and dataflow doesn't seem to like the empty folder name.\r\n\r\nThis fixed sample.sh for me, running from the docker instance specified here\r\n```\r\ndocker pull gcr.io/cloud-datalab/datalab:local\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/cloudml-samples/issues/comments/271318502","html_url":"https://github.com/GoogleCloudPlatform/cloudml-samples/issues/12#issuecomment-271318502","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudml-samples/issues/12","id":271318502,"user":{"login":"bw4sz","id":1208492,"avatar_url":"https://avatars.githubusercontent.com/u/1208492?v=3","gravatar_id":"","url":"https://api.github.com/users/bw4sz","html_url":"https://github.com/bw4sz","followers_url":"https://api.github.com/users/bw4sz/followers","following_url":"https://api.github.com/users/bw4sz/following{/other_user}","gists_url":"https://api.github.com/users/bw4sz/gists{/gist_id}","starred_url":"https://api.github.com/users/bw4sz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bw4sz/subscriptions","organizations_url":"https://api.github.com/users/bw4sz/orgs","repos_url":"https://api.github.com/users/bw4sz/repos","events_url":"https://api.github.com/users/bw4sz/events{/privacy}","received_events_url":"https://api.github.com/users/bw4sz/received_events","type":"User","site_admin":false},"created_at":"2017-01-09T15:47:43Z","updated_at":"2017-01-09T15:47:43Z","body":"For those following along at home @joshgc is correct, the install instructions tag :local, but going to the google container repo and grabbing a more recent build is successful. \r\n\r\n```\r\nC:\\Users\\Ben\\AppData\\Local\\Google\\Cloud SDK>docker run -it -p \"127.0.0.1:8080:8080\" --entrypoint=/bin/bash  gcr.io/cloud-datalab/datalab:local-20170108\r\nroot@8b9f503f4d45:/# gcloud beta ml versions\r\nERROR: (gcloud.beta.ml.versions) too few arguments\r\nUsage: gcloud beta ml versions [optional flags] <command>\r\n  command may be         create | delete | describe | list | set-default\r\n\r\nFor detailed information on this command and its flags, run:\r\n  gcloud beta ml versions --help\r\n```\r\n"}}
{"actor":{"display_login":"bw4sz"}}