open-mmlab / mmsegmentation

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

mmseg.ops resize for version 1.2.2 #3680

Open BiJoengineer opened 1 month ago

BiJoengineer commented 1 month ago

Im working with some old code (~2020 I think) that uses the resize from mmseg.ops (from mmseg.ops import resize). Rather than downgrading to version 0, is there a version of this function that works with mmseg.structures or mmseg.datasets for version 1.2.2.?