Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
ma
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Matthias König
ma
Commits
e2f0218e
Commit
e2f0218e
authored
2 years ago
by
mkoenig
Browse files
Options
Downloads
Patches
Plain Diff
update evo conf
parent
5cac8e05
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
evo/rc_car_outdoor.yaml
+3
-3
3 additions, 3 deletions
evo/rc_car_outdoor.yaml
evo/run_master.py
+5
-0
5 additions, 0 deletions
evo/run_master.py
evo/solution.py
+1
-0
1 addition, 0 deletions
evo/solution.py
with
9 additions
and
3 deletions
evo/rc_car_outdoor.yaml
+
3
−
3
View file @
e2f0218e
#CMA Configuration
CMA
:
population_size
:
6
4
population_size
:
4
8
init_sigma
:
0.1
Worker
:
...
...
@@ -23,11 +23,11 @@ Solution:
output_dim
:
2
output_activation
:
"
tanh"
activation
:
"
tanh"
num_hiddens
:
[
1
4
,]
num_hiddens
:
[
1
0
,]
l2_coefficient
:
0
patch_size
:
8
patch_stride
:
4
top_k
:
1
4
top_k
:
1
0
data_dim
:
3
normalize_positions
:
True
use_lstm_controller
:
True
...
...
This diff is collapsed.
Click to expand it.
evo/run_master.py
+
5
−
0
View file @
e2f0218e
...
...
@@ -67,6 +67,10 @@ def run_master(config):
use_conv_features
=
settings
[
"
Solution
"
][
"
use_conv_features
"
],
num_conv_features
=
settings
[
"
Solution
"
][
"
num_conv_features
"
],
)
if
config
.
pretrained
!=
""
:
solution
.
load
(
config
.
pretrained
)
cma
=
CMA
(
population_size
=
settings
[
"
CMA
"
][
"
population_size
"
],
...
...
@@ -130,6 +134,7 @@ if __name__ == "__main__":
)
parser
.
add_argument
(
"
--port
"
,
help
=
"
Master port.
"
,
type
=
int
,
default
=
10000
)
parser
.
add_argument
(
"
--exp-name
"
,
help
=
"
Experiment name
"
,
default
=
"
CMA-ES Test
"
)
parser
.
add_argument
(
"
--pretrained
"
,
help
=
"
Pretrained weights
"
,
default
=
""
)
parser
.
add_argument
(
"
--track
"
,
type
=
lambda
x
:
bool
(
strtobool
(
x
)),
...
...
This diff is collapsed.
Click to expand it.
evo/solution.py
+
1
−
0
View file @
e2f0218e
...
...
@@ -421,6 +421,7 @@ class VisionTaskSolution(BaseTorchSolution):
)
self
.
_layers
.
extend
(
self
.
_mlp_solution
.
layers
)
# exp 12
#if self._use_conv_features:
# self._conv_features = nn.Sequential(
# nn.Conv2d(3, 6, 3),
...
...
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