hnluo
2023-08-02 0b359919f19f03cbfa71d8ca9919dfbb51e5c7cd
Merge pull request #796 from alibaba-damo-academy/dev_lhn

fix uniasr finetune bug
1个文件已修改
3 ■■■■ 已修改文件
funasr/modules/subsampling.py 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
funasr/modules/subsampling.py
@@ -358,7 +358,8 @@
        """
        x = x.transpose(1, 2)  # (b, d ,t)
        x = self.pad_fn(x)
        x = F.relu(self.conv(x))
        #x = F.relu(self.conv(x))
        x = F.leaky_relu(self.conv(x), negative_slope=0.)
        x = x.transpose(1, 2)  # (b, t ,d)
        if x_len is None: