Hi @lucadellalib,
Thank you for the excellent work.
I have used the training recipe in speechbrain. to train my own model
I obtain multiple models in the ckpt folder:
CKPT.yaml brain.ckpt compressor.ckpt counter.ckpt dataloader-TRAIN.ckpt decompressor.ckpt optimizer.ckpt quantizer.ckpt scheduler.ckpt
How to perform the inference from this model, i.e., encode audio into tokens?
In the example, the codec model is loaded from torch.hub.load using safetensor format. How can I convert the model in the ckpt folder to the safetensor format so it can be loaded with torch.hub.load?
Thank you.
Hi @lucadellalib,
Thank you for the excellent work.
I have used the training recipe in speechbrain. to train my own model
I obtain multiple models in the ckpt folder:
CKPT.yaml brain.ckpt compressor.ckpt counter.ckpt dataloader-TRAIN.ckpt decompressor.ckpt optimizer.ckpt quantizer.ckpt scheduler.ckpt
How to perform the inference from this model, i.e., encode audio into tokens?
In the example, the codec model is loaded from torch.hub.load using safetensor format. How can I convert the model in the ckpt folder to the safetensor format so it can be loaded with torch.hub.load?
Thank you.