diff --git a/ml-agents/mlagents/learn.py b/ml-agents/mlagents/learn.py index 9441c4f620..29752b3c88 100755 --- a/ml-agents/mlagents/learn.py +++ b/ml-agents/mlagents/learn.py @@ -75,12 +75,12 @@ def main(): logger = logging.getLogger('mlagents.learn') _USAGE = ''' Usage: - learn [options] - learn --help + mlagents-learn [options] + mlagents-learn --help Options: --env= Name of the Unity executable [default: None]. - --curriculum= Curriculum json file for environment [default: None]. + --curriculum= Curriculum json directory for environment [default: None]. --keep-checkpoints= How many model checkpoints to keep [default: 5]. --lesson= Start learning from this lesson [default: 0]. --load Whether to load the model or randomly initialize [default: False]. diff --git a/ml-agents/mlagents/trainers/trainer_controller.py b/ml-agents/mlagents/trainers/trainer_controller.py index a456c97e18..b80de5e354 100644 --- a/ml-agents/mlagents/trainers/trainer_controller.py +++ b/ml-agents/mlagents/trainers/trainer_controller.py @@ -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 '