3. Training the AI¶
Training a SLEAP model¶
AIs like SLEAP learn from your examples. Now that we've labeled some data, let's tell the AI to study our work and learn how to track the animals.
-
Save your work! Click on File → Save.
-
Click on Predict → Run Training... → Run:
- Watch as the AI begins to learn from your examples:
Let this go for a few minutes and we'll come back to use our trained model.
Predict with your trained model¶
Now that the AI is a bit smarter (thanks to you!), we can see how well it works on the rest of the video frames.
-
Save your work! Click on File → Save.
-
Click on Predict → Run Inference... to open the tracking configuration.
-
Click on Tracker Method → simple.
-
Uncheck No limit next to the Max number of tracks and set this to 2.
-
Under Predict On, select entire video.
-
Hit Run!
You did it!