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
edff5aa6
Commit
edff5aa6
authored
3 years ago
by
Olivier Teytaud
Browse files
Options
Downloads
Patches
Plain Diff
parallelize
parent
fe59b3a9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
reproduce_results.sh
+17
-13
17 additions, 13 deletions
reproduce_results.sh
with
17 additions
and
13 deletions
reproduce_results.sh
+
17
−
13
View file @
edff5aa6
...
...
@@ -13,7 +13,8 @@
stamp
=
STAMP
${
RANDOM
}
_
${
RANDOM
}
_
`
date
|
sed
's/ /_/g'
`
for
pb
in
`
cat
listpb.txt
`
do
(
(
if
[[
"
$pb
"
==
*
"Mountain"
*
]]
;
then
conf
=
"conf/conf_gpUCB_3.yml"
elif
[[
"
$pb
"
==
*
"CartPole"
*
]]
||
[[
"
$pb
"
==
*
"Acrobot"
*
]]
||
[[
"
$pb
"
==
"Pendulum-v0"
]]
;
then
...
...
@@ -24,21 +25,24 @@ do
filename
=
"conf/conf_gpUCB_
${
pb
}
_
${
stamp
}
.yml"
cp
$conf
$filename
sed
-i
"s/env:.*/env:
$pb
/g"
$filename
python evolve.py
--conf
$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
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
wait
)
|
tee
run_
$stamp
)
&
done
wait
#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.
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