Using the app¶
The app allows you to
label data (upload videos, extract frames, annotate keypoints)
train and evaluate models
run inference on new videos
Additionally, the app comes with an example dataset if you want to explore, without needing to label your own data.
The following docs detail how to launch the app and describe the individual tabs; for more information on specific workflows, see the User guides.
Launch the app
Once you have opened the Lightning Pose App Studio, you will see the following:
Make sure you are connected to a GPU machine for non-labeling tasks.
First, open a terminal by using the drop-down menu at the top left and select
Terminal > New Terminal.
To launch an app from the terminal, first move to the Pose-app directory:
cd Pose-app
and run:
lightning_app run app app.py
Note
If you see the message “lightning run model is deprecated…” on the command line after
trying to launch the app, you are running a newer version of lightning.
In order to launch the app, instead run lightning_app run app app.py.
Note
You may get a message alerting you that a new version of Lightning is available. There is a possibility that upgrading will cause breaking changes, and you should always decline. If you do accidentally upgrade, see the FAQ for how to reinstall the correct version.
Once the app launches you will begin to see printouts in the terminal. Navigate to the app output by clicking on the “port” plugin on the right-hand tool bar (see image below). In the Port Viewer, ensure that “LP Port” is set to port 7501. After confirming the port, click on it and allow the app to load.
Once the app has loaded, you can click on “Open” to launch the app in a new browser window or share a link to the app with your colleagues.
IMPORTANT! We recommend opening the app in a separate browser window. This will ensure that all components are properly visualized. You can return to the terminal to see printouts by clicking on the VS Code icon in the right-hand toolbar.
If you have an older version of the app or can’t find the Port Viewer or API Builder plugins, please see our FAQ’s section for more information.
Click on the links below to find more information about specific tabs.
App tabs:
Close the app
To shut down the app: return to the terminal/VS Code view of the Studio by clicking on the appropriate icon in the right-hand tool bar (see image below), and type “ctrl+c” in the terminal.
To shut down the studio: click on the compute icon in the right-hand tool bar and then click the power button.