Save the output of the network in .ark format

I trained a PyTorch model for speech recognition and I want to save the output of the model as .ark file
Can anyone give me a help?


Not really pytroch related it seems ?

Are you referring to this ?
If so… it’s a pretty arcane format, I’m pretty sure people switched to .zip and .gzip a few decade ago, if you need it for some reason you can use arc (, at least on linux (but should work on OSX and windows as well I’d assume)

Just output whatever you have to a text file and then use the arc tool to compress it. There’s also a python library for it seemingly:, but I’m not sure if it actually works.

So I need to save my network posteriors in any format can you give me a help on this