Issue
I'm coding in Python on a Jupyter Notebook (Python 3) on Windows, and I've installed PyTorch and TensorBoard. My problem is that i'm getting this error message:
ModuleNotFoundError: No module named 'torch.utils.tensorboard'
I've already tried to use pip install future
but the error remains, how can I fix this?
Here's how I'm importing torch.utils.tensorboard
from torch.utils.tensorboard import SummaryWriter
Solution
Use pip install tensorboard or pip3 install tensorboard
OR
pip install --upgrade tensorboard && pip install --upgrade torch
Answered By - Karandeepdps
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.