Skip to main content
Now that the bundle is confirmed to run and conform to the annotation format, it can be uploaded to Nucleus! To do this, import and initialize the Nucleus client. To create the bundle, we want to set the following arguments: Bundle args: env_params - this is used to set up deep learning frameworks. Since we’re using PyTorch, we will set a pytorch image tag load_predict_fn - pass in the load_predict_fn we’ve created requirements - pass in any pip requirements the model needs model / load_model_fn - pass in the model or load_model_fn we’ve created Name: Model’s name Reference ID: Model’s Reference ID, must be unique Sample code:
After running this, the model should be available for use in Nucleus!