dslee2601 commited on
Commit
c137996
·
1 Parent(s): 6fa175c

warning msg

Browse files
Files changed (1) hide show
  1. model.py +1 -0
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