this post was submitted on 25 Nov 2023
1 points (100.0% liked)
Machine Learning
1 readers
1 users here now
Community Rules:
- Be nice. No offensive behavior, insults or attacks: we encourage a diverse community in which members feel safe and have a voice.
- Make your post clear and comprehensive: posts that lack insight or effort will be removed. (ex: questions which are easily googled)
- Beginner or career related questions go elsewhere. This community is focused in discussion of research and new projects that advance the state-of-the-art.
- Limit self-promotion. Comments and posts should be first and foremost about topics of interest to ML observers and practitioners. Limited self-promotion is tolerated, but the sub is not here as merely a source for free advertisement. Such posts will be removed at the discretion of the mods.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Yeah I thought that might be the case.
The projects goal is the following:
The problem is the following:
I have annotated images of multiple growth stages of fish, but the average growth stage of the fish in the training data will almost always be either smaller or bigger than the ones im measuring.
So when I'm training a model on all data I have and then running the model in a tank of fish that are at the upper end of growth, than the model will detect the smaller fish inside that tank more often, because most fish in the training data are smaller then the fish in the tank.
Does that make sense?
These values are just to show what I mean (Expecting that the model is always trained on all 5k samples)
If that’s not something that you already do, use data augmentation. Especially scaling.
It might not help for features related to age (such as color changes and the likes), but it can definitely help remove the relative size bias, especially if your dataset was created in a single scenario with a fixed camera distance.
If you do know some features of "an older fish", you can also apply those transformations on masks of younger fish from your first trained but biaised model. Somewhat like a "semi-synthetic" data augmentation.
For example, if older fishes are browner, you can skew the hue of the masks by a certain amount to get brownish young fishes.