Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SHYang1210 opened this issue Dec 7, 2019 · 0 comments
Open

Comments

@SHYang1210
Copy link

SHYang1210 commented Dec 7, 2019

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 SHYang1210 reopened this Dec 9, 2019
@SHYang1210 SHYang1210 changed the title ValueError: Error TypeError: expected str, bytes or os.PathLike object, not dict Dec 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant