MachineLearningRoguelike icon indicating copy to clipboard operation
MachineLearningRoguelike copied to clipboard

KeyError:'logPath'

Open HappySlice opened this issue 8 years ago • 1 comments

When I use the Jupyter Notebook or just run the ppo.py script from cmd with the --train flag I receive a KeyError:logPath error. How do I go about fixing this? I can do all the ML v0.2 examples just fine and never encountered this. Thanks!

`--------------------------------------------------------------------------- KeyError Traceback (most recent call last) in () ----> 1 env = UnityEnvironment(file_name=env_name, curriculum=curriculum_file) 2 print(str(env)) 3 brain_name = env.external_brain_names[0]

~\Documents\MachineLearningRoguelike-master\python\unityagents\environment.py in init(self, file_name, worker_id, base_port, curriculum) 120 self._global_done = None 121 self._academy_name = p["AcademyName"] --> 122 self._log_path = p["logPath"] 123 self._brains = {} 124 self._brain_names = p["brainNames"]

KeyError: 'logPath'`

HappySlice avatar Dec 27 '17 20:12 HappySlice

Also experienced this problem, any advice would be helpful!

djbyrne avatar Jan 21 '18 09:01 djbyrne