Giter Site home page Giter Site logo

hoooon89 / deepracer-submit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nalbam/deepracer-submit

0.0 1.0 0.0 48.26 MB

DeepRacer League Auto Submit Bot

License: GNU General Public License v3.0

Shell 11.54% Dockerfile 4.48% Python 71.94% HCL 12.04%

deepracer-submit's Introduction

deepracer-submit

install (raspberrypi, ubuntu)

sudo apt update
sudo apt install -y xvfb jq
sudo apt install -y chromium-browser
sudo apt install -y chromium-codecs-ffmpeg
sudo apt install -y chromium-chromedriver

pip3 install pytest
pip3 install selenium
pip3 install xvfbwrapper
pip3 install slacker

install (Amazon Linux 2)

sudo amazon-linux-extras install -y mate-desktop1.x
sudo amazon-linux-extras install -y epel

sudo yum install -y git jq
sudo yum install -y chromium chromedriver

sudo pip3 install pytest
sudo pip3 install selenium
sudo pip3 install xvfbwrapper
sudo pip3 install slacker

config

single league

# config/deepracer.sh
export USERNO="123456789012"
export USERNAME="username"
export PASSWORD="password"

export ARN="arn:aws:deepracer:::leaderboard/"
export TARGET="tt" # [tt, oa, h2h, s-tt, s-oa]
export LEAGUE="league" # [league, summitLeague, competition]
export SEASON="virtual-season-2020-03-tt"
export MODEL="model-name"

export SLACK_TOKEN="xoxb-1111-2222-xxxx"
export SLACK_CHANNAL="#sandbox"

multi league

# config/$LEAGUE.sh
export USERNO="123456789012"
export USERNAME="username"
export PASSWORD="password"

export TARGET_URL="https://nalbam.com/deepracer/submit.json"

export SLACK_TOKEN="xoxb-1111-2222-xxxx"
export SLACK_CHANNAL="#sandbox"

usage

bash submit.sh
# or
bash submit.sh $TARGET

crontab

3,23,43 * * * * /home/pi/deepracer-submit/submit.sh tt  > /tmp/submit-tt.log 2>&1
6,26,46 * * * * /home/pi/deepracer-submit/submit.sh oa  > /tmp/submit-oa.log 2>&1
9,36,49 * * * * /home/pi/deepracer-submit/submit.sh h2h > /tmp/submit-h2h.log 2>&1

slack

submit

deepracer-submit's People

Contributors

nalbam avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.