自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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 137

原创 安装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 207

原创 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 142

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除