Open Joanna006 opened 1 month ago
您好,在融合图像完成后,遇到的问题 |1 Fusion Image Sucessfully~! ./MSRS/Fusion/train ./MSRS/Fusion/train/MSRS ./MSRS/Label/train/MSRS Traceback (most recent call last): File "train.py", line 404, in train_seg(i, logger, args) File "train.py", line 87, in train_seg ds = CityScapes('./MSRS/', cropsize=cropsize, mode='train', Method=Method) File "/root/autodl-tmp/SeAFusion-main/cityscapes.py", line 71, in init assert set(imgnames) == set(gtnames) AssertionError
可以尝试一下修改Dataloader即可。
您好,在融合图像完成后,遇到的问题 |1 Fusion Image Sucessfully~! ./MSRS/Fusion/train ./MSRS/Fusion/train/MSRS ./MSRS/Label/train/MSRS Traceback (most recent call last): File "train.py", line 404, in
train_seg(i, logger, args)
File "train.py", line 87, in train_seg
ds = CityScapes('./MSRS/', cropsize=cropsize, mode='train', Method=Method)
File "/root/autodl-tmp/SeAFusion-main/cityscapes.py", line 71, in init
assert set(imgnames) == set(gtnames)
AssertionError