wayveai / fiery

PyTorch code for the paper "FIERY: Future Instance Segmentation in Bird's-Eye view from Surround Monocular Cameras"
https://wayve.ai/blog/fiery-future-instance-prediction-birds-eye-view
MIT License
561 stars 85 forks source link

Instance Segmentation Loss #9

Closed tonyyang1995 closed 3 years ago

tonyyang1995 commented 3 years ago

Thanks for sharing the codes. The results are very impressive. I am a little confused about how instance segmentation works, and would you mind give me some suggestions like how to implement it. Many thanks.

anthonyhu commented 3 years ago

For instance segmentation of vehicles we create the following labels:

During training, we then have a loss for each of those labels.

When doing inference, we use the centerness to get instance centers, and combine the segmentation mask with the offset to assign remaining pixels to a particular instance. There are more details in the paper https://arxiv.org/abs/2104.10490 (Figure 3 and Appendix B.3)