自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 资源 (9)
  • 收藏
  • 关注

原创 pytorch-obtain feature maps from network

1.import torch import torch.nn as nnimport torchvision.models as modelsfrom torch.autograd import Variableimport timeclass toyNet(nn.Module): def __init__(self, pretrained_model, layers

2017-05-29 21:04:35 1640

原创 pytorch-fineturn the network and adjust learning rate

1. ignored_params = list(map(id, model.fc.parameters()))base_params = filter(lambda p: id(p) not in ignored_params, model.parameters())optimizer = torch.optim.SGD([            {'params': base_params},...

2017-05-29 20:09:56 1804

原创 pytorch-save and load models

1.torch.save(model_name.static_dict(), name_to_save)net = ModelClass(args)net.load_static_dict(torch.load(PATH))2.torch.save(model, PATH)net = torch.load(PATH)

2017-05-29 17:12:34 5615

原创 pytorch-parameter initialization

torch.nn.initweight.data.fill_(1)bias.data.fill_(0)weight.data.uniform_(-stdv, stdv)1. params = list(net.parameters())2. conv2params = list(net.conv2.parameters())kernels  conv2params[0]bias conv2para...

2017-05-29 16:53:18 5286

原创 pytorch-torchvision.models

1.vgg16 = models.vgg16(pretrained=True)

2017-05-29 16:27:37 3560

原创 pytorch-class nn.Module

1. .children()return a generator objectlen(list(net.children()))nn.Sequential(*list(net.children())[:10])where. net is an object of Model2. register_backward_hook()

2017-05-29 16:18:36 3491

原创 linux-run command background

1. nohup commant &2. screen

2017-05-28 22:35:09 966

原创 Linux-Download tools

1. wget wget -O new_name.zip urlwget urlwget -b wget -c 2. axel axel -an 4 url---------------------------------reference-----------------1. http://blog.csdn.net

2017-05-28 22:20:59 806

原创 python-strip lstrip rstrip

str.strip()str.lstrip('0')str.rstrip('0')

2017-05-13 15:46:14 489 1

原创 python-pandas

0.pd.read_csv()1. .columns.index

2017-05-06 10:34:17 256

Picasa_3.9

免费,最新版本,非常好用,有google强大的技术支持,让你在windows下有mac的体验。

2015-06-04

MSP430用户使用手册

MSP430单片机用户使用手册,英文原版, M430系列通用值得收藏。

2013-08-23

木马清除百种方法.chm

木马清除百种方法.chm。百种方法值得收藏!

2013-07-26

Google使用全攻略

Google搜索怎么用??怎么才能发挥它最大作用,,快来看看Google使用全攻略,值得收藏!

2013-06-16

photoshop实例教程

photoshop入门教程,大量实例,简单易学,值得收藏|!!

2013-06-16

Fdisk分区教程

分区必备,简单易学,长知识,值得收藏!

2013-06-14

软件破解入门教程和解密手册

全面详细的介绍了软件破解方面的知识和技巧,好东西共享一下,值得收藏!

2013-06-14

注册表使用手册

电脑高手必备的关于注册表方面的知识,,内容全面,值得收藏!

2013-06-14

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除