Uploading model artifacts

Upload a model artifact in Fiddler

Before uploading your model artifact into Fiddler, you need to add the model with client.add_model.

Once you have prepared the model artifacts directory, you can upload your model using client.add_model_artifact

PROJECT_ID = 'example_project'
MODEL_ID = 'example_model'
MODEL_ARTIFACTS_DIR = Path('model/')

client.add_model_artifact(
    model_dir=MODEL_ARTIFACTS_DIR,
    project_id=PROJECT_ID,
    model_id=MODEL_ID
)