TencentARC / DeSRA

Official codes for DeSRA (ICML 2023)
126 stars 0 forks source link

Is lables losed? #7

Closed Explore008 closed 10 months ago

Explore008 commented 11 months ago

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!

nnmaitian commented 11 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.

LiangbinXie commented 11 months ago

@Explore008 Did you follow the specific version of mmsegmentation?

haikunzhang95 commented 10 months ago

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.

BhJia commented 9 months ago

@Explore008 @haikunzhang95

I also encountered the error, did you solve it?

LiangbinXie commented 9 months ago

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