- 博客(3)
- 问答 (1)
- 收藏
- 关注
原创 TypeError: A string has ambiguous TensorShape, please wrap in a list or convert to an int: hidden_di
类型错误:字符串是没有形状的解决办法:请检查参数:hidden_di的传入方法是不是正确的。
2021-06-19 18:35:03 144
原创 安装pyinstaller时报错
安装pyinstaller时报错:pip install pyinstallerERROR: Command errored out with exit status 1:解决办法:直接手动下载:到这里:pyinstaller选择:解压到本地目录。进入CMD:cd 到上面目录。执行命令:python setup.py install如图:看到下面图,安装成功:...
2021-05-16 15:39:03 210
原创 CUDA out of memory
RuntimeError: CUDA out of memory. Tried to allocate 16.00 MiB (GPU 0; 6.00 GiB total capacity; 4.53 GiB already allocated; 10.82 MiB free; 4.57 GiB reserved in total by PyTorch)这个是读取的内容太多,溢出了。把batch_size放小一点。
2021-05-12 17:53:45 154
空空如也
ImportError: cannot import name 'Parallel'
2021-07-14
TA创建的收藏夹 TA关注的收藏夹
TA关注的人