- 博客(689)
- 收藏
- 关注
原创 Ubuntu ——基本操作命令
1、移动2、复制/重命名3、删除4、新建5、运行shell 脚本文件6、为软件创建菜单图标7、查看ubuntu的版本8、下载文件9、查看文件大小10、查看文件夹大小11、解压文件
2021-11-05 22:34:48 5913
原创 Python——Debug的时候,报错:PermissionError: [WinError 5] 拒绝访问
Python——Debug的时候,报错:PermissionError: [WinError 5] 拒绝访问
2024-05-20 19:29:23 314
转载 报错解决——TypeError: only size-1 arrays can be converted to Python scalars
数据输入维度对不上
2024-05-19 16:17:07 9
原创 报错解决—— element 0 of tensors does not require grad and does not have a grad_fn
backward()的变量的requires_grad是False,会导致不会计算梯度,从而报错。
2024-05-18 22:25:04 235
原创 报错解决——- Can‘t parse ‘org‘. Sequence item with index 1 has a wrong type
你的输入是小数,函数要求输入是整数。
2024-05-18 22:22:06 74
转载 优化器——torch.optim.SGD 和 torch.optim.Adam的区别
优化器——torch.optim.SGD 和 torch.optim.Adam的区别
2024-04-25 11:09:19 53
原创 报错解决——[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread_(‘XX‘): can‘t open/read file: check
使用debug模式运行该程序
2024-04-24 18:16:41 284
原创 Pytorch——训练时,冻结网络部分参数的方法
要固定训练网络的哪几层,只需要找到这几层参数(parameter),然后将其 `.requires_grad` 属性设置为 `False` 。然后`修改优化器`,只将不被冻结的层传入。
2024-04-17 10:46:31 676
原创 报错解决——多batchsize时,RuntimeError: each element in list of batch should be of equal size
报错解决——多batchsize时,RuntimeError: each element in list of batch should be of equal size
2024-04-16 18:35:34 148
短按选择长按确定并有蜂鸣器提示且加上了串口屏显示(STM32,HMI).rar
2020-06-07
TA创建的收藏夹 TA关注的收藏夹
TA关注的人