Linfeng-Tang / SeAFusion

The code of " Image fusion in the loop of high-level vision tasks: A semantic-aware real-time infrared and visible image fusion network"
MIT License
207 stars 37 forks source link

无法进行后续语义分割训练 #46

Open RicoVVV opened 5 months ago

RicoVVV commented 5 months ago

您好,我在完成融合训练后,尝试进行语义分割训练,但却总是报错难以找到目标文件夹,但是我确实是指定了正确的文件夹 |1 Fusion Image Sucessfully~! /MSRS/Fusion/train/MSRS Traceback (most recent call last): File "train.py", line 407, in train_seg(i, logger, args) File "train.py", line 89, in train_seg ds = CityScapes('/MSRS/', cropsize=cropsize, mode='train', Method=Method) File "/home/zhangyuxinhd/SF2/cityscapes.py", line 43, in init folders = os.listdir(impth) FileNotFoundError: [Errno 2] No such file or directory: '/MSRS/Fusion/train/MSRS' 我将分割的训练集指向了融合得到的训练图像,但依旧报错

Linfeng-Tang commented 5 months ago

尝试修改Dataloader 来解决这个问题。

RicoVVV @.***> 于2024年5月30日周四 14:57写道:

您好,我在完成融合训练后,尝试进行语义分割训练,但却总是报错难以找到目标文件夹,但是我确实是指定了正确的文件夹 |1 Fusion Image Sucessfully~! /MSRS/Fusion/train/MSRS Traceback (most recent call last): File "train.py", line 407, in train_seg(i, logger, args) File "train.py", line 89, in train_seg ds = CityScapes('/MSRS/', cropsize=cropsize, mode='train', Method=Method) File "/home/zhangyuxinhd/SF2/cityscapes.py", line 43, in init folders = os.listdir(impth) FileNotFoundError: [Errno 2] No such file or directory: '/MSRS/Fusion/train/MSRS' 我将分割的训练集指向了融合得到的训练图像,但依旧报错

— Reply to this email directly, view it on GitHub https://github.com/Linfeng-Tang/SeAFusion/issues/46, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFH5IL7NTLF2OIHBVCVVWDZE3EVDAVCNFSM6AAAAABIQJ4YPSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZDIOBWGEYTSNI . You are receiving this because you are subscribed to this thread.Message ID: @.***>