This repository has been archived by the owner on Jun 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from Maciej-GBS/ux-improvements
UsereXperience improvements
- Loading branch information
Showing
17 changed files
with
236 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
data/robomaker | ||
data/minio/bucket/current | ||
data/minio/bucket/rl-deepracer-pretrained | ||
data/minio/bucket/DeepRacer-Metrics | ||
data/minio/.minio.sys | ||
.idea | ||
**/.idea | ||
**/.idea | ||
__pycache__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
data/minio/bucket/custom_files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
src/rl_coach_2020_v2/hyperparams.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
# USAGE: ./local-copy.sh <model_backup_name> | ||
|
||
MODELS=../models | ||
|
||
echo "Backup to $MODELS/$1" | ||
echo "..." | ||
|
||
mkdir $MODELS/$1 | ||
|
||
cp data/robomaker/log/rl_coach_* $MODELS/$1/ | ||
cp -R data/minio/bucket/current/model $MODELS/$1/ | ||
cp data/minio/bucket/custom_files/reward.py $MODELS/$1/ | ||
|
||
echo "done" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
# create .tar.gz file uploadable to physical deepracer | ||
# USAGE: ./mk-model.sh <model_path> | ||
cd $1 | ||
echo $(pwd) | ||
|
||
if [ "$1" = "" ]; then | ||
echo "USAGE: $0 <model_path>" | ||
else | ||
|
||
NUM=`cut -d '_' -f 1 < model/.coach_checkpoint` | ||
|
||
mkdir -p output/agent | ||
|
||
cp "model/model_$NUM.pb" output/agent/model.pb | ||
cp model/model_metadata.json output/ | ||
|
||
cd output | ||
tar -czvf ../output.tar.gz * | ||
|
||
echo "done" | ||
|
||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"batch_size": 64, | ||
"beta_entropy": 0.01, | ||
"discount_factor": 0.999, | ||
"e_greedy_value": 0.05, | ||
"epsilon_steps": 10000, | ||
"exploration_type": "categorical", | ||
"loss_type": "mean squared error", | ||
"lr": 0.0003, | ||
"num_episodes_between_training": 20, | ||
"num_epochs": 10, | ||
"stack_size": 1, | ||
"term_cond_avg_score": 100000.0, | ||
"term_cond_max_episodes": 10000, | ||
"pretrained": "false" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,4 @@ do | |
sleep 1 | ||
done | ||
|
||
docker logs -f $SAGEMAKER_ID | ||
docker logs --follow $SAGEMAKER_ID |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
* | ||
!delete-last.c | ||
!.gitignore |
Oops, something went wrong.