mirror of
https://github.com/pyannote/pyannote-audio.git
synced 2026-11-20 13:07:51 +09:00
fix: fix support for CoreML export
This commit is contained in:
1 parent
0ea4c025ee
commit
445a4c69bb
1 file changed
+4
-1
@@ -342,8 +342,11 @@ class XVectorSincNet(Model):
|
||||
Batch of weights with shape (batch, frame).
|
||||
"""
|
||||
|
||||
outputs = self.sincnet(waveforms).squeeze(dim=1)
|
||||
# outputs = self.sincnet(waveforms).squeeze(dim=1)
|
||||
outputs = self.sincnet(waveforms)
|
||||
|
||||
for tdnn in self.tdnns:
|
||||
outputs = tdnn(outputs)
|
||||
|
||||
outputs = self.stats_pool(outputs, weights=weights)
|
||||
return self.embedding(outputs)
|
||||
Reference in new issue
Block a user