Loading audiolm_pytorch/soundstream.py +4 −1 Original line number Diff line number Diff line Loading @@ -651,6 +651,7 @@ class SoundStream(nn.Module): def forward( self, x, target = None, return_encoded = False, return_discr_loss = False, return_discr_losses_separately = False, Loading Loading @@ -752,7 +753,9 @@ class SoundStream(nn.Module): # recon loss recon_loss = F.mse_loss(orig_x, recon_x) target = default(target, orig_x) # target can also be passed in, in the case of denoising recon_loss = F.mse_loss(target, recon_x) # multispectral recon loss - eq (4) and (5) in https://arxiv.org/abs/2107.03312 Loading audiolm_pytorch/version.py +1 −1 Original line number Diff line number Diff line __version__ = '0.28.1' __version__ = '0.28.2' Loading
audiolm_pytorch/soundstream.py +4 −1 Original line number Diff line number Diff line Loading @@ -651,6 +651,7 @@ class SoundStream(nn.Module): def forward( self, x, target = None, return_encoded = False, return_discr_loss = False, return_discr_losses_separately = False, Loading Loading @@ -752,7 +753,9 @@ class SoundStream(nn.Module): # recon loss recon_loss = F.mse_loss(orig_x, recon_x) target = default(target, orig_x) # target can also be passed in, in the case of denoising recon_loss = F.mse_loss(target, recon_x) # multispectral recon loss - eq (4) and (5) in https://arxiv.org/abs/2107.03312 Loading
audiolm_pytorch/version.py +1 −1 Original line number Diff line number Diff line __version__ = '0.28.1' __version__ = '0.28.2'