Loading data in FlatBuffers format


I’ve got data in FlatBuffers format that I need to feed to a Pytorch model. I don’t have experience reading/loading such files. Has anyone worked with such files and knows how to load them and work with them properly?

If there’s a nice way to work directly with such data, that’d be great. But if it’s easier to first convert them to json/protobuf, and feed the json/protobuf data (even if it worsens performance to some extent), I’m OK with that (ease of use/coding is important for me).

Thanks for the help!