You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@DhDeepLIT thanks for the report !
It looks like to be related to different signatures of SummayWriter between torch internal tensorboard and tensorboardX:
@DhDeepLIT if you would like to contribute, do not hesitate to send a PR with a fix.
Seems like there are only two places where need to change: logdir -> log_dir:
馃悰 Bug description
Example for mnist with tensorboard does not work due to wrong arg name.
Traceback (most recent call last):
File "mnist_with_tensorboard.py", line 161, in
run(args.batch_size, args.val_batch_size, args.epochs, args.lr, args.momentum, args.log_interval, args.log_dir)
File "mnist_with_tensorboard.py", line 89, in run
writer = create_summary_writer(model, train_loader, log_dir)
File "mnist_with_tensorboard.py", line 76, in create_summary_writer
writer = SummaryWriter(logdir=log_dir)
TypeError: init() got an unexpected keyword argument 'logdir'
Just something that runs ....
Environment
Ubuntu 18.06 LTS, dual 1080Ti, 32 Go RAM, intel i7-2600K
The text was updated successfully, but these errors were encountered: