ac-teach icon indicating copy to clipboard operation
ac-teach copied to clipboard

TypeError: expected str, bytes or os.PathLike object, not dict

Open SHYang1210 opened this issue 5 years ago • 0 comments

Thanks for your open source. When I run under pycharm terminal, I get the following error: Traceback (most recent call last): File "scripts/run.py", line 179, in for eval_reward in run(learner_type, logger.get_dir(), **conf): File "scripts/run.py", line 82, in run for eval_reward in learner.learn(num_timesteps, behavior_policy, log_interval=log_interval): File "/home/xxx/ac-teach/src/rl_with_teachers/learners.py", line 326, in learn with SetVerbosity(self.verbose), TensorboardWriter(self.graph, self.tensorboard_log, tb_log_name, new_tb_log)
File "/home/xxx/anaconda3/lib/python3.6/site-packages/stable_baselines/common/base_class.py", line 1034, in enter save_path = os.path.join(self.tensorboard_log_path, "{}_{}".format(self.tb_log_name, latest_run_id)) File "/home/xxx/anaconda3/lib/python3.6/posixpath.py", line 80, in join a = os.fspath(a) TypeError: expected str, bytes or os.PathLike object, not dict Looking forward to your help,thank you

SHYang1210 avatar Dec 07 '19 12:12 SHYang1210