-
When trying to configure the bottom-up model and top-down I have read this page https://sleap.ai/guides/choosing-models.html#choosing-models What I am concretely trying to figure out is the values Sigma values for Nodes and Sigma values for Edges for both of these types of models. Because these values are configurable for both of the model (top down and bottom up) for the top down anchor point is also available for which I know what to set. And i have hovered over the input and saw the discription however I am not sure practically what does this mean to me. Image size is 920x1200 And the relative size of the animal is shown underneath: Additionally, should I change Output stride and Loss weight for the above sigmas in "Bottom-up model configuration"? My 2 final question is regarding the augmentation and model selection.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @ttunja, Do you mind trying out the steps described in my reply here? If you're still having issues with accuracy, here are a couple more resources to check out:
Let me take a quick stab at the specific questions you had though:
The sigma trades off between precision and ease-of-training. If sigma is <2, SLEAP will have a hard time training the model to predict confidence maps since they'll be too sparse. If sigma is >5, SLEAP will probably have an easy time training the model, but your localization precision will be pretty bad (i.e., the points will jump around a lot). For the part affinity fields in bottom-up models, you'll likely want to leave that at the default (75 I think). This controls how wide the PAFs are around the edges -- here you pretty much always do better with having them larger since it provides more "support" for the model. If you're seeing a lot of part grouping errors, e.g., skeletons merged across instances when animals are interacting, then you might consider lowering it slightly to 50.
We're in the process of investigating the effect of more complex augmentation configurations, but I'll say for now that the single most effective one we've tried has been rotation. Since you have a camera view from above, I'd also recommend changing the rotation angles to -180 to 180. Looking at your data, I don't believe you'll see much improvement from using most of the other augmentations.
Yep, the links above have some helpful info. In our experience, we've had a hard time beating UNet pretty much across the board. See, for example, the section on architectures in our paper and this supplementary figure where we evaluate a ton of the other architectures. The key thing to consider is the receptive field size, and the built-in profiles span a good range that should work with nearly all types of data. My personal recommendation would be to give the bottom-up large RF profile a go. Let me know how it goes! Cheers, Talmo |
Beta Was this translation helpful? Give feedback.
Hi @ttunja,
Do you mind trying out the steps described in my reply here?
If you're still having issues with accuracy, here are a couple more resources to check out:
Let me take a quick stab at the specific questions you had though:
The sigma trades off between precision and ease-of-training. If sigma is <2, SLEAP will…