Skip to content

Commit d40d4d2

Browse files
Fixed some more failing tests. Added six as an explicit dependency due to tensorboard requirements.
1 parent d49357c commit d40d4d2

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

Project/ProjectSettings/EditorBuildSettings.asset

+1-4
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,5 @@
44
EditorBuildSettings:
55
m_ObjectHideFlags: 0
66
serializedVersion: 2
7-
m_Scenes:
8-
- enabled: 1
9-
path: Assets/ML-Agents/Examples/Walker/Scenes/Walker.unity
10-
guid: 2b839ee93e7a4467f9f8b4803c4a239b
7+
m_Scenes: []
118
m_configObjects: {}

ml-agents/mlagents/trainers/tests/torch_entities/test_hybrid.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def test_hybrid_sac(action_size):
9090
buffer_init_steps=0,
9191
)
9292
config = attr.evolve(
93-
SAC_TORCH_CONFIG, hyperparameters=new_hyperparams, max_steps=8000
93+
SAC_TORCH_CONFIG, hyperparameters=new_hyperparams, max_steps=10000
9494
)
9595
check_environment_trains(env, {BRAIN_NAME: config}, success_threshold=0.9)
9696

ml-agents/setup.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ def run(self):
7070
# https://github.com/pytorch/pytorch/issues/50014
7171
"torch>=1.8.0,<=1.11.0;(platform_system!='Windows' and python_version>='3.9')",
7272
"torch>=1.6.0,<1.9.0;(platform_system!='Windows' and python_version<'3.9')",
73-
"tensorboard>=1.15",
73+
"tensorboard>=2.14",
74+
# adding six explicit dependency since tensorboard needs it but doesn't declare it as a dep
75+
"six>=1.16",
7476
# cattrs 1.1.0 dropped support for python 3.6, but 1.0.0 doesn't work for python 3.9
7577
# Since there's no version that supports both, we have to draw the line somwehere.
7678
"cattrs<1.1.0; python_version<'3.8'",

0 commit comments

Comments
 (0)