Skip to content

Error when training using single-animal pipeline #743

Answered by talmo
akshitasax asked this question in Help!
Discussion options

You must be logged in to vote

Hi @akshitasax,

This issue is related to GPU memory. You can tell from the console error that starts with ResourceExhaustedError: OOM when allocating tensor with shape....

For single instance models, SLEAP uses the entire frame as input to the network and this can be quite large as in your case (1280 x 720), which will fill up your GPU memory if you don't have one with >>8GB of GPU RAM.

For your data, our recommendation would be to try using a top-down model. Even though it's meant for multiple animals, you can filter it down to a single animal later by running tracking on it with a max number of animals set to 1. It's useful in this case since your animal is much smaller than the frame s…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by roomrys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help!
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #725 on May 12, 2022 23:35.