()
| 39 | |
| 40 | |
| 41 | def test_convert_SyncBN(): |
| 42 | cfg = _get_config_module( |
| 43 | 'pointpillars/hv_pointpillars_fpn_sbn-all_4x8_2x_nus-3d.py') |
| 44 | model_cfg = cfg.model |
| 45 | convert_SyncBN(model_cfg) |
| 46 | assert model_cfg['pts_voxel_encoder']['norm_cfg']['type'] == 'BN1d' |
| 47 | assert model_cfg['pts_backbone']['norm_cfg']['type'] == 'BN2d' |
| 48 | assert model_cfg['pts_neck']['norm_cfg']['type'] == 'BN2d' |
| 49 | |
| 50 | |
| 51 | def test_show_result_meshlab(): |
nothing calls this directly
no test coverage detected