mirror of
https://github.com/pyannote/pyannote-audio.git
synced 2026-11-20 13:07:51 +09:00
doc: fix error message
This commit is contained in:
1 parent
b4fee9856f
commit
18ed481c7e
1 file changed
+1
-1
@@ -54,7 +54,7 @@ def permutate_torch(
|
||||
y2 = y2.expand(batch_size, -1, -1)
|
||||
|
||||
if len(y2.shape) != 3:
|
||||
msg = "Incorrect shape: should be (batch_size, num_frames, num_classes_1)."
|
||||
msg = "Incorrect shape: should be (batch_size, num_frames, num_classes)."
|
||||
raise ValueError(msg)
|
||||
|
||||
batch_size_, num_samples_, num_classes_2 = y2.shape
|
||||
|
||||
Reference in new issue
Block a user