Dionyssos commited on
Commit
50e4d5b
·
1 Parent(s): 3ca19e8
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -85,9 +85,6 @@ def _forward(
85
  )
86
 
87
  hidden_states, _ = self.feature_projection(frozen_cnn7)
88
- hidden_states = self._mask_hidden_states(
89
- hidden_states, mask_time_indices=mask_time_indices, attention_mask=attention_mask
90
- )
91
 
92
  hidden_states = self.wav2vec2.encoder(
93
  hidden_states,
@@ -119,9 +116,6 @@ def _forward_and_cnn7(
119
  )
120
 
121
  hidden_states, _ = self.wav2vec2.feature_projection(frozen_cnn7) # grad=True non frozen
122
- hidden_states = self.wav2vec2._mask_hidden_states(
123
- hidden_states, mask_time_indices=mask_time_indices, attention_mask=attention_mask
124
- )
125
 
126
  hidden_states = self.wav2vec2.encoder(
127
  hidden_states,
 
85
  )
86
 
87
  hidden_states, _ = self.feature_projection(frozen_cnn7)
 
 
 
88
 
89
  hidden_states = self.wav2vec2.encoder(
90
  hidden_states,
 
116
  )
117
 
118
  hidden_states, _ = self.wav2vec2.feature_projection(frozen_cnn7) # grad=True non frozen
 
 
 
119
 
120
  hidden_states = self.wav2vec2.encoder(
121
  hidden_states,