Adventures in Machine Learning cover image

How to Learn a New Tool - ML 117

Adventures in Machine Learning

00:00

How to Serialize Objects in Python

So if I manually save something, what happens? What is the structure of that data? I'll go into where it was saved on disk and see, is this just a single monolithic file? Is this like a Pecal file that gets saved? Well, I hate Pecal. It's not transferable across Python versions, so I think it sucks. Or is this a custom, like whoever wrote this library, did they do their homework and write a true serializer? Look at how the weights and configurations are saved with like a torch model or tensorflow? That's serious work that somebody's going in there and doing that. So when I see stuff like that

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app