Learn how to store, load, and register a ML model into TileDB for use with training.
In this tutorial, you will learn how to store, load, and register a machine learning (ML) model into TileDB, so you can use it later for training. In the context of ML and data analysis, different frameworks and tools offering model design capabilities exist. This tutorial will focus on ingesting ML models given from these frameworks to TileDB. You will experiment with a basic neural network architecture for classifying images.
Start by importing the libraries used in this tutorial.
import osimport tempfileimport torch.nn as nnimport torch.nn.functional as Fimport torch.optim as optimfrom tiledb.ml.models.pytorch import PyTorchTileDBModel