fudan-zvg / SETR

[CVPR 2021] Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformers
MIT License
1.05k stars 149 forks source link

DataLoader error. #34

Closed Welllee12366 closed 3 years ago

Welllee12366 commented 3 years ago

Hello, according to the document, I installed and tried the training model normally, but it reported an error during the training process: Is it incompatible with MMseg? Thanks for giving anwser. Here are some details about the error I met:

2021-07-13 11:57:07,774 - mmseg - INFO - Loaded 2975 images
2021-07-13 11:57:12,063 - mmseg - INFO - Loaded 500 images
2021-07-13 11:57:12,064 - mmseg - INFO - Start running, host: well@admin01, work_dir: /home/well/SETR/work_dirs/SETR_Naive_768x768_40k_cityscapes_bs_8
2021-07-13 11:57:12,064 - mmseg - INFO - workflow: [('train', 1)], max: 40000 iters

...

FileNotFoundError: [Errno 2] No such file or directory: '/home/well/SETR/data/cityscapes/gtFine/train/cologne/cologne_000019_000019_gtFine_labelTrainIds.png'

I make sure the file path is correct. But it can not start the training process.

Welllee12366 commented 3 years ago

Sorry, I have solve this issue. I have forgot preprocessing the Cityscapes dataset! Thanks for sharing these codes.