benedekrozemberczki / pytorch_geometric_temporal

PyTorch Geometric Temporal: Spatiotemporal Signal Processing with Neural Machine Learning Models (CIKM 2021)
MIT License
2.58k stars 367 forks source link

Dataset iterator does have bug #257

Open moghadas76 opened 8 months ago

moghadas76 commented 8 months ago
  next(train_dataset)

AttributeError Traceback (most recent call last) in <cell line: 1>() ----> 1 next(train_dataset)

/usr/local/lib/python3.10/dist-packages/torch_geometric_temporal/signal/static_graph_temporal_signal.py in next(self) 122 123 def next(self): --> 124 if self.t < len(self.features): 125 snapshot = self[self.t] 126 self.t = self.t + 1

AttributeError: 'StaticGraphTemporalSignal' object has no attribute 't'