ImportError: cannot import name ‘SummaryWriter’ from ‘torch.utils.tensorboard’ (D:\dev\python\Anaconda3\envs\pytroch\lib\site-packages\torch\utils\tensorboard_init_.py)
error1894×877 122 KB
it’s my environment:

python 3.7 ,
pytroch 1.6
tensorboard 2.2.1