[GH-ISSUE #2434] 关于流式推理特征提取的conv是否因果 #1706

Closed
opened 2026-10-20 10:11:20 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @zhixingheyixsh on GitHub (Jan 6, 2025).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/2434

特征提取用的 self.feature_extractor = ConvFeatureExtractionModel()
而def forward(self, x):

    # BxT -> BxCxT
    x = x.unsqueeze(1)

    for conv in self.conv_layers:
        x = conv(x)

    return x

这里conv1d 不是因果的,所以特征提取这里是不是要修改下。

Originally created by @zhixingheyixsh on GitHub (Jan 6, 2025). Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/2434 特征提取用的 self.feature_extractor = ConvFeatureExtractionModel() 而def forward(self, x): # BxT -> BxCxT x = x.unsqueeze(1) for conv in self.conv_layers: x = conv(x) return x 这里conv1d 不是因果的,所以特征提取这里是不是要修改下。
Author
Owner

@zhixingheyixsh commented on GitHub (Jan 6, 2025):

这里的padding都是默认值0,所以conv1d()这里不用修改,支持任意时间序列T

<!-- gh-comment-id:2572540429 --> @zhixingheyixsh commented on GitHub (Jan 6, 2025): 这里的padding都是默认值0,所以conv1d()这里不用修改,支持任意时间序列T
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
RVC-Project/Retrieval-based-Voice-Conversion-WebUI#1706
No description provided.