- Training the InSPyReNet Model for Better Masks
We first tried training the InSPyReNet model with the expectation that it would generate more accurate masks.
- What happened: The masks were still not detailed enough, especially around hair and the small gaps between subjects.
- Why it failed: The model was not able to capture fine boundary details accurately, which made it unsuitable for cases where edge precision was important.
- How it was addressed: We moved away from relying on InSPyReNet and evaluated stronger background removal models for better base mask quality.