(configs)
| 265 | return best_mIU,best_global_accuracy |
| 266 | |
| 267 | def validate_multiple(configs): |
| 268 | confmats=[] |
| 269 | for config in configs: |
| 270 | confmat=validate_one(config) |
| 271 | confmats.append(confmat) |
| 272 | return confmats |
| 273 | def validate_one(config): |
| 274 | setup_env(config) |
| 275 | device = torch.device('cuda') if torch.cuda.is_available() else torch.device('cpu') |
nothing calls this directly
no test coverage detected