Closed Explore008 closed 10 months ago
Hello, I encountered the following problem, from mmseg.apis import inference_segmentor, init_segmentor, show_seg ImportError: cannot import name 'inference_segmentor' from 'mmseg.apis' . How to solve it.
@Explore008 Did you follow the specific version of mmsegmentation?
Hello, I tried to reproduce your results, but after correcting many problems, it still only completed the mask segmentation and showed that the array was out of bounds when loading the category. Is this problem caused by an error in the class name in the class? “ File "demo/artifact_detection.py", line 131, in main label_name = CLASSES[label] IndexError: list index out of range” Can you create a colab demo in your project?Thank you!
Did you solve the error? I had the same error.
@Explore008 @haikunzhang95
I also encountered the error, did you solve it?
I suspect that the version of mmsegmentation in your environment is not consistent with the version specified in the README. If this is the case, you can refer to issue #9
Hello, I tried to reproduce your results, but after correcting many problems, it still only completed the mask segmentation and showed that the array was out of bounds when loading the category. Is this problem caused by an error in the class name in the class? “ File "demo/artifact_detection.py", line 131, in main label_name = CLASSES[label] IndexError: list index out of range” Can you create a colab demo in your project?Thank you!