payload: {"action":"opened","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/training-data-analyst/issues/540","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/training-data-analyst","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/training-data-analyst/issues/540/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/training-data-analyst/issues/540/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/training-data-analyst/issues/540/events","html_url":"https://github.com/GoogleCloudPlatform/training-data-analyst/issues/540","id":490774538,"node_id":"MDU6SXNzdWU0OTA3NzQ1Mzg=","number":540,"title":"rl-on-gcp output directory is not being created when using --job-dir","user":{"login":"RyanRizzo96","id":31866965,"node_id":"MDQ6VXNlcjMxODY2OTY1","avatar_url":"https://avatars3.githubusercontent.com/u/31866965?v=4","gravatar_id":"","url":"https://api.github.com/users/RyanRizzo96","html_url":"https://github.com/RyanRizzo96","followers_url":"https://api.github.com/users/RyanRizzo96/followers","following_url":"https://api.github.com/users/RyanRizzo96/following{/other_user}","gists_url":"https://api.github.com/users/RyanRizzo96/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanRizzo96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanRizzo96/subscriptions","organizations_url":"https://api.github.com/users/RyanRizzo96/orgs","repos_url":"https://api.github.com/users/RyanRizzo96/repos","events_url":"https://api.github.com/users/RyanRizzo96/events{/privacy}","received_events_url":"https://api.github.com/users/RyanRizzo96/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-09-08T16:32:31Z","updated_at":"2019-09-08T16:32:31Z","closed_at":null,"author_association":"NONE","body":"I am trying to follow the rl-on-gcp. I recreated the file structure on my local machine and proceed to train locally. \r\n\r\nThe *train model locally* commands in the tutorial are as follows:\r\n\r\n    > OUTPUT_DIR=rl_model \r\n    > JOBNAME=rl_train_$(date -u +%y%m%d_%H%M%S)\r\n    > REGION=us-central1 \r\n    > PACKAGE_PATH=$PWD/rl_model_code/trainer \r\n    > export PYTHONPATH=${PYTHONPATH}:${PWD}/rl_model_code \r\n    > rm $OUTPUT_DIR\r\n    > \r\n    > gcloud ml-engine local train\\\r\n    >     --package-path=$PACKAGE_PATH\\\r\n    >     --module-name=trainer.task\\\r\n    >     --\\\r\n    >     --outdir=$OUTPUT_DIR\r\n\r\n\r\nThe actual instructions given on the tutorial seem to be outdated, for example `--outdir` should be `--job-dir`, and `gcloud ml-engine` should be `gcloud ai-platform`.\r\n\r\nI run the following working commands which worked on another tutorial in the [official google docs][2]:\r\n\r\n    gcloud ai-platform local train   --package-path trainer   --module-name trainer.task   --job-dir rl-model\r\n\r\n\r\n#Result:\r\n\r\nI am getting no errors however the output directory is not being created. Here is the console output:\r\n\r\n    /anaconda3/envs/.../.../python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.\r\n      from ._conv import register_converters as _register_converters\r\n    Usage:\r\n        trainer.task --outdir=<name>\r\n                     [--eval]\r\n                     [--n_games_per_update=<N>]\r\n                     [--n_hidden=<N>]\r\n                     [--discount_rate=<rate>]\r\n                     [--learning_rate=<rate>]\r\n    Options:\r\n        -h, --help  Show this screen and exit.\r\n        --eval  If in eval, make a gif.\r\n        --outdir=<name> Location to save model (or of saved model if eval).\r\n        --n_games_per_update=<N> Number of games to play.  [default: 10]\r\n        --n_hidden=<N>  # of hidden units [default: 10]\r\n        --discount_rate=<rate>  Reward discount rate. [default: 0.95]\r\n        --learning_rate=<rate>  Learning rate. [default: 0.01]\r\n\r\n\r\nAny suggestions as to why the job directory is not being created? How can I resolve this? Thanks in advance.\r\n\r\n  [1]: https://github.com/GoogleCloudPlatform/training-data-analyst/tree/master/blogs/rl-on-gcp/cartpole_policy_gradients\r\n  [2]: https://cloud.google.com/ml-engine/docs/tensorflow/getting-started-keras?authuser=1"}}
other: {"actor":{"display_login":"RyanRizzo96"}}