facebookresearch / encodec

State-of-the-art deep learning based audio codec supporting both mono 24 kHz audio and stereo 48 kHz audio.
MIT License
3.51k stars 304 forks source link

Converting encodec model to ONNX #76

Open kalradivyanshu opened 12 months ago

kalradivyanshu commented 12 months ago

❓ Questions

Has anyone had success converting encodec model to ONNX? I tried python -m transformers.onnx --model=encodec24khz onnx/ but that gives KeyError: 'encodec': https://github.com/huggingface/transformers/issues/27602.

Can it be done? Can help or directions will be highly appreciated! Thankyou for all your work!