会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
fuge92
博客园
首页
新随笔
新文章
联系
管理
订阅
2019年9月11日
pytorch卷积模块
摘要: nn.Conv2d() 常用的参数有in_channels,out_channels,kernel_size,stride,padding; 除此之外还有参数dilation,groups,bias in_channels对应的是输入数据体的深度; out_channels表示输出数据体的深度; k
阅读全文
posted @ 2019-09-11 21:52 fuge92
阅读(323)
评论(0)
推荐(0)
2019年9月5日
图像增强
摘要: https://github.com/mgharbi/hdrnet
阅读全文
posted @ 2019-09-05 16:53 fuge92
阅读(139)
评论(0)
推荐(0)
图像去噪
摘要: https://github.com/wenbihan/reproducible-image-denoising-state-of-the-art https://github.com/google/RED https://github.com/flyywh/Image-Denoising-Stat
阅读全文
posted @ 2019-09-05 16:50 fuge92
阅读(137)
评论(0)
推荐(0)
2019年9月3日
can't convert CUDA tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first.
摘要: predict=predict.data.numpy() 这一行报错意思是:如果想把CUDA tensor格式的数据改成numpy时,需要先将其转换成cpu float-tensor随后再转到numpy格式。 numpy不能读取CUDA tensor 需要将它转化为 CPU tensor将predi
阅读全文
posted @ 2019-09-03 17:23 fuge92
阅读(1745)
评论(0)
推荐(0)
RuntimeError: Expected object of backend CUDA but got backend CPU for argument #4 'mat1'
摘要: 原因:变量没有加cuda data=data.cuda()
阅读全文
posted @ 2019-09-03 17:19 fuge92
阅读(6507)
评论(0)
推荐(0)
IndexError: invalid index of a 0-dim tensor. Use tensor.item() to convert a 0-dim tensor to a Python number
摘要: 将loss.data[0] 改为loss.item()
阅读全文
posted @ 2019-09-03 17:05 fuge92
阅读(2266)
评论(0)
推荐(1)
参数更新
摘要: 1、参数更新 SGD、Momentum、AdaGrad(学习率衰减)、Adam 2、权重初始值 Xavier初始值(sigmoid、tanh)、He初始值(relu) 3、Batch Normalization 4、正则化 5、权重衰减 6、Dropout 7、超参数(贝叶斯最优化) 设定超参数的范
阅读全文
posted @ 2019-09-03 10:47 fuge92
阅读(289)
评论(0)
推荐(0)
2019年9月1日
安装labelme
摘要: 按照下面指令安装 conda create --name=labelme python3.6(根据下载的python版本而定) activate labelme conda install pyqt conda install pillow pip install labelme 删除坏境 cond
阅读全文
posted @ 2019-09-01 17:43 fuge92
阅读(758)
评论(0)
推荐(0)
公告