quancore / social-lstm

Social LSTM implementation in PyTorch
423 stars 254 forks source link

keyerror #40

Open xieyilin19 opened 2 years ago

xieyilin19 commented 2 years ago

I met this problem that when i tried to run the train.py, it said that '' keyerror 'train' '',but I have no idea why this happened. Is there anyone meeting the same problem? Thx a lot. 5dad7974a2db32291261fd1af52ea4d

canzhi9 commented 2 years ago

请问你解决了吗

Destined777 commented 1 year ago

You could try modifying get_directory_name_with_pointer in utils.py by replacing the former codes with belows. folder_name = self.data_dirs[pointer_index].split('/')[-1] folder_name = folder_name.split('\\')[0] return folder_name