- 博客(42)
- 收藏
- 关注
原创 ICCV 2021《Hypercorrelation Squeeze for Few-Shot Segmentation》FSS论文笔记
链接讲的很清楚详细。
2023-02-19 19:00:57
308
原创 《GDC — Generalized Distribution Calibration for Few-Shot Learning》FSL论文笔记(属于data augmentation)
2.提出了广义抽样方法(generalized sampling method)——GDC(generalized distribution calibration)3.使用到了协方差收缩(covariance shrinkage),来预防由于过度参数化特征或小规模数据集而引起的奇异协方差(singular variance)4.不同于DC,GDC在训练数据集中样本类差异值较大(相似度较小)的情况下也表现的很好5.在常见few-shot数据集进行了实验,在跨域数据集也进行了实验。
2023-02-13 16:06:08
330
原创 ICLR 2021《FREE LUNCH FOR FEW-SHOT LEARNING: DISTRIBUTION CALIBRATION》
直接放相关链接
2023-01-11 16:48:02
229
原创 ECCV 2022《Tip-Adapter: Training-free Adaption of CLIP for Few-shot Classification》
这篇文章中,作者提出了一种 **Training-free adaption method for CLIP** module来执行小样本分类任务,简写为**Tip-Adapter**。不仅继承了zero-shot CLIP不用训练(training-free)的优点,而且性能与那些需要训练的方法表现相当!
2023-01-07 23:27:09
794
原创 ECCV 2022《Few-Shot Classification with Contrastive Learning》
作者指出他们提出了一种新颖的基于对比学习的FSL网络框架,这种框架可以将对比学习很好的集成到现在广泛使用的two-stage training paradigm(包括pre-training和meta-learning两个stages)在pre-training stage,提出了,包括两种对比关系:1️⃣feature vector .vs. feature map2️⃣feature map .vs. feature map。
2023-01-07 18:28:29
1422
原创 《Learning to remember rare events》FSS论文笔记(属于external memory)
《Learning to remember rare events》FSS论文笔记(属于external memory)
2023-01-04 15:50:00
197
1
原创 《Matching Networks for One Shot Learning》《Meta-Learning with Memory-Augmented Neural Network》论文笔记
《Matching Networks for One Shot Learning》《Meta-Learning with Memory-Augmented Neural Network》论文笔记
2022-12-30 23:18:02
147
原创 ECCV 2022 Self-Support Few-Shot Semantic Segmentation
⭐转载自这是paper作者自己写的,非常清楚,推荐阅读~(膜拜大佬)
2022-12-10 10:21:51
324
原创 ECCV 2022 Cross-Domain Few-Shot Semantic Segmentation
小样本语义分割目的是只需要少量标注样本就可以分割一个新的class大多数现有的方法都默认基类和新类是来自相同的域外加现实因素的影响:很多领域想要收集大量的有标注的样本是非常困难的因此在现实因素+现有方法缺陷的推动下,paper提出了CD-FSS,想要将meta-knowledge从具有足够训练标签的domain推广到low-resource domain,也就是只有少量训练标签的domain还建立了 CD-FSS 任务的benchmark,并以任务难度测量为特征提出了一种基于……
2022-11-29 00:17:09
1179
2
原创 20221122【深度学习】学习笔记
知识不进脑子啊这(bushi)meta learning,transfer learning,zero-shot learning,few-shot learning and blablabla……
2022-11-22 21:37:14
312
原创 【CSP练习】门禁系统和Z字形扫描
201412-1 门禁系统(100)#include <bits/stdc++.h>using namespace std;int main(){ vector<int> rec; map<int,int> nums; int n; cin>>n; int x; for(int i=0;i<n;i++){ cin>>x; if(find(rec.begin(),rec.end(),x)==rec.end()){
2022-05-30 20:45:07
158
原创 ACwing 刷题 2022/3/18
+3道 第39场周赛题目42.栈的压入、弹出序列1.本题目算下来只有两种操作(1)栈顶元素和弹出序列当前元素不匹配,继续压入(如果弹出更不匹配了)(2)栈顶元素和弹出序列当前元素匹配,直接弹出栈顶元素(如果不弹,意味着要再弹出一些元素后才能得到该栈顶元素,必不正确)2.代码中为什么是while循环而非if、只判断一次呢?答:因为每弹出一个元素,我们的弹出序列移动到下一个元素,序列元素是新的,我们的栈顶元素也是新的!(因为弹出了旧的栈顶元素),如果只匹配一次,相当于跳过了当前栈顶元素、只将新压入.
2022-03-18 12:33:02
662
原创 CCF-CSP题解 201609-4 交通规划
迪杰斯特拉算法的变形,关键在于多了一个保存cost的数组。#include <bits/stdc++.h>using namespace std;const int maxn=10000;const int maxd=1000+1;int cost[maxn+1],flag[maxn+1],dist[maxn+1];int n,m;struct Edge{ int v; int cost;};vector<Edge> G[maxn+1];struct Node
2022-03-17 14:46:10
201
原创 ACwing 刷题 2022/3/17
40.顺时针打印矩阵class Solution {public: vector<int> printMatrix(vector<vector<int> > matrix) { vector<int> res; if(matrix.empty()) return res; int n=matrix.size(),m=matrix[0].size(); vector<vector&
2022-03-17 11:12:58
65
原创 ACwing 刷题 2022/3/14
34.链表中环的入口节点注意,我的错误在于两个指针初始化。错在指把快指针初始化成head->next->next,慢指针初始化成head,仔细想想这样相当于慢指针比快指针少走了一次!!!
2022-03-14 09:05:20
1653
原创 ACwing 刷题 2022/3/12
今日完成25.剪绳子题目类型:动态规划DP问题注意:和01背包还是有些区别,两种题目似乎都和求解某种情况下的最大值有关,背包问题的选不选物品对应于剪绳子问题的剪不剪。但剪绳子外层循环作为dp数组的下标,而背包问题内层循环对应于dp数组的下标。且本题不能用递归进行(个人想法)。class Solution {public: int maxProductAfterCutting(int length) { vector<int> dp(length+1,0
2022-03-12 10:12:41
1348
原创 ACwing 刷题 2022/3/11
2022.旋转数组的最小数字个人AC代码思路有些复杂,而且中间的很多错误都是在调试中改过来的。今日完成:注:最后一题的机器人是BFS类问题,里面有需要求一个数字每一位和的步骤。class Solution {public: int findMin(vector<int>& nums) { if(nums.size()==0) return -1; int left=0; int right=nums.size()-1
2022-03-11 11:21:10
176
原创 ACwing 刷题 2022/3/10
只记录做了的题目和感觉有收获的题目今日完成:18.重建二叉树好久没做这种基础题了,感觉都不回了……果然基础很重要。/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; *
2022-03-10 10:06:40
868
原创 CSP 201803-3 URL映射
题目自行百度50分代码#include <bits/stdc++.h>using namespace std;const int maxn=100+5;int n,m;//规则数n和待处理的规则数m vector<string> rule(maxn);//保存规则字符串vector<string> name(maxn);//保存规则对应的名字 vector<string> deal(maxn);//保存待处理的字符串 int main(){
2022-03-06 10:18:45
333
原创 CSP 201709-4 通信网络(30分,运行超时)
题目自行百度30分代码#include <bits/stdc++.h>using namespace std;int N,M;const int maxn=1000+5;set<int> record[maxn];//用来保存每个节点知道的节点struct Node;struct Edge;struct Graph { map<int,Node> nodes;//保存节点 vector<Edge> edges;//保存边 };Gr
2022-03-02 21:31:12
179
原创 201709-3 JSON查询
题目自行百度直接上代码参考博客#include <bits/stdc++.h>using namespace std;map<string,string> dic;int n,m;void format(string &s){ for(int i=0;i<s.size();i++) { if(s[i]=='\\') s.erase(s.begin()+i); }}void deal(string &information,s
2022-02-28 21:03:31
131
原创 201709-2 公共钥匙盒
题目自行百度代码#include <bits/stdc++.h>using namespace std;int N,K,w,s,c;const int maxn=1000+5;int k[maxn];struct Node{ int key;//钥匙编号 int s;//拿走或者归还时刻 int flag;//0:拿走 1:归还 Node(int kk,int ss,int ff){ key=kk; s=ss; flag=ff; }};bool
2022-02-28 17:17:13
92
原创 2022/2/22 剑指OFFER 练习
剑指 Offer 27. 二叉树的镜像1.方法:后序遍历来交换左右子树2.代码class Solution {public: TreeNode* mirrorTree(TreeNode* root) { if(root==NULL) return root; TreeNode* tmpl=mirrorTree(root->left); TreeNode* tmpr=mirrorTree(root->r
2022-02-22 14:23:28
49
原创 CSP 2021-9-2 非零段数组的划分
答案(100分)#include <bits/stdc++.h>using namespace std;const int maxn=50000+5;set<int> pnumber;//目的:不需要从p=2遍历到max值,只需遍历出现过的数字即可 vector<int> loc[maxn];//目的:快速定位每个数字的下标位置int n;vector<int> A;//保存数组 int main(){ scanf("%d",&n)
2022-02-22 11:19:55
406
原创 UVA 725 除法 暴力搜索的同时需要缩小搜索范围
UVA 725 除法题目解决思路代码(已AC)题目https://vjudge.net/problem/UVA-725解决思路暴力搜索,当同时要缩小搜索的范围,这是关键。代码(已AC)#include <iostream>#include <cstring>using namespace std;int list[10],f[5],b[5];bool judge(int number,int *d){ int t=number; int yu,cnt=0;
2021-08-25 11:03:37
70
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人