Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ml-agents/mlagents/learn.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ def main():
logger = logging.getLogger('mlagents.learn')
_USAGE = '''
Usage:
learn <trainer-config-path> [options]
learn --help
mlagents-learn <trainer-config-path> [options]
mlagents-learn --help

Options:
--env=<file> Name of the Unity executable [default: None].
--curriculum=<file> Curriculum json file for environment [default: None].
--curriculum=<directory> Curriculum json directory for environment [default: None].
--keep-checkpoints=<n> How many model checkpoints to keep [default: 5].
--lesson=<n> Start learning from this lesson [default: 0].
--load Whether to load the model or randomly initialize [default: False].
Expand Down
3 changes: 1 addition & 2 deletions ml-agents/mlagents/trainers/trainer_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,7 @@ def _load_config(self):
return trainer_config
except IOError:
raise UnityEnvironmentException('Parameter file could not be found '
'here {}. Will use default Hyper '
'parameters.'
'at {}.'
.format(self.trainer_config_path))
except UnicodeDecodeError:
raise UnityEnvironmentException('There was an error decoding '
Expand Down