-
Notifications
You must be signed in to change notification settings - Fork 266
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
Errors when testing the train.py with tensorflow as backend #26
Comments
Interesting- thanks for reporting. Did you make any changes to the code? |
Thanks for the quick reply. No, I did not make changes to the script, but the codes into jupyter-notebook for running. |
Can you try running the script directly from the command line? |
Sorry, I have errors during installation of the package: This is probably due to the permission issues in our local clusters. That's why I want to test it using jupyter. |
I'm not sure how I can reproduce your error. But instead of installing the package you can also add the folder containing it to your
Simply replace After the folder is added to your |
Thanks! It worked in this way! |
The error message showed up again when I change the FILTER method from 'localpool' to 'chebyshev' even by running "python train.py" from terminal ValueError: Dimensions must be equal, but are 4299 and 1433 for 'graph_convolution_1/MatMul' (op: 'MatMul') with input shapes: [?,4299], [1433,16]. |
Ah, thanks for catching this - this is something I can look into. |
Fixed with eb89564 |
Hi,
I was trying to test the keras-gcn package with the cora dataset.
But there is always an error when I try to run the command: H = GraphConvolution(16, support, activation='relu', kernel_regularizer=l2(5e-4))([H]+G)
Output message:
Loading cora dataset...
Dataset has 2708 nodes, 5429 edges, 1433 features.
InvalidArgumentError: Dimensions must be equal, but are 4299 and 1433 for 'graph_convolution_2/MatMul' (op: 'MatMul') with input shapes: [?,4299], [1433,16].
The dataset has a shape of (2708, 1433) for input and (2708, 7) for output.
Do you have a clue what causes this error and how can I fix it ?
My keras version is 2.1.1, with tensorflow (version 1.4.0) as backend.
Thanks!
Best,
Yu.
The text was updated successfully, but these errors were encountered: