Skip to content

Commit dc43c8d

Browse files
Ervin Temmaajordanvincentpierre
authored
Release 3 Cherry-pick bug-fixes and doc changes from master (#4102)
* [bug-fix] Fix regression in --initialize-from feature (#4086) * Fixed text in GettingStarted page specifying the logdir for tensorboard. Before it was in a directory summaries which no longer existed. Results are now saved to the results dir. (#4085) * [refactor] Remove nonfunctional `output_path` option from TrainerSettings (#4087) * Reverting bug introduced in #4071 (#4101) Co-authored-by: Scott <[email protected]> Co-authored-by: Vincent-Pierre BERGES <[email protected]>
1 parent 05723a9 commit dc43c8d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+91
-119
lines changed

com.unity.ml-agents/Runtime/Academy.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,8 +366,6 @@ void InitializeEnvironment()
366366
port = port
367367
}
368368
);
369-
Communicator.QuitCommandReceived += OnQuitCommandReceived;
370-
Communicator.ResetCommandReceived += OnResetCommand;
371369
}
372370

373371
if (Communicator != null)
@@ -400,6 +398,11 @@ void InitializeEnvironment()
400398
Communicator = null;
401399
}
402400
}
401+
if (Communicator != null)
402+
{
403+
Communicator.QuitCommandReceived += OnQuitCommandReceived;
404+
Communicator.ResetCommandReceived += OnResetCommand;
405+
}
403406

404407
// If a communicator is enabled/provided, then we assume we are in
405408
// training mode. In the absence of a communicator, we assume we are

config/imitation/CrawlerStatic.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ behaviors:
2424
use_actions: false
2525
use_vail: false
2626
demo_path: Project/Assets/ML-Agents/Examples/Crawler/Demos/ExpertCrawlerSta.demo
27-
output_path: default
2827
keep_checkpoints: 5
2928
max_steps: 10000000
3029
time_horizon: 1000

config/imitation/FoodCollector.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ behaviors:
2424
use_actions: false
2525
use_vail: false
2626
demo_path: Project/Assets/ML-Agents/Examples/FoodCollector/Demos/ExpertFood.demo
27-
output_path: default
2827
keep_checkpoints: 5
2928
max_steps: 2000000
3029
time_horizon: 64

config/imitation/Hallway.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ behaviors:
3030
use_actions: false
3131
use_vail: false
3232
demo_path: Project/Assets/ML-Agents/Examples/Hallway/Demos/ExpertHallway.demo
33-
output_path: default
3433
keep_checkpoints: 5
3534
max_steps: 10000000
3635
time_horizon: 64

config/imitation/PushBlock.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ behaviors:
2424
use_actions: false
2525
use_vail: false
2626
demo_path: Project/Assets/ML-Agents/Examples/PushBlock/Demos/ExpertPush.demo
27-
output_path: default
2827
keep_checkpoints: 5
2928
max_steps: 15000000
3029
time_horizon: 64

config/ppo/3DBall.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ behaviors:
1919
extrinsic:
2020
gamma: 0.99
2121
strength: 1.0
22-
output_path: default
2322
keep_checkpoints: 5
2423
max_steps: 500000
2524
time_horizon: 1000

config/ppo/3DBallHard.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ behaviors:
1919
extrinsic:
2020
gamma: 0.995
2121
strength: 1.0
22-
output_path: default
2322
keep_checkpoints: 5
2423
max_steps: 5000000
2524
time_horizon: 1000

config/ppo/3DBall_randomize.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ behaviors:
1919
extrinsic:
2020
gamma: 0.99
2121
strength: 1.0
22-
output_path: default
2322
keep_checkpoints: 5
2423
max_steps: 500000
2524
time_horizon: 1000

config/ppo/Basic.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ behaviors:
1919
extrinsic:
2020
gamma: 0.9
2121
strength: 1.0
22-
output_path: default
2322
keep_checkpoints: 5
2423
max_steps: 500000
2524
time_horizon: 3

config/ppo/Bouncer.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ behaviors:
1919
extrinsic:
2020
gamma: 0.99
2121
strength: 1.0
22-
output_path: default
2322
keep_checkpoints: 5
2423
max_steps: 4000000
2524
time_horizon: 64

0 commit comments

Comments
 (0)