I'm trying out tensorboard with pytorch by following this: https://pytorch.org/docs/stable/tensorboard.html
I've installed tensorboard with pip install tb-nightly
The command tensorboard --logdir=runs
starts ok.
But the line self.writer = SummaryWriter()
Gives the following error:
ModuleNotFoundError: No module named 'past'
How do I fix this?
Following this issue: https://github.com/pytorch/pytorch/issues/22389,
Adding future
to the list of requirements solved the problem
# requirements.txt:
tb-nightly
future
pip install -r requirements.txt
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With