warning msg
Browse files
model.py
CHANGED
@@ -48,6 +48,7 @@ class AudioMAEEncoder(VisionTransformer):
|
|
48 |
# length clip
|
49 |
audio_len = audio.shape[-1] / sample_rate
|
50 |
if audio_len > 10.0:
|
|
|
51 |
print('[WARNING] AudioMAE only accepts audio length up to 10s. The audio frames exceeding 10s will be clipped.')
|
52 |
|
53 |
# Check if the audio has multiple channels
|
|
|
48 |
# length clip
|
49 |
audio_len = audio.shape[-1] / sample_rate
|
50 |
if audio_len > 10.0:
|
51 |
+
print('current audio length is:', audio_len)
|
52 |
print('[WARNING] AudioMAE only accepts audio length up to 10s. The audio frames exceeding 10s will be clipped.')
|
53 |
|
54 |
# Check if the audio has multiple channels
|