Hi,
I try to run the SegNet and use CityScapes as dataset. But I got an AssertionError. Could you give me some help? Thanks a lot.
There are my config.json and the error report.
Traceback (most recent call last):
File "train.py", line 61, in
main(config, args.resume)
File "train.py", line 22, in main
train_loader = get_instance(dataloaders, 'train_loader', config)
File "train.py", line 16, in get_instance
return getattr(module, config[name]['type'])(*args, config[name]['args'])
File "/home/hudh/zzy/pytorch_segmentation/dataloaders/cityscapes.py", line 82, in init
self.dataset = CityScapesDataset(mode=mode, kwargs)
File "/home/hudh/zzy/pytorch_segmentation/dataloaders/cityscapes.py", line 26, in init
super(CityScapesDataset, self).init(**kwargs)
File "/home/hudh/zzy/pytorch_segmentation/base/base_dataset.py", line 27, in init
self._set_files()
File "/home/hudh/zzy/pytorch_segmentation/dataloaders/cityscapes.py", line 40, in _set_files
assert os.listdir(image_path) == os.listdir(label_path)
AssertionError
Hi, I try to run the SegNet and use CityScapes as dataset. But I got an AssertionError. Could you give me some help? Thanks a lot. There are my config.json and the error report.
{ "name": "SegNet", "n_gpu": 2, "use_synch_bn": true,
}