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: __init__() got an unexpected keyword argument 'log_dir' #71

Open
sycztrf opened this issue Jun 12, 2019 · 0 comments
Open

TypeError: __init__() got an unexpected keyword argument 'log_dir' #71

sycztrf opened this issue Jun 12, 2019 · 0 comments

Comments

@sycztrf
Copy link

sycztrf commented Jun 12, 2019

Traceback (most recent call last):
File "script/experiment/train_ml.py", line 850, in
main()
File "script/experiment/train_ml.py", line 806, in main
writer = SummaryWriter(log_dir=osp.join(cfg.exp_dir, 'tensorboard'))
File "/home/user2/anaconda3/envs/runfa2/lib/python2.7/site-packages/tensorboardX/writer.py", line 254, in init
self._get_file_writer()
File "/home/user2/anaconda3/envs/runfa2/lib/python2.7/site-packages/tensorboardX/writer.py", line 310, in _get_file_writer
self.file_writer = FileWriter(logdir=self.logdir, **self.kwargs)
TypeError: init() got an unexpected keyword argument 'log_dir'

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