Frank-Wang-oss / FCSTGNN

87 stars 12 forks source link

main_RUL.py报错 #11

Open wangpeiwen1 opened 4 months ago

wangpeiwen1 commented 4 months ago

您好 Exception has occurred: TypeError Can't instantiate abstract class CMPDataIter_graph with abstract methods iter File "/home/server-816/wpw/STGraph/FCSTGNN/FC_STGNN/main_RUL.py", line 20, in init data_iter = CMPDataIter_graph('./', File "/home/server-816/wpw/STGraph/FCSTGNN/FC_STGNN/main_RUL.py", line 306, in train = Train(args) TypeError: Can't instantiate abstract class CMPDataIter_graph with abstract methods iter

运行的是main_RUL.py文件,报这个错是什么意思呢?

Richard-zeng commented 4 months ago

同问,请问解决了吗

您好 Exception has occurred: TypeError Can't instantiate abstract class CMPDataIter_graph with abstract methods iter File "/home/server-816/wpw/STGraph/FCSTGNN/FC_STGNN/main_RUL.py", line 20, in init data_iter = CMPDataIter_graph('./', File "/home/server-816/wpw/STGraph/FCSTGNN/FC_STGNN/main_RUL.py", line 306, in train = Train(args) TypeError: Can't instantiate abstract class CMPDataIter_graph with abstract methods iter

运行的是main_RUL.py文件,报这个错是什么意思呢?