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

自己数据集的实现

Open baomimianbobo opened this issue 3 years ago • 7 comments

Hello, I want to use my own data set to implement on this network. I have JPG original drawing and JSON file in my hand. How can I change my data set to adapt to the network training?

baomimianbobo avatar Oct 19 '21 14:10 baomimianbobo

I also want to know it ! Thank you so much.

nianjiuhuiyi avatar Oct 26 '21 06:10 nianjiuhuiyi

Long times had gone. Someone can help to solve this problem?

AirHighway avatar Mar 03 '22 08:03 AirHighway

Hello, I am now trying to use my own dataset on this network, too. I have the orignal PNGs and the label, could you please tell me how to change them so that I can train them? Thank you very much for your help!

LAOWU1224 avatar Mar 04 '22 09:03 LAOWU1224

I made my own data as Cityscapes Dataset format, but my dataset only has 6 classes labeled 0-5. I change the "self.label_mapping" in lib/datasets/cityscapes.py: self.label_mapping = {0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5} But when I was training, the eval on val is: [0. 0.00423967 0.35140248 0. 0. 0. ]

Could you tell me how to fix this problem? Was there anything I forgot to modify?

shata-wh avatar Mar 31 '22 07:03 shata-wh

Hello,I am using myself dateset on this netowrk,but the code "import models" appears error.what's the reason of this.

Thehonst avatar Jul 02 '22 02:07 Thehonst

I made my own data as Cityscapes Dataset format, but my dataset only has 6 classes labeled 0-5. I change the "self.label_mapping" in lib/datasets/cityscapes.py: self.label_mapping = {0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5} But when I was training, the eval on val is: [0. 0.00423967 0.35140248 0. 0. 0. ]

Could you tell me how to fix this problem? Was there anything I forgot to modify?

i got the same problem....

AlanCSU avatar Oct 04 '22 07:10 AlanCSU

Traceback (most recent call last): File "tools/train.py", line 232, in main() File "tools/train.py", line 135, in main train_dataset = eval('dataset.'+cfg.DATASET.DATASET)( File "", line 1, in AttributeError: module 'dataset' has no attribute 'mycoco(自己的数据集)',请问这个报错怎么解决呀

ChineseWTAO avatar Mar 24 '23 08:03 ChineseWTAO