Xiaoyu006 / SATP-with-GNN

MIT License
28 stars 8 forks source link

Can't instantiate abstract class STP_GR_Dataset with abstract methods get, len #4

Open LzyhzfOliver opened 5 months ago

LzyhzfOliver commented 5 months ago

When running stp_gr_dataset.py alone, the program reports an error Can't instantiate abstract class STP_GR_Dataset with abstract methods get, len.

ChAdilHussainGujjar commented 2 months ago

print('there are {} data pieces for {} on {}'.format(self.len(), self.data_path.split('/home/xy/')[1], self.scenario_names))


IndexError: list index out of range

I have changed the address, but still the same error of list index out of range.'

DO you know what might be the reason?