You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running python -m torch.distributed.launch --nproc_per_node=4 tools/train.py --config-file configs/cityscapes/pvt_small_FPT.yaml on four GTX 1080s.
Error
Found an error within /segmentron/data/dataloader/cityscapes.py. In _get_city_pairs(), the code doesn't account for if split='test'. Bug partially fixed if you change if split in ('train', 'val'): in _get_city_pairs() to if split in ('train', 'val', 'test'):.
However, when running the execution command again, I get an AssertionError: AssertionError== cfg.TRAIN.BASE_SIZE == cfg.TEST.CROP_SIZE[0] == cfg.TEST.CROP_SIZE[1]
Execution Command
Running
python -m torch.distributed.launch --nproc_per_node=4 tools/train.py --config-file configs/cityscapes/pvt_small_FPT.yaml
on four GTX 1080s.Error
Found an error within /segmentron/data/dataloader/cityscapes.py. In
_get_city_pairs()
, the code doesn't account for if split='test'. Bug partially fixed if you changeif split in ('train', 'val'):
in_get_city_pairs()
toif split in ('train', 'val', 'test'):
.However, when running the execution command again, I get an AssertionError:
AssertionError== cfg.TRAIN.BASE_SIZE == cfg.TEST.CROP_SIZE[0] == cfg.TEST.CROP_SIZE[1]
Error Log
The text was updated successfully, but these errors were encountered: