Hacker News new | ask | show | jobs
by hikarudo 1700 days ago
PyTorch's serialized models are just Python pickle files. So to load those you need the original classes that were used to build the model. By converting to ONNX you get rid of those dependencies.