Closed lifeiwen closed 5 years ago
Please put your dataset in ~/.encoding/data/ADEChallengeData2016
@wuhuikai 你好,我把数据放在你说的路径还是AssertionError: Please setup the dataset usingencoding/scripts/prepare_ade20k.py这个问题
What's your OS, Windows or Linux?
@wuhuikai linux 把数据路径改成了绝对路径也还是有这个问题
Can you show the structure of ~/.encoding/data
?
@wuhuikai Hi我的数据是FastFCN/encoding/data/ADEChallengeData2016/
(torch1.0) lf@110:~/Semantic segmentation/FastFCN/experiments/segmentation$ python train.py
Namespace(aux=False, aux_weight=0.2, backbone='resnet50', base_size=520, batch_size=16, checkname='default', crop_size=480, cuda=True, dataset='ade20k', dilated=False, epochs=120, ft=False, jpu=False, lateral=False, lr=0.01, lr_scheduler='poly', mode='testval', model='encnet', model_zoo=None, momentum=0.9, ms=False, no_cuda=False, no_val=False, resume=None, save_folder='results', se_loss=False, se_weight=0.2, seed=1, split='val', start_epoch=0, test_batch_size=16, train_split='train', weight_decay=0.0001, workers=16)
BaseDataset: base_size 520, crop_size 480
Traceback (most recent call last):
File "train.py", line 176, in
I see. Please put your dataset in /home/[USER NAME]/.encoding/data/ADEChallengeData2016
出现这个错误直接在路径下python train.py