LandingLens | LandingLens on Snowflake |
---|---|
APP_NAME
is the name of your LandingLens instance:
APP_NAME
). To locate the name, go to Name of LandingLens Instance.file_path
A VARCHAR string that defines the location of an image or set of images to run inference on. This can be:
endpoint_id
A VARCHAR string that defines the endpoint of a model deployed with Cloud Deployment. The endpoint_id
displays on the Deploy page in LandingLens.
run_inference
function to run inference on multiple images, the image filepaths must be in a table or table-like format. For example, you can use the LIST command to list all files in a stage in a table-like format. You can then incorporate the LIST command results in the run_inference
function.
For more information, see this example.
Action | When Using LandingLens Sample Dataset | When Using Your Own Dataset |
---|---|---|
Grant the LLENS_PUBLIC role | Grant yourself the LLENS_PUBLIC application role. | Grant yourself the LLENS_PUBLIC application role. |
Get LandingLens instance name | Get the name of your instance of LandingLens. You will add this to the script. | Get the name of your instance of LandingLens. You will add this to the script. |
Install dataset | Install the Sample Dataset for LandingLens: LifeSciences Pneumonia dataset. | N/A |
Grant LandingLens access to the stage | Grant LandingLens access to the stage with the LandingLens dataset. | Grant LandingLens access to the stage with your dataset. |
Train a model | Train a model in LandingLens with the dataset. | Train a model in LandingLens with the dataset. |
Deploy model and get endpoint ID | Deploy the model with Cloud Deployment. Get the endpoint ID for the deployed model. You will add this to the script. | Deploy the model with Cloud Deployment. Get the endpoint ID for the deployed model. You will add this to the script. |