justchenhao / STANet

official implementation of the spatial-temporal attention neural network (STANet) for remote sensing image change detection
BSD 2-Clause "Simplified" License
405 stars 110 forks source link

self.L = input['L'].to(self.device).long() KeyError: 'L' #92

Open oshholail opened 2 years ago

oshholail commented 2 years ago

File "test.py", line 104, in val(opt) File "test.py", line 37, in val model.set_input(data) # unpack data from data loader File "D:\change detection\change detect\STANet\models\CDF0_model.py", line 57, in set_input self.L = input['L'].to(self.device).long() KeyError: 'L'