Closed Star-live closed 3 years ago
Hi~
You may add __init__
function in your own DCRNN class like this:
`class my_data_loader(NodeTrafficLoader):
def __init__(self, **kwargs):
super(my_data_loader, self).__init__(**kwargs)
# generate LM
graph_obj = GraphGenerator(graph=kwargs['graph'], data_loader=self)
self.AM = graph_obj.AM
self.LM = graph_obj.LM
` We just update DCRNN QuickStart and you can follow it.
Thanks for your attention.
Thank you very much, now I can run it successfully.
When I run this file https://github.com/uctb/UCTB/blob/master/QuickStarts/DCRNN.py, the program shows the following error:
I am sure that the UTCB I installed is correct, and the data can be loaded normally, because I can run the following file normally https://github.com/uctb/UCTB/blob/master/QuickStarts/Visualization.py.
Excuse me, how should I modify it so that it can be used normally?