timofeiiz commited on
Commit
ad0bcd5
·
verified ·
1 Parent(s): 9a78ded

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. model.py +1 -0
model.py CHANGED
@@ -342,6 +342,7 @@ class SoundStreamCodec(PreTrainedModel):
342
  num_quantizers=config.num_quantizers,
343
  )
344
  self.decoder = Decoder(channels=config.channels, dim=config.latent_dim)
 
345
 
346
  def forward(self, audio, **kwargs):
347
  original_length = audio.size(-1)
 
342
  num_quantizers=config.num_quantizers,
343
  )
344
  self.decoder = Decoder(channels=config.channels, dim=config.latent_dim)
345
+ self.post_init()
346
 
347
  def forward(self, audio, **kwargs):
348
  original_length = audio.size(-1)