-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pytorch version #44
Comments
The author does not have a PyTorch version of STGCN. However, there are 4 implementations made by PyTorch by others. Unfortunately, all those PyTorch implementations do not follow the paper. |
Would you know those 4 implementations are different from the original STGCN? |
|
I have made a PyTorch version. Here is my code: https://github.com/hazdzz/STGCN |
how do you guarantee your implementation follow the paper? |
does this implementation of temporal convoution module correct? class temporal_conv_layer(nn.Module):
|
I translated the code from the author's which used TensorFlow v1 to mine which used PyTorch. That's it. And I found the author misunderstands the Laplacian matrix in GCN(first-order approximation) which I fixed. |
Yes, it is correct. |
Why do we do one-dimensional convolution in feature dimension instead of time dimension if(self.c_ in > self.c_ out): x_ input = self.conv1 (x) |
I think you should ask the author. I have no idea either. |
请问一下 我用的windows10运行的程序中的main.py 总是报错UnboundLocalError: local variable 'W' referenced before assignment(赋值前引用的局部变量W)的问题,如何修改,请指教一下。谢谢。 D:\Anaconda\envs\tensorflow-gpu\python.exe D:/PycharmProjects/STGCN_IJCAI-18/STGCN_IJCAI-18-master/main.py Process finished with exit code 1 |
Do you have pytorch version?
The text was updated successfully, but these errors were encountered: