Object containing the parsed JSON of model.json
Optional
weightSpecs: WeightsManifestEntry[]The list of WeightsManifestEntry for the model. Must be passed if the modelJSON has a weightsManifest.
Optional
weightData: WeightDataAn ArrayBuffer or array of ArrayBuffers of weight data for the model corresponding to the weights in weightSpecs. Must be passed if the modelJSON has a weightsManifest.
A Promise of the ModelArtifacts
, as described by the JSON file.
Create
ModelArtifacts
from a JSON file and weights.