Save ImageNet
Save a model to disk.

Inputs
Model: a Keras model, or a GAN or diffusion model from Train GAN / Train Diffusion
Using it
Save as .h5 stores the whole model, weights included.
Save as JSON stores only the architecture. Keep the weights in a file named
<name>_weights.h5next to it so Load ImageNet can find them.Save GAN / diffusion model writes one
.imagenetfile holding the network and its settings (image size, noise steps, class names). The.h5and JSON buttons refuse these models.The
.h5,.jsonor.imagenetextension is added if you leave it off.