Update audio decoder configuration to use an empty set for attention resolutions in both generate_av.py and generate_dev.py. Add a print statement for loading audio VAE decoder weights in generate_dev.py.
This commit is contained in:
@@ -254,7 +254,7 @@ def load_audio_decoder(model_path: Path):
|
||||
out_ch=2, # stereo
|
||||
ch_mult=(1, 2, 4),
|
||||
num_res_blocks=2,
|
||||
attn_resolutions={8, 16, 32},
|
||||
attn_resolutions=set(), # PyTorch uses empty set (no attention in audio decoder)
|
||||
resolution=256,
|
||||
z_channels=AUDIO_LATENT_CHANNELS,
|
||||
norm_type=NormType.PIXEL,
|
||||
|
||||
Reference in New Issue
Block a user