haoneng.lhn
2023-08-02 0270f62addd6ea7f6141584e2782c6cd751ce1fd
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: