mmsegmentation
mmsegmentation copied to clipboard
ImportError: cannot import name 'train_segmentor' from 'mmseg.apis'
Same as the title.
Same as the title.
@Ako-r you just need to:
- change your execution path to MMSegmentation,
- or place your .py file in the Peer directory with mmseg,like the following MMSegmentation folder structure:
|-MMSegmentation.
├── README.md
├── README_zh-CN.md
├── configs
├── mmseg
├── api
├── projects
├── **your_python_script.py** ✅
@Ako-r Have you solved it? I have the same problem.
@Shiwo0826 now,i have the same question?just pytorch+cuda==2.3.0+12.1&mmcv==2.2.0,mmengine==0.10.7,mmsegmentation==1.2.2