![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
pytorch
Serrie.
心存敬畏
展开
-
SSD网络以及FSSD网络结构基于pytorch的搭建
SSD网络,具体可阅读SSD相关论文:SSD网络:#-*-coding:utf-8-*-import torchimport torch.nn as nnimport torch.nn.functional as Ffrom torch.autograd import Variableimport osbase = { '300' : [64, 64, 'M', ...原创 2019-04-12 09:06:42 · 2012 阅读 · 6 评论 -
使用torch以及tensorflow训练一个最简单网络的基本步骤
torch:import torchimport torch.nn.functional as Fimport matplotlib.pyplot as pltx = torch.Tensor.unsqueeze(torch.Tensor.linspace(-1, 1, 100), dim=1) # x data (tensor), shape=(100, 1)y = x.po...原创 2019-04-12 09:19:38 · 674 阅读 · 0 评论 -
超分辨率网络ESPCN中的pixel shuffle--几种代码思路(基于TF, Pytorch)
方法一:源码来自github:https://github.com/JuheonYi/VESPCN-tensorflow中 ESPCN部分首先简单的来看ESPCN的网络结构搭建 conv--conv--conv--ps def network(self, LR): feature_tmp = tf.layers.conv2d(LR, 64, 5, stri...原创 2019-07-10 11:46:32 · 4516 阅读 · 1 评论