jacob-c commited on
Commit
2f7e110
1 Parent(s): d1ab29e

diffuserfix

Browse files
audioldm/variational_autoencoder/autoencoder.py CHANGED
@@ -40,7 +40,7 @@ class AutoencoderKL(nn.Module):
40
  self.quant_conv = torch.nn.Conv2d(2 * ddconfig["z_channels"], 2 * embed_dim, 1)
41
  self.post_quant_conv = torch.nn.Conv2d(embed_dim, ddconfig["z_channels"], 1)
42
 
43
- self.vocoder = BigVGANVocoder(device=device)
44
  #self.vocoder = get_vocoder(None, "cpu")
45
  self.embed_dim = embed_dim
46
 
 
40
  self.quant_conv = torch.nn.Conv2d(2 * ddconfig["z_channels"], 2 * embed_dim, 1)
41
  self.post_quant_conv = torch.nn.Conv2d(embed_dim, ddconfig["z_channels"], 1)
42
 
43
+ self.vocoder = BigVGANVocoder(device="cpu")
44
  #self.vocoder = get_vocoder(None, "cpu")
45
  self.embed_dim = embed_dim
46