1、安装环境
将requirement.txt 中的
pytorch_lightning==1.9.5
2、ModuleNotFoundError: Neither tensorboard
nor tensorboardX
is available.
from pytorch_lightning.plugins import DDPPlugin > from pytorch_lightning.strategies import DDPStrategy