Closed michelegentili93 closed 1 year ago
Hello, I also want to change the period of input and output but don' t know how to do this. I see you suggestion, you just change the class TemporalGNN, i think may be the class A3TGCN also need to be change to achieve this goal. By the way, did you slove this problem now?
Hi Melody, yes it is working for me :)
Il giorno ven 29 lug 2022 alle ore 07:39 Melody_tt @.***> ha scritto:
Hello, I also want to change the period of input and output but don' t know how to do this. I see you suggestion, you just change the class TemporalGNN, i think may be the class A3TGCN also need to be change to achieve this goal. By the way, did you slove this problem now?
— Reply to this email directly, view it on GitHub https://github.com/benedekrozemberczki/pytorch_geometric_temporal/issues/171#issuecomment-1199178465, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADS5W6YAD2VSXKX6JKKHUFLVWO7FPANCNFSM5XEKVDDQ . You are receiving this because you authored the thread.Message ID: <benedekrozemberczki/pytorch_geometric_temporal/issues/171/1199178465@ github.com>
Hi, I've tried to have a prediction window longer then input window and the notebook doesn't work, i.e. num_timesteps_in=12< num_timesteps_out=14. Because in TemporalGNN you use
periods
for both the window of x and the window of the prediction (y).I suggest this:
` class TemporalGNN(torch.nn.Module): def init(self, node_features, periods_in,periods_pred, batch_size): super(TemporalGNN, self).init()
Attention Temporal Graph Convolutional Cell
`