参考:Tensorboard AttributeError: ‘module’ object has no attribute ‘cpu_count’ 解决方案:sudo pip install --upgrade psutil