![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
学习资料
Python_print
这个作者很懒,什么都没留下…
展开
-
基于Resnet50的pytorch框架下的图像特征提取
在Resnet50CNN结构下实现图像的特征提取,这里采用的是CV2的图像读入方式,最后再把得到的图像转换成npy格式进行输出得得,图像对应的特征。# -*- coding: utf-8 -*-"""Function: 图像特征的提取,可以依据需求修改CNN的输出,得到不同层网络的输出图像特征Writer: Zenghtdate:2019.2.16"""from __futur...原创 2019-02-16 16:32:32 · 15479 阅读 · 7 评论 -
利用Opencv模式进行图像读入下的Pytorch Finetune
# -*- coding: utf-8 -*-"""Auther : Haitao Zengdate : 2019.2.14Function: finetune the pre-trained model on MIT67 & SUN397"""from __future__ import print_function, division, absolute_import...原创 2019-02-15 15:55:47 · 2237 阅读 · 0 评论 -
pytorch框架下的Finetune 以及ResNet50 代码
Resnet 50# -*- coding: utf-8 -*-import torch.nn as nnimport mathimport torch.utils.model_zoo as model_zooclass residual_block(nn.Module): expansion = 4 def __init__(self, inplanes...原创 2018-12-19 16:23:53 · 6301 阅读 · 3 评论