You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/installation.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
!!! warning "Documentation for New SLEAP Versions"
4
4
This documentation is for the **latest version of SLEAP**.
5
-
If you are using **SLEAP version 1.4.1 or earlier**, please visit the [legacy documentation](http://legacy.sleap.ai).
5
+
If you are using **SLEAP version 1.4.1 or earlier**, please visit the [legacy documentation](https://legacy.sleap.ai).
6
6
7
7
SLEAP can be installed as a Python package on Windows, Linux, and Mac OS. The newest version of SLEAP can always be found in the [Releases page](https://github.com/talmolab/sleap/releases).
Copy file name to clipboardExpand all lines: docs/overview.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ In a nutshell, SLEAP allows you to train and use deep learning-based models that
6
6
7
7
!!! warning "Documentation for New SLEAP Versions"
8
8
This documentation is for the **latest version of SLEAP**.
9
-
If you are using **SLEAP version 1.4.1 or earlier**, please visit the [legacy documentation](http://legacy.sleap.ai).
9
+
If you are using **SLEAP version 1.4.1 or earlier**, please visit the [legacy documentation](https://legacy.sleap.ai).
10
10
11
11
Below is a high-level overview of a typical end-to-end workflow in SLEAP. You can also step through this workflow yourself in the [Tutorial](tutorial/overview.md) section.
Copy file name to clipboardExpand all lines: docs/reference/command-line-interfaces.md
+94-3Lines changed: 94 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ optional arguments:
31
31
### `sleap-train`
32
32
33
33
!!! note
34
-
`sleap-train` is the legacy CLI for training and internally invokes the `sleap-nn` training workflow. **We recommend using [`sleap-nntrain`](https://nn.sleap.ai/latest/training/#using-cli) directly for new projects.** You do **not** need to install the full SLEAP package to use the training CLI—having just `sleap-nn` is sufficient. If SLEAP was installed or built with the neural network (nn) dependencies, then `sleap-nntrain` would still work.
34
+
`sleap-train` is the legacy CLI for training and internally invokes the `sleap-nn` training workflow. **We recommend using [`sleap-nn-train`](#sleap-nn-train) or [`sleap-nn train`](https://nn.sleap.ai/latest/training/#using-cli) directly for new projects.** You do **not** need to install the full SLEAP package to use `sleap-nn train`—having just `sleap-nn` is sufficient. If SLEAP was installed or built with the neural network (nn) dependencies, then `sleap-nn-train` would work.
35
35
36
36
`sleap-train` is the command-line interface for training. Use this for training on a remote machine/cluster/colab notebook instead of through the GUI.
37
37
@@ -88,17 +88,50 @@ optional arguments:
88
88
89
89
```
90
90
91
+
### `sleap-nn-train`
92
+
93
+
!!! note
94
+
`sleap-nn-train` is similar to `sleap-nn train` but is only accessible when SLEAP is installed. To use `sleap-nn train` directly, you can install just the `sleap-nn` package without the full SLEAP installation. For detailed information about `sleap-nn train`, see the [sleap-nn training documentation](https://nn.sleap.ai/latest/training/#using-cli). The functionality works the same way—both commands use Hydra configuration files and support the same training options and parameters.
95
+
96
+
`sleap-nn-train` is the command-line interface for training neural network models using the PyTorch backend. This command provides the same functionality as `sleap-nn train` but is available when you have the full SLEAP installation.
For more detailed information about training configurations, model architectures, and advanced options, refer to the [sleap-nn training documentation](https://nn.sleap.ai/latest/training/#using-cli).
122
+
91
123
!!! warning
92
124
The `sleap-export` command is **not currently supported** in the latest versions of SLEAP, as we have transitioned to a PyTorch backend (`sleap-nn`). For more information about the new backend, see the [sleap-nn documentation](https://nn.sleap.ai).
93
125
94
-
`sleap-export` is still available in SLEAP versions **1.4.1 and earlier**. Please refer to the [legacy SLEAP documentation](http://legacy.sleap.ai/guides/cli.html#sleap-export) for details on using this command in older versions.
126
+
`sleap-export` is still available in SLEAP versions **1.4.1 and earlier**. Please refer to the [legacy SLEAP documentation](https://legacy.sleap.ai/guides/cli.html#sleap-export) for details on using this command in older versions.
127
+
95
128
96
129
## Inference and Tracking
97
130
98
131
### `sleap-track`
99
132
100
133
!!! note
101
-
`sleap-track` is the legacy CLI for training and internally invokes the `sleap-nn`inference workflow. **We recommend using [`sleap-nntrack`](https://nn.sleap.ai/latest/inference/#run-inference-with-cli) directly for new projects.** You do **not** need to install the full SLEAP package to use the training CLI—having just `sleap-nn` is sufficient. If SLEAP was installed or built with the neural network (nn) dependencies, then `sleap-nntrack` would still work.
134
+
`sleap-track` is the legacy CLI for training and internally invokes the `sleap-nn`training workflow. **We recommend using [`sleap-nn-track`](#sleap-nn-track) or [`sleap-nn track`](https://nn.sleap.ai/latest/inference/#run-inference-with-cli) directly for new projects.** You do **not** need to install the full SLEAP package to use `sleap-nn track`—having just `sleap-nn` is sufficient. If SLEAP was installed or built with the neural network (nn) dependencies, then `sleap-nn-track` would work.
102
135
103
136
`sleap-track` is the command-line interface for running inference using models which have already been trained. Use this for running inference on a remote machine such as an HPC cluster or Google Colab notebook.
`sleap-nn-track` is similar to `sleap-nn track` but is only accessible when SLEAP is installed. To use `sleap-nn track` directly, you can install just the `sleap-nn` package without the full SLEAP installation. For detailed information about `sleap-nn track`, see the [sleap-nn inference documentation](https://nn.sleap.ai/latest/inference/#run-inference-with-cli). The functionality works the same way—both commands use the same parameters.
287
+
288
+
`sleap-nn-track` is the command-line interface for running inference and tracking using models which have already been trained using the PyTorch backend. This command provides the same functionality as `sleap-nn track` but is available when you have the full SLEAP installation.
-`--data_path / -i`: Path to video file or .slp labels file
321
+
-`--model_paths / -m`: Path to model directory containing best.ckpt and training_config.yaml
322
+
-`--output_path / -o`: Output filename (defaults to [data_path].predictions.slp)
323
+
-`--device / -d`: Device to use ('cpu', 'cuda', 'mps', 'auto')
324
+
-`--batch_size / -b`: Number of frames to process at once (default: 4)
325
+
-`--tracking / -t`: Enable tracking on predicted instances
326
+
-`--frames`: Specific frames to process (e.g., "0-100,200-300")
327
+
-`--peak_threshold`: Minimum confidence for peak detection (default: 0.2)
328
+
329
+
**Tracking Options:**
330
+
331
+
-`--tracking_window_size`: Number of frames for candidate matching (default: 5)
332
+
-`--candidates_method`: Either 'fixed_window' or 'local_queues' (default: fixed_window)
333
+
-`--features`: Feature representation for matching ('keypoints', 'centroids', 'bboxes', 'image')
334
+
-`--scoring_method`: Association scoring method ('oks', 'cosine_sim', 'iou', 'euclidean_dist')
335
+
-`--use_flow`: Enable optical flow-based tracking
336
+
337
+
For more detailed information about all available parameters, tracking methods, and advanced options, refer to the [sleap-nn inference documentation](https://nn.sleap.ai/latest/inference/#run-inference-with-cli).
Copy file name to clipboardExpand all lines: docs/tutorial/overview.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ hide:
7
7
8
8
!!! warning "Documentation for New SLEAP Versions"
9
9
This documentation is for the **latest version of SLEAP**.
10
-
If you are using **SLEAP version 1.4.1 or earlier**, please visit the [legacy documentation](http://legacy.sleap.ai).
10
+
If you are using **SLEAP version 1.4.1 or earlier**, please visit the [legacy documentation](https://legacy.sleap.ai).
11
11
12
12
The tutorial will walk you through the entire SLEAP workflow. You can follow along this tutorial and try running SLEAP on one of our [sample datasets](../reference/datasets.md). Then you will be ready to start using SLEAP on your own data.
0 commit comments