Skip to content

Latest commit

 

History

History
34 lines (16 loc) · 977 Bytes

README.md

File metadata and controls

34 lines (16 loc) · 977 Bytes

DeepRacer Reward API

The Project details please read AWS DeepRacer Tips and Tricks: How to build a powerful rewards function with AWS Lambda and Adobe Photoshop.

Deploy with Cloud9

wget https://gist.githubusercontent.com/wongcyrus/a4e726b961260395efa7811cab0b4516/raw/2049301120a969ddc4ee51e868a00a6e175bf66b/resize.sh

chmod +x resize.sh

./resize.sh 20

wget https://gist.githubusercontent.com/wongcyrus/8eaddcc155aec4cdb451178fb5cbc2b8/raw/f60a012b9165dc9b87fd67028ba8d065be40ed2e/install_sam_cli.sh

chmod +x install_sam_cli.sh

./install_sam_cli.sh

Open another terminal

git clone https://github.com/wongcyrus/deepracerrewardfunctionapi

cd deepracerrewardfunctionapi

sudo ./get_layer_packages.sh

Create a new S3 bucket in us-east-1 and change "s3_bucket" in samconfig.toml.

./deployment.sh

Now, you can copy the reward.py as your DeepRacer Reward Function.