Toggle navigation
Yu Zhang ’s Blog
Home
About
Tags
Tags
A mind needs books like a sword needs a whetstone.
Yu Zhang ’s Blog
follow your heart
Pytorch learning 2
pytorch learning 2 1. 对Resnet的理解: 从宏观上看是一个weight layer + 激活函数 + weight layer的结构,但还需理解weight layer中的结构特性 可以具体拆分开是 # Resnet block结构:conv + BN conv1 + BN1 = weight layer1 conv2 + BN2 = weight laye...
Posted by Yu Zhang ’s Blog on May 16, 2020
Pytorch learning 1
pytorch learning 1: acc_sum += (net(X.to(device)).argmax(dim=1) == y.to(device)).float().sum().cpu().item() # dim = 1 每一行的最大列索引下标 batch size/ epoch/ iteration 的关系 一个epoch指代**所有的数据**送入网络中完成一次前...
Posted by Yu Zhang ’s Blog on May 16, 2020
FEATURED TAGS
ABOUT ME
一定会更疯狂。
FRIENDS
Yuyu.Z Blog
Spike Spiegel
Jet Black
Faye Valentine
Ein
-->