Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

生成数据时,提取的网络激活位置是否有bug? #18

Open
Fangkang515 opened this issue Feb 25, 2021 · 1 comment
Open

生成数据时,提取的网络激活位置是否有bug? #18

Fangkang515 opened this issue Feb 25, 2021 · 1 comment

Comments

@Fangkang515
Copy link

感谢您的杰出工作,有一个小问题想问下:

在distill_data.py中:

image

87行代码,hook提取到的特征都是卷积后的值,但这种做法是不是默认了卷积后一定是BN?
如果一个网络存在某些conv后没有加BN,那么此时计算论文中公式3,可能是“不同层的两个BN参数间的计算”

感谢~

@ThisisBillhe
Copy link

确实,如果Conv后不是BN的话就会有这个问题,比如EfficientNet。
(这个仓库是这位UCB教授的,所以他可能看不懂中文hh)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants