HRNet-Semantic-Segmentation icon indicating copy to clipboard operation
HRNet-Semantic-Segmentation copied to clipboard

Visualization result is error

Open hello-program opened this issue 5 years ago • 2 comments

@sunke123 @welleast @PkuRainBow hello,I used seg_hrnet_ocr_w48 to split wall and window, when I visualized, the result is error. my dataset is custom,and I create it like cityscapes. the result as follow: 082 the ground truth is : label_viz there is no window, and all of images no window my "NUM_CLASSES" of yaml file is set 3(background is 0, wall is 1, window is 2),and I modify self.label_mapping of "cityscapes.py" to self.label_mapping = {0:0, 1:1, 2:2}, and I have tried self.label_mapping = {0:ignore_label, 1:0, 2:1},but the result is error also. please help me ,thank you

hello-program avatar Oct 20 '20 12:10 hello-program

my result is error also, why?

hnsywangxin avatar Oct 20 '20 12:10 hnsywangxin

Hi @hello-program and @hnsywangxin ,

What's the mIoU and class IoU you acheived? (If possible share a screenshot of the terminal). Both gets displayed on the terminal screen with loss also. Class IoU will be in the brackets.

It also looks like class imbalance. The black content in the picture is more compared to Red and Red is having more pixels compared to green.

NikhilChowdary-MCW avatar Dec 29 '20 09:12 NikhilChowdary-MCW