Open arsalanfiroozi opened 1 year ago
Hi @arsalanfiroozi,
inference_segmentor
is an API in the old version, you might try to use the latest demo.
I got a similiar error and I fixed it. You should install mmcv==2.0.0rc4 and mmcv_full==1.7.1 and pip install ftfy
Hi, I am using Ubuntu and I tried to install based on get_started.md. After all the steps and on verification, I get this error:
python demo/image_demo.py demo/demo.jpg configs/pspnet/pspnet_r50-d8_512x1024_40k_cityscapes.py \ checkpoints/pspnet_r50-d8_512x1024_40k_cityscapes_20200605_003338-2966598c.pth --palette cityscapes
Any thoughts about this problem?
I even tried to solve the problem by
mim install "mmcv>=2.0.0rc1"
But it didn't help and led to this error:ImportError: cannot import name 'inference_segmentor' from 'mmseg.apis'
Which is so weird for me!