We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a395c8f + 764a7e4 commit c5f5f7eCopy full SHA for c5f5f7e
stable_audio_tools/training/autoencoders.py
@@ -18,6 +18,7 @@
18
from ..interface.aeiou import audio_spectrogram_image, tokens_spectrogram_image
19
from ema_pytorch import EMA
20
from einops import rearrange
21
+from safetensors.torch import save_model
22
23
def trim_to_shortest(a, b):
24
"""Trim the longer of two tensors to the length of the shorter one."""
0 commit comments