We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f92d60 commit a2b10caCopy full SHA for a2b10ca
test/utils.py
@@ -3,7 +3,7 @@
3
import pathlib
4
import sys
5
6
-from dataclasses import dataclass, field
+from dataclasses import dataclass
7
from typing import Dict, Optional
8
9
import numpy as np
@@ -303,7 +303,7 @@ class TestAudioStreamInfo:
303
class TestAudio(TestContainerFile):
304
305
stream_infos: Dict[int, TestAudioStreamInfo]
306
- _reference_frames: tuple[torch.Tensor] = field(default_factory=lambda: [])
+ _reference_frames: tuple[torch.Tensor] = tuple()
307
308
# Storing each individual frame is too expensive for audio, because there's
309
# a massive overhead in the binary format saved by pytorch. Saving all the
0 commit comments