ModelInfo
Introduction
In this tutorial you will learn how to use ModelInfo
widget in Supervisely app.
Function signature
Parameters
Parameters | Type | Description |
---|---|---|
|
|
|
|
|
|
|
| Id of the widget |
session_id
Determines Session
ID for which model data will be displayed.
type: int
default value: None
team_id
Determines Team
ID for which model data will be displayed.
type: int
default value: None
widget_id
ID of the widget.
type: str
default value: None
Methods and attributes
Attributes and Methods | Description |
---|---|
| Set given |
Mini App Example
You can find this example in our Github repository:
supervisely-ecosystem/ui-widgets-demos/status elements/007_model_info/src/main.py
Import libraries
Initialize session_id
we will use
session_id
we will useInitialize ModelInfo
widget and set session_id
ModelInfo
widget and set session_id
Create app layout
Prepare a layout for app using Card
widget with the content
parameter and place widget that we've just created in the Container
widget.
Create app using layout
Create an app object with layout parameter.
Last updated