Download Models
  • 18 Dec 2024
  • 2 Minutes to read
  • Dark
    Light
  • PDF

Download Models

  • Dark
    Light
  • PDF

Article summary

This article applies to these versions of LandingLens:

LandingLensLandingLens on Snowflake

Models can be deployed directly through LandingLens by using Cloud Deployment. If you want to run your model offline (that is, NOT through the LandingLens cloud endpoint), you can download the model. The downloaded model is a zipped folder that contains an ONNX file and supporting documents.

When you download a model, you can:

  • Deploy it offline using LandingEdge, our edge deployment solution.
  • Deploy it offline using the LandingAI Docker Deployment solution, which empowers you to run model inference programmatically.
  • Deploy it using an application that you or your organization developed.
  • Deploy it using a third-party application.
  • Keep a copy of your model for archival or versioning purposes.

Considerations Before Downloading Models

Before downloading models, read through and understanding the following information:

Activate Projects

A project must be “active” before you can download models from it. Activating a project means that you can download models from it. Each pricing plan has a maximum number of projects that can be active at the same time.

Owners and Admins can activate a project on the Active Projects page. Or, if any user (including a Collaborator) tries to download a model and the project hasn’t been activated yet, they will be prompted to activate the project. (In LandingLens on Snowflake, any user can access the Active Projects page and activate projects.) 

To learn how to activate projects, go to Activate Projects

Commercial vs. Noncommercial Use

If you’re on the Free or Visionary plan, downloaded models can only be used for noncommercial use. “Noncommercial” means not primarily intended for or directed towards commercial advantage or monetary compensation.

ONNX Doesn't Support Models Trained with a RepPoints Architecture

ONNX frameworks do not support Object Detection models trained with a RepPoints architecture. Using one of these models will cause an error similar to:

failed:Fatal error: org.openvinotoolkit:DeformableConv2D(-1) is not a registered function/op

If you plan on using a downloaded Object Detection model in an ONNX framework, use Custom Training and select RtmDet-[9M] as the Model Size. For more information, go to Custom Training.

Select the RtmDet-[9M] Architecture

Download Models

To download a model:

  1. Activate the project that you want to download models from, if you haven't already.
  2. Open the project to the Models tab.
  3. Locate the row for the model you want to download.
  4. Click the Actions icon ( ) and select Download Model.
    Download the Model
  5. The model is downloaded as a ZIP file.

How to Use a Downloaded Model

Downloaded models are zipped folders that have names similar to bundle_5924eb6b-a1ee-4009-8231-695bc1e5bdde.zip.

If you want to use the model in an offline deployment of LandingEdge or Docker, leave the folder zipped. LandingEdge and Docker will load the full ZIP file.

If you'd like to use the model elsewhere, unzip the folder and locate the saved_model.onnx file (folder > model > saved_model.onnx). ONNX (Open Neural Network Exchange) is an open source format for AI models. Since they are open source, ONNX files can be used and deployed with different frameworks, tools, and hardware.

The other files are in the ZIP file (dm.json, meta.json, etc.) are specific to LandingLens.

Note:
If you created a model using "large images" via Custom Training, use the saved_model_tiled.onnx file.

Was this article helpful?