KaihuaTang / Long-Tailed-Recognition.pytorch

[NeurIPS 2020] This project provides a strong single-stage baseline for Long-Tailed Classification, Detection, and Instance Segmentation (LVIS). It is also a PyTorch implementation of the NeurIPS 2020 paper 'Long-Tailed Classification by Keeping the Good and Removing the Bad Momentum Causal Effect'.
GNU General Public License v3.0
560 stars 68 forks source link

关于do(X=x) #19

Open sunxia233 opened 3 years ago

sunxia233 commented 3 years ago

感谢您的工作,极大的开拓了我的眼界。我想请问一下,您论文中的do(X=x)操作,去除了M对X的影响,我不是很理解是怎么做到的,看了您的代码也没有很理清头绪,想请问您,这部分的代码是在哪里实现的呢,期待您的回复,感谢。

sunxia233 commented 3 years ago

我重新看了一下intervention和do运算,为了消除M对X的影响,这里是考虑头部类别和尾部类别数量不均衡的情况,因此是以控制变量的思想使用ClassAwaresampler的让尾部数据和头部数据采样一样多的次数是这样把。。