Track mice from a bottom-up view camera #1969
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Thank you for starting a new discussion! We appreciate your input and will review it soon. Warning A friendly reminder that this is a public forum. Please be cautious when clicking links, downloading files, or running scripts posted by others.
Stay safe and happy SLEAPing! Best regards, |
Beta Was this translation helpful? Give feedback.
-
Hi @skyshi0, Single-instance models doesn't depend on edges (connecting body parts). It only depends on the keypoint locations. So, this won't affect your model accuracy. The receptive field (RF) is very crucial for single instance models. Ideally the little blue box on the image should be almost the size of the animal in the frame (input scale and max stride can be adjusted to get an apt RF). In your case, RF seems to be right! Could you provide more information about your labelling/ training - how many labeled frames you used for training and what's your image resolution? Was the training loss decreasing over the epochs? One option to try out is to use top-down model - this model is very efficient in cases where the target is relatively small compared to the rest of the frame. To improve generalization, you could also set the rotation angle to -180/180 instead of -15/15. Thanks, Divya |
Beta Was this translation helpful? Give feedback.
Hi @skyshi0,
Thank you, It seems like the model isn't learning (the training loss isn't decreasing much). A couple of options to try out: you can increase the max stride (this will help the model to learn more global context), keeping the scale as 1.0, and increase the rotation augmentation to -180/180. Note: RF should cover the entire animal, i.e., the little blue box on the image should be almost the size of the animal in the frame
Another option is to try out the Top-down model, which is a two-stage model. First, a centroid model is trained to identify the centroids of each animal instance and then, a centered-instance model is trained, which crops each animal instance around the centr…