open-mmlab / mmsegmentation

OpenMMLab Semantic Segmentation Toolbox and Benchmark.
https://mmsegmentation.readthedocs.io/en/main/
Apache License 2.0
7.7k stars 2.53k forks source link

[Fix] update build loss api #3587

Closed xiexinch closed 4 months ago

xiexinch commented 4 months ago

Motivation

Use MODELS.build instead of build_loss

Modification

Please briefly describe what modification is made in this PR.