摘要: Backbones(ResNet12/18、WRN、ConvNet) 复现链接:https://github.com/SethDeng/Backbones_In_Embedding 存在的问题: 1、WRN不对劲(准确度很差、训练时间很长) 2、train_acc < test_acc 阅读全文
posted @ 2021-10-28 01:28 SethDeng 阅读(22) 评论(0) 推荐(0) 编辑
摘要: Torch 中 view() & size() 在阅读论文源码过程中,经常会看到如下的命令: x = x.view(x.size(0), -1) # 改变 tensor 的形态 下面,本文简单介绍一下 view() 和 size() 函数的作用: view() import torch # 用法一 阅读全文
posted @ 2021-10-21 11:18 SethDeng 阅读(703) 评论(0) 推荐(0) 编辑
摘要: FLOPS & FLOPs & MACs 参考链接: https://www.zhihu.com/question/65305385 https://zhuanlan.zhihu.com/p/144938518 https://zhuanlan.zhihu.com/p/137719986 https 阅读全文
posted @ 2021-10-15 09:20 SethDeng 阅读(913) 评论(1) 推荐(0) 编辑
摘要: Differentiable Architecture Search Abstract: 将离散域的结构搜索问题转化为连续域的搜索问题,将计算速度提升了几个量级。 Contribution: 提出了一种基于双层优化的可微网络结构搜索算法,该算法适用于卷积和递归结构。 DARTS流程:(a)边上的操作 阅读全文
posted @ 2021-10-10 01:45 SethDeng 阅读(78) 评论(0) 推荐(0) 编辑
摘要: GPU & Nvidia Driver & Cuda & Cudatoolkit & Cudnn & Torch & Torchvision(简洁介绍) 先放一个比较完整的介绍:https://zhuanlan.zhihu.com/p/91334380 GPU: 就是显卡,用于深度学习计算的显卡基本 阅读全文
posted @ 2021-10-09 22:10 SethDeng 阅读(220) 评论(0) 推荐(0) 编辑
摘要: Tensor.squeeze & Tensor.unsqueeze 1 Tensor的维度 张量的的定义:一个 n 维的张量就是一维数组中的所有元素都是 n - 1 维的张量。 举例说明: import torch a = torch.rand(3) b = torch.rand(2, 3) c = 阅读全文
posted @ 2021-10-08 15:43 SethDeng 阅读(235) 评论(0) 推荐(0) 编辑
摘要: Distribution Propagation Graph Network for Few-shot Learning Abstract: This paper propose DPGN,which conveys both the distribution-level relations and 阅读全文
posted @ 2021-10-06 16:16 SethDeng 阅读(63) 评论(0) 推荐(0) 编辑
摘要: 训练集 & 验证集 & 测试集 划分比例一般为 6:2:2 训练集: 用来拟合模型,通过设置模型内部的参数,训练模型。 验证集: 作用是当通过训练集训练出多个模型后,为了能找出效果最佳的模型,使用各个模型对验证集数据进行预测,并记录模型准确率。选出效果最佳的模型所对应的参数,即用来调整模型参数。 测 阅读全文
posted @ 2021-10-06 15:32 SethDeng 阅读(271) 评论(0) 推荐(0) 编辑
摘要: FSL-GNN代码解读 main.py(主函数) 1、加载数据集: train_loader = generator.Generator(args.dataset_root, args, partition='train', dataset=args.dataset) 2、初始化或加载模型: enc 阅读全文
posted @ 2021-10-06 14:45 SethDeng 阅读(417) 评论(0) 推荐(0) 编辑
摘要: FSL-GNN Abstract: The first paper to use GNN handle the few-shot classification. Contributions: Using GNN to handle few-shot classification as a super 阅读全文
posted @ 2021-10-06 02:06 SethDeng 阅读(96) 评论(0) 推荐(0) 编辑