justchenhao / STANet

official implementation of the spatial-temporal attention neural network (STANet) for remote sensing image change detection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

oshholail opened this issue · comments

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'