Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.31 KB

Mac-local-training.md

File metadata and controls

39 lines (29 loc) · 1.31 KB

After setting up from here

Bold lines are terminal commands

Make sure Docker is running.

Minio

  1. In Terminal, navigate to deepracer/rl_coach (cd "your path to deepracer/rl_coach")
  2. . ./env.sh
  3. minio server data

Sagemaker

  1. From Terminal, open a new shell (command+T)
  2. cd .. to return to ~/deepracer
  3. . sagemaker_venv/bin/activate
  4. docker pull crr0004/sagemaker-rl-tensorflow:console
  5. docker tag crr0004/sagemaker-rl-tensorflow:console 520713654638.dkr.ecr.us-east-1.amazonaws.com/sagemaker-rl-tensorflow:coach0.11-cpu-py3
  6. mkdir -p ~/.sagemaker && cp config.yaml ~/.sagemaker
  7. cd rl_coach
  8. export LOCAL_ENV_VAR_JSON_PATH=$(greadlink -f ./env_vars.json)
  9. ipython rl_deepracer_coach_robomaker.py

Robomaker

  1. From Terminal, open a new shell (command+T)
  2. cd .. to return to ~/deepracer
  3. . sagemaker_venv/bin/activate
  4. cd rl_coach
  5. . ./env.sh
  6. docker pull crr0004/deepracer_robomaker:console
  7. cd ..
  8. docker run --rm --name dr --env-file ./robomaker.env --network sagemaker-local -p 8080:5900 -it crr0004/deepracer_robomaker:console

Watch the training

  1. Open VNC Viewer
  2. Connect to 127.0.0.1:8080