
- 1、TensorBoard 版本太旧问题
- 2、ModuleNotFoundError: No module named 'past'
- 3、RuntimeError: cuda runtime error (30) : unknown error at ..\aten\src\THC\THCGeneral.cpp:50
- 4、RuntimeError: CUDA out of memory
我的环境如下:
1、TensorBoard 版本太旧问题系统:win11
编译器:pycharm
python :3.6
torch:1.2.0
torchvision:0.4.0
bug:
ImportError: TensorBoard logging requires TensorBoard with Python summary writer installed. This should be available in 1.14 or above.
解决:
2、ModuleNotFoundError: No module named ‘past’很简单,我就直接打开win+R,激活我的pytorch环境,然后输入:
pip install tensorboard==1.14.0
bug:
ModuleNotFoundError: No module named ‘past’
解决:
参考这篇链接
bug:
RuntimeError: cuda runtime error (30) : unknown error at …\aten\src\THC\THCGeneral.cpp:50
解决:
我是打开我的设备管理器,更新了一下显卡就不再报错了
参考:链接
4、RuntimeError: CUDA out of memorybug:
RuntimeError: CUDA out of memory. Tried to allocate 128.00 MiB (GPU 0; 2.00 GiB total capacity; 1.25 GiB already allocated; 0 bytes free; 30.69 MiB cached)
解决:
参考链接
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)