Hi @aurora95 and @athundt, When I run the train.py file, it raises the following error.
Could you please suggest me some way to solve this issue.
File "train.py", line 213, in
label_suffix=label_suffix, ignore_label=ignore_label, label_cval=label_cval)
File "train.py", line 83, in train
classes=classes)
ValueError: axes don't match array
Hi @aurora95 and @athundt, When I run the train.py file, it raises the following error. Could you please suggest me some way to solve this issue.
File "train.py", line 213, in
label_suffix=label_suffix, ignore_label=ignore_label, label_cval=label_cval)
File "train.py", line 83, in train
classes=classes)
ValueError: axes don't match array
if dataset == 'VOC2012_BERKELEY': train_file_path = os.path.expanduser('~/tf/keras-fcn/datasets/VOC2012/ImageSets/Segmentation/train.txt') val_file_path = os.path.expanduser('~/tf/keras-fcn/datasets/VOC2012/ImageSets/Segmentation/val.txt') data_dir = os.path.expanduser('~/tf/keras-fcn/datasets/VOC2012/JPEGImages') label_dir = os.path.expanduser('~/tf/keras-fcn/datasets/VOC2012/SegmentationClass') data_suffix='.jpg' label_suffix='.png' classes = 21