pytorch问题:
1、RuntimeError: DataLoader worker (pid(s) 31615, 31618, 31619) exited unexpectedly
解决:设置num_workers=0
2、pyyaml升级问题
ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
解决:
大致意思不能卸载,这是一个 distutils 安装的项目,因此我们无法准确确定哪些文件属于它,这只会导致部分卸载。
暴力忽视错误升级:
pip install --ignore-installed PyYAML