uncomment music projector..
This commit is contained in:
parent
74dd095326
commit
9118f58849
|
@ -52,7 +52,7 @@ class MusicDiffusionFid(evaluator.Evaluator):
|
|||
dropout=0, kernel_size=3, scale_factor=2, time_embed_dim_multiplier=4, unconditioned_percentage=0)
|
||||
self.spec_decoder.load_state_dict(torch.load('../experiments/music_waveform_gen.pth', map_location=torch.device('cpu')))
|
||||
self.projector = ContrastiveAudio(model_dim=512, transformer_heads=8, dropout=0, encoder_depth=8, mel_channels=256)
|
||||
#self.projector.load_state_dict(torch.load('../experiments/music_eval_projector.pth', map_location=torch.device('cpu')))
|
||||
self.projector.load_state_dict(torch.load('../experiments/music_eval_projector.pth', map_location=torch.device('cpu')))
|
||||
self.local_modules = {'spec_decoder': self.spec_decoder, 'projector': self.projector}
|
||||
|
||||
if mode == 'spec_decode':
|
||||
|
|
Loading…
Reference in New Issue
Block a user