| Algorithm 1 Mask-PNet Mask Logits Updating |
| /* For better understanding, some tensor sizes are as below*/ |
| /* semantic: [ ], stuff: [ ], things: [ ]*/ |
|
/* logits: [
], empty: [
], seed_map: [h, w]*/
/* new_logits: [ ], feat:[h, w, c], filtered_feat:[h,w, c]*/ |
| /* proposals: [ ], where H = W = 128 */ |
| Input: Features with in [(128,128), (64, 64), …, (2,2)]; Semantic segmentation results: and . Output: Panoptic Mask Logits: . |
| 1 ; |
| 2 for do 3 ; 4 ; |
| 5 ; |
| 6 if do |
| 7 break; 8 ; 9 ; 10 ; 11 ; /* Return panoptic segmentation mask logits.*/ 12 return ; |