
深度学习
文章平均质量分 73
小鬼漫步
这个作者很懒,什么都没留下…
展开
-
Visual Prompt Tuning 笔记
Prompt在纯CV中的应用原创 2022-08-05 16:27:58 · 992 阅读 · 1 评论 -
PyTorch中tensor的相关操作
PyTorch中tensor的相关操作list、numpy、tensor两两之间的相关转换list 转 numpynumpy 转 list用numpy创建tensorlist 转 torch.Tensortorch.Tensor 转 listtorch.Tensor 转换为numpytensor(PyTorch)的一些基本操作tensor 设置数据类型tensor 创建注意的几个Tips单个元素tensor取值不同维度tensor最大值(最小值)的选择tensor 的拆分、拼接、加减乘除、乘方、开方、指数、原创 2022-03-08 20:32:49 · 2776 阅读 · 0 评论 -
This Looks Like That: Deep Learning for Interpretable Image Recognition解读
文章目录This Looks Like That: Deep Learning for Interpretable Image RecognitionMotivationMain ideaMain ContributionsMethodArchitectureTrainingConclusionThinkThis Looks Like That: Deep Learning for Interpretable Image Recognition文章来源:NIPS 2019Motivation当面临具原创 2021-10-03 17:15:41 · 1743 阅读 · 6 评论 -
Neural Prototype Trees for Interpretable Fine-grained Image Recognition解读
文章目录Neural Prototype Trees for Interpretable Fine-grained Image RecognitionMotivationMain ideaMain ContributionsMethodArchitectureTrainingPruningDeterministic reasoningConclusionThinkNeural Prototype Trees for Interpretable Fine-grained Image Recognition原创 2021-10-02 15:22:38 · 834 阅读 · 0 评论 -
jupyter notebook调用conda 新建的环境
jupyter notebook调用conda 新建的环境具体实现代码如下# 进入新建的环境(base) hu@ubuntu-server:~$ conda activate pyt38# 在新建的环境中安装 ipykernel(pyt38) hu@ubuntu-server:~$ conda install ipykernel# 将环境写入notebook的kernel中(pyt38) hu@ubuntu-server:~$ python -m ipykernel install --use原创 2021-06-18 23:04:52 · 210 阅读 · 0 评论 -
远程调用服务器的jupyter notebook设置
文章目录远程调用服务器的jupyter notebook设置远程调用服务器的jupyter notebook设置具体实现代码如下(base) hu@ubuntu-server:~$ jupyter notebook --generate-config(base) hu@ubuntu-server:~$ ipythonIn [1]: from notebook.auth import passwdIn [2]: passwd()Enter password: ****Verify passwo原创 2021-06-18 23:01:25 · 211 阅读 · 0 评论 -
Pytorch之DataLoader & Dataset、datasets、models、transforms的认识和学习
文章目录利用PyTorch框架来开发深度学习算法时几个基础的模块Dataset & DataLoader基础概念自定义数据集 1读取自定义数据集 1自定义数据集 2自定义数据集3官方文档写自定义数据集DataLoader加载PyTorch提供的数据集datasets**datasets** 中有的数据集有ImageFolder 和 ImageNet 的配合使用models常用于Classification的模型常用于Semantic Segmentation的模型常用于 Object Detecti原创 2021-06-17 21:36:12 · 1921 阅读 · 0 评论 -
展示深度学习模型结构和参数的方法
文章目录展示模型的结构和参数pytorch-model-summary 的学习使用torchsummary 的学习使用pytorch-model-summary 和 torchsummary的不同参考资料展示模型的结构和参数模型可视化工具info 分析每一层的类型、shape 和 参数量模型整体的参数量模型大小,和 fp/bp 一次需要的内存大小,可以用来估计最佳 batch_size目前用于展示模型结构和参数的库主要有:pytorch_model_summary 和 torchsum原创 2021-06-11 21:27:04 · 840 阅读 · 5 评论