(model, name)
| 14 | return metadata |
| 15 | |
| 16 | def hook_opt(model, name): |
| 17 | if name in ['cityscapes_fine_panoptic_val', 'ade20k_panoptic_val', 'bdd10k_40_panoptic_val', 'cityscapes_fine_panoptic_val', 'scannet_21_panoptic_val']: |
| 18 | model.model.object_mask_threshold = 0.4 |
| 19 | else: |
| 20 | model.model.object_mask_threshold = 0.8 |
| 21 | |
| 22 | # HACK for evalution |
| 23 | def hook_switcher(model, name): |
nothing calls this directly
no outgoing calls
no test coverage detected