Refer to link 1https://github.com/open-mmlab/mmsegmentation to configure the environment. git clone https://github.com/ldepn/tosq.git/ python demo.py or run mmseg_debug2.0.ipynb.