You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
They specify how to do MBD for stereo in the docs, here's how I've implemented it. Happy to make a PR for this as well.
output_2=model_2.generate(
descriptions=[
description
],
progress=True, return_tokens=True
)
tokens=output_2[1]
left, right=model_2.compression_model.get_left_right_codes(tokens)
tokens=torch.cat([left, right])
outputs_diffusion_2=mbd.tokens_to_wav(tokens)
assertoutputs_diffusion_2.shape[1] ==1# output is monooutputs_diffusion_2=rearrange(outputs_diffusion_2, '(s b) c t -> b (s c) t', s=2)
``` /
The text was updated successfully, but these errors were encountered:
They specify how to do MBD for stereo in the docs, here's how I've implemented it. Happy to make a PR for this as well.
The text was updated successfully, but these errors were encountered: