gangweiX / Fast-ACVNet

[TPAMI 2024] Fast-ACV: Fast Attention Concatenation Volume for Accurate and Real-time Stereo Matching
MIT License
356 stars 37 forks source link

关于Fast-acv-plus.py的一个小问题 #19

Open wqq999 opened 7 months ago

wqq999 commented 7 months ago

请问Fast-acv-plus.py中Fast_ACVNet_plus类的forward函数中,这段代码有什么作用? match_left = self.desc(self.conv(features_left[0])) match_right = self.desc(self.conv(features_right[0]))

其中: self.desc = nn.Conv2d(48, 48, kernel_size=1, padding=0, stride=1) 个人觉得这个操作只是做了通道数不变的1*1卷积,有什么特别的作用吗?

gangweiX commented 7 months ago

没有什么特别的含义,仅仅改变一下通道数

发件人:"night-king" @.> 发送日期:2024-03-23 20:23:11 收件人:"gangweiX/Fast-ACVNet" @.> 抄送人: 主 题:[gangweiX/Fast-ACVNet] 关于Fast-acv-plus.py的一个小问题 (Issue #19)

请问Fast-acv-plus.py中Fast_ACVNet_plus类的forward函数中,这段代码有什么作用? match_left = self.desc(self.conv(features_left[0])) match_right = self.desc(self.conv(features_right[0]))

其中: self.desc = nn.Conv2d(48, 48, kernel_size=1, padding=0, stride=1) 个人觉得这个操作只是做了通道数不变的1*1卷积,有什么特别的作用吗?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

wqq999 commented 7 months ago

好的,谢谢作者恢复,那我是否可以理解成self.desc 的部分可以舍去呢?

gangweiX commented 7 months ago

可以

发件人:"night-king" @.> 发送日期:2024-03-24 12:00:40 收件人:"gangweiX/Fast-ACVNet" @.> 抄送人: 主 题:Re: [gangweiX/Fast-ACVNet] 关于Fast-acv-plus.py的一个小问题 (Issue #19)

好的,谢谢作者恢复,那我是否可以理解成self.desc 的部分可以舍去呢?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>