- 博客(15)
- 收藏
- 关注
原创 npy文件转换成png
import matplotlib.pyplot as pltimport numpy as npimport scipy.miscimport osfrom skimage.transform import resizefile_dir = r"C:/Users/DELL/Desktop/FulFrame_Mean_Image_227x227" # npy文件路径dest_dir = r"C:/Users/DELL/Desktop/FulFrame_Mean_Image_227x227..
2021-07-30 10:35:21
1455
1
原创 使用预训练的ResNet50提取图片的特征向量
1.提取单张图片的特征向量import os.pathimport torchimport torch.nn as nnfrom torchvision import models, transformsfrom torch.autograd import Variableimport numpy as npfrom PIL import Imagefeatures_dir = './features' # 存放特征的文件夹路径img_path = "FullFrame1/
2021-07-30 10:07:15
9991
9
原创 embedding代码链接
https://bhttps://blog.csdn.net/weixin_42078618/article/details/84553940log.csdn.net/lzx159951/article/details/118884107?spm=1001.2014.3001.5501https://blog.csdn.net/lzx159951/article/details/118483249?spm=1001.2014.3001.5501log常用方法总结
2021-07-28 09:53:49
189
原创 各种链接eeee
view()与reshape()的区别:https://blog.csdn.net/Flag_ing/article/details/109129752
2021-06-09 17:40:27
202
原创 Pytorch学习笔记1:线性模型
进行深度学习的整个过程:1.数据集DadaSet的准备2.模型Moddel的选择3.训练Training4.推理Inferring假设学生花掉x消失时间学习,那么在最后的期末考试中得到的分数是y,问题是如果每天花四个小时学习,最后分数是多少?前三条是训练过程使用的数据,最后一条是测试过程使用的数据x(hours) y(points) 1 2 2 4 3 6 4 ? Machine Learning的过程:把数据集交付给算法,进行.
2021-05-24 21:12:39
169
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人