-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add more notebooks to docs (#698) * Fix missing links and update content * Add new notebooks
- Loading branch information
Showing
10 changed files
with
4,239 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
1,572 changes: 1,572 additions & 0 deletions
1,572
docs/notebooks/Interactive_and_realtime_inference.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
998 changes: 998 additions & 0 deletions
998
docs/notebooks/Interactive_and_resumable_training.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
--- | ||
substitutions: | ||
image0: |- | ||
```{image} ../_static/add-video.gif | ||
``` | ||
image1: |- | ||
```{image} ../_static/video-options.gif | ||
``` | ||
image2: |- | ||
```{image} ../_static/add-skeleton.gif | ||
``` | ||
--- | ||
|
||
(new-project)= | ||
|
||
# Creating a project | ||
|
||
## Starting SLEAP | ||
|
||
If you haven't installed SLEAP yet, see [](../installation) for instructions. | ||
|
||
Once you have SLEAP installed, start by opening a terminal. If you installed via the recommended [](../installation.md#conda-package) method, activate the environment with: | ||
|
||
``` | ||
conda activate sleap | ||
``` | ||
|
||
````{hint} | ||
To open a terminal: | ||
**Windows:** Open the *Start menu* and search for the *Anaconda Command Prompt* (if using Miniconda) or the *Command Prompt* if not. | ||
```{note} | ||
On Windows, our personal preference is to use alternative terminal apps like [Cmder](https://cmder.net) or [Windows Terminal](https://aka.ms/terminal). | ||
``` | ||
**Linux:** Launch a new terminal by pressing <kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>T</kbd>. | ||
**Mac:** Launch a new terminal by pressing <kbd>Cmd</kbd> + <kbd>Space</kbd> and searching for *Terminal*. | ||
```` | ||
|
||
To launch the GUI, simply enter in the terminal: | ||
``` | ||
sleap-label | ||
``` | ||
|
||
When you first start SLEAP you’ll see a new, empty project. | ||
|
||
## Opening a video | ||
|
||
Add a video by clicking the “**Add Video**” button in the “**Videos**” panel | ||
on the right side of the main window, or by dragging-and-dropping your video file from its | ||
folder into the SLEAP GUI. | ||
|
||
{{ image0 }} | ||
|
||
You’ll then be able to select one or more video files and click “**Open**”. | ||
SLEAP currently supports mp4, avi, and h5 files. For mp4 and avi files, | ||
you’ll be asked whether to import the video as grayscale. For h5 files, | ||
you’ll be asked the dataset and whether the video is stored with | ||
channels first or last. | ||
|
||
{{ image1 }} | ||
|
||
(new-skeleton)= | ||
|
||
## Creating a Skeleton | ||
|
||
Create a new **skeleton** using the “Skeleton” panel on the right side | ||
of the main window. | ||
|
||
Use the “**New Node**” button to add a node (i.e., joint or body part). | ||
Double-click the node name to rename it (hit enter after you type the | ||
new name). Repeat until you have created all your nodes. You then need | ||
to connect the nodes with edges. Directly to the left of the “Add edge” | ||
button you’ll see two drop-down menus. Use these to select a pair of | ||
nodes, and then click “**Add Edge**”. Repeat until you’ve entered all the | ||
edges. | ||
|
||
{{ image2 }} | ||
|
||
Continue to {ref}`initial-labeling`. |
This file was deleted.
Oops, something went wrong.