Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gpxrl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
trust-ai
xrl
gpxrl
Commits
81efaa3a
Commit
81efaa3a
authored
3 years ago
by
Olivier Teytaud
Browse files
Options
Downloads
Patches
Plain Diff
olivier_reproduction
parent
5203d6fb
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
listpb.txt
+1
-0
1 addition, 0 deletions
listpb.txt
reproduce_results.sh
+46
-0
46 additions, 0 deletions
reproduce_results.sh
table3.txt
+10
-0
10 additions, 0 deletions
table3.txt
viewer.sh
+7
-0
7 additions, 0 deletions
viewer.sh
with
64 additions
and
0 deletions
listpb.txt
0 → 100644
+
1
−
0
View file @
81efaa3a
CartPole-v1 Acrobot-v1 MountainCarContinuous-v0 Pendulum-v0 InvertedPendulumSwingupBulletEnv-v0 BipedalWalker-v3 BipedalWalkerHardcore-v3 HopperBulletEnv-v0 InvertedDoublePendulumBulletEnv-v0 LunarLanderContinuous-v2
This diff is collapsed.
Click to expand it.
reproduce_results.sh
0 → 100755
+
46
−
0
View file @
81efaa3a
#for pb in CartPole Acrobot MountainCar Pendulum BipedalWalker BipedalWalkerHardcore
#do
#python -c "import pybullet ; import gym ; import pybullet ; gym.make('$pb-v2')" 2>&1 | tail -n 1 | sed 's/...$//g' | sed "s/.*'//g"
#
#done
#echo HopperBulletEnv-v0
#echo InvertedDoublePendulum-v2
#echo 'Not found: InvPendulumSwingUp ? Not pendulum ?'
#echo LunarLander-v2
stamp
=
STAMP
${
RANDOM
}
_
${
RANDOM
}
_
`
date
|
sed
's/ /_/g'
`
stamp
=
STAMP30558_30603_Thu_Sep_23_13:55:17_PST_2021
#for pb in `cat listpb.txt`
for
pb
in
MountainCarContinuous-v0
do
if
[[
"
$pb
"
==
*
"Mountain"
*
]]
;
then
conf
=
"conf/conf_gpUCB_3.yml"
elif
[[
"
$pb
"
==
*
"CartPole"
*
]]
||
[[
"
$pb
"
==
*
"Acrobot"
*
]]
||
[[
"
$pb
"
==
"Pendulum-v0"
]]
;
then
conf
=
"conf/conf_gpUCB_124.yml"
elif
[[
"
$pb
"
==
*
""
*
]]
;
then
conf
=
"conf/conf_gpUCB_5678910.yml"
fi
filename
=
"conf/conf_gpUCB_
${
pb
}
_
${
stamp
}
.yml"
cp
$conf
$filename
sed
-i
"s/env:.*/env:
$pb
/g"
$filename
python evolve.py
--conf
$filename
if
[[
"
$pb
"
==
*
"Mountain"
*
]]
;
then
python evolve.py
--conf
$filename
python evolve.py
--conf
$filename
python evolve.py
--conf
$filename
python evolve.py
--conf
$filename
python evolve.py
--conf
$filename
python evolve.py
--conf
$filename
python evolve.py
--conf
$filename
python evolve.py
--conf
$filename
python evolve.py
--conf
$filename
fi
done
|
tee
run_
$stamp
#conf_gp.yml conf_gpUCB_124.yml conf_gpUCB_5678910.yml conf_qdgp-BipedalWalker.yml conf_qdlingp-BipedalWalker.yml
#conf_gpUCB.yml conf_gpUCB_3.yml conf_lingp.yml conf_qdgp-Hopper.yml conf_qdlingp-Hopper.yml
This diff is collapsed.
Click to expand it.
table3.txt
0 → 100644
+
10
−
0
View file @
81efaa3a
CartPole-v1 500.0
Acrobot-v1 -83.17
MountainCarContinuous-v0 99.31
Pendulum-v0 -154.36
InvertedPendulumSwingupBulletEnv-v0 893.35
BipedalWalker-v3 893.35
BipedalWalkerHardcore-v3 287.58
HopperBulletEnv-v0 999.19
InvertedDoublePendulumBulletEnv-v0 9092.17
LunarLanderContinuous-v2 287.58
This diff is collapsed.
Click to expand it.
viewer.sh
0 → 100755
+
7
−
0
View file @
81efaa3a
STAMP
=
`
ls
-ctr
run_
*
|
tail
-n
1 |
sed
's/run_//g'
`
echo
STAMP
=
$STAMP
for
pb
in
`
cat
listpb.txt
`
do
#ls results/*-${pb}-*${STAMP}*/*.csv
echo
$pb
":"
`
tail
-n
1 results/
*
-
${
pb
}
-
*${
STAMP
}*
/
*
.csv |
awk
-F
','
'{print $4}'
|
grep
'[0-9]'
`
vs
`
grep
$pb
table3.txt |
awk
'{print $2}'
`
done
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment