- 博客(6)
- 资源 (1)
- 收藏
- 关注
原创 记:关于Pytorch中Linear结构与参数权重查看
记:关于Pytorch中Linear结构与参数权重查看代码段:import torchx = torch.ones(1,3)y = torch.nn.Linear(3,3,bias=True)print(x)print(y)out = y.forward(x)print(out)print(y.state_dict().keys()) # 查看有哪些参量print(y.weight) # 输出weight参量print(y.bias)
2021-10-21 20:18:59
2866
原创 解决:word打开后mathtype公式乱码、visio图乱码
解决:word打开后mathtype公式乱码、visio图乱码当打开很久之前的word时,出现mathtype公式和visio图乱码情况:解决方法:word中:文件-选项-高级-取消勾选显示域代码就可以正常显示公式:
2021-04-19 19:25:22
5523
5
原创 解决Pytorch:raise err OSError: [WinError 126] 找不到指定的模块caffe2_detectron_ops.dll” or one of its dependen
解决Pytorch:raise err OSError: [WinError 126] 找不到指定的模块 问题在初次导入torch模块时,出现 raise err OSError: [WinError 126] … 问题,引起这类问题的原因很可能是由于没有安装相关的C++环境。解决方法:下载Visual C++ Redistributable运行库,64位版本下载地址为 https://www.microsoft.com/zh-cn/download/confirmation.aspx?id=48145
2020-11-25 21:51:45
10112
4
原创 解决:EndNote 参考文献序号[10]之后有空格问题
解决:EndNote 参考文献序号[10]之后有空格问题问题:在使用Endnote时,采用Chinese Std GBT7714时,出现在序号[10]之后多空格,难以对其:解决方法:文献处右键-段落-制表位将默认制表位修改为 0.5 即可:修改后效果:...
2020-11-24 16:57:30
40436
4
原创 解决pytorch报错RuntimeError: exp_vml_cpu not implemented for ‘Byte‘问题:
解决pytorch报错RuntimeError: exp_vml_cpu not implemented for 'Byte’问题:在调试代码过程中遇到报错:RuntimeError: exp_vml_cpu not implemented for 'Byte'通过提示可知,报错是因为exp_vml_cpu 不能用于Byte类型计算,这里通过 .dtype 来查看要运算的tensor类型:print(outputs.dtype)输出:torch.uint8而在计算中,默认采用 torch
2020-10-08 10:58:14
8485
1
原创 pytorch学习路上遇到的坑
pytorch学习路上遇到的坑关于pytorch初次运行时,出现了这样的错误:TimeoutError: Lock error: Matplotlib failed to acquire the following lock file: C:\Users\Administrator.matplotlib\fontlist-v330.json.matplotlib-lock This maybe due to another process holding this lock file. If
2020-07-24 17:38:22
1819
2
Deconvolution and Checkerboard Artifacts.pdf
2020-07-22
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人