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

怎样在网络中添加注意力机制 #47

Closed
aidongmandexiaowowo opened this issue Aug 31, 2021 · 4 comments
Closed

怎样在网络中添加注意力机制 #47

aidongmandexiaowowo opened this issue Aug 31, 2021 · 4 comments

Comments

@aidongmandexiaowowo
Copy link

怎样将SE,CBAM等注意力机制加入到主干网络中呢,是在backbone中修改程序吗,怎样改呢,.yaml文件需要改么
How to add SE, CBAM and other attention mechanisms to the backbone network?

@Bobo-y
Copy link
Owner

Bobo-y commented Aug 31, 2021

yaml 基本不用改,除了resent 别的我都没有设置那个开关,关于增加SE 可以参考 backbone/mobilenetv3.py 这里面默认使用了SE,CBAM可以参考resent.py @aidongmandexiaowowo

@aidongmandexiaowowo
Copy link
Author

aidongmandexiaowowo commented Aug 31, 2021 via email

@Bobo-y
Copy link
Owner

Bobo-y commented Aug 31, 2021

sw-transformer 已经实现了,只需要选择它的 yaml 就行了,dropblock 和 coord_conv 由于我没有验证,所以没有提供现成的集成,可以参照resent 里面的CBAM和dcn 那样就行增加,或者看看别的使用该模块的代码这么加的 @aidongmandexiaowowo

@aidongmandexiaowowo
Copy link
Author

嗯嗯 ,好的,等着我试一下,先试一下其他实例,谢谢

@Bobo-y Bobo-y closed this as completed Aug 31, 2021
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