Skip to content
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

Issue with chemical dataset #3

Open
AndyLiuin opened this issue Aug 12, 2021 · 3 comments
Open

Issue with chemical dataset #3

AndyLiuin opened this issue Aug 12, 2021 · 3 comments

Comments

@AndyLiuin
Copy link

AndyLiuin commented Aug 12, 2021

Hello!

I tried to run the code with chemical datasets. However there are always some dimension problems with the SpatialGraphConv layer. For instance I ran the 'freesolv' dataset and in the line 'aggr_out = self.lin_out(aggr_out' there is the problem.
RuntimeError: mat1 and mat2 shapes cannot be multiplied (597x1600 and 64x64)
Did you come across similar problem and do you have any idea how to solve it? Note that I used default parameters only and changed the train_model with the lines you suggested in Readme file.

By the way, I also wish to put edge_attr feature in the conv_layer. Could you point out where I can do so?

Thanks a lot. I'm trying to apply this to my current work :)

@Yueming-Yin
Copy link

Hello!

I tried to run the code with chemical datasets. However there are always some dimension problems with the SpatialGraphConv layer. For instance I ran the 'freesolv' dataset and in the line 'aggr_out = self.lin_out(aggr_out' there is the problem. RuntimeError: mat1 and mat2 shapes cannot be multiplied (597x1600 and 64x64) Did you come across similar problem and do you have any idea how to solve it? Note that I used default parameters only and changed the train_model with the lines you suggested in Readme file.

By the way, I also wish to put edge_attr feature in the conv_layer. Could you point out where I can do so?

Thanks a lot. I'm trying to apply this to my current work :)

Hello, have you solved this issue?

I encountered the same error "RuntimeError: mat1 and mat2 shapes cannot be multiplied (2064x1600 and 64x16)" when I used other chemical datasets.

@Yueming-Yin
Copy link

parser.add_argument('--label_dim', type=int, default=25)

This may work with label_dim=25.

@stuppppid
Copy link

I also have same question RuntimeError: mat1 and mat2 must have the same dtype, but got Double and Float.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants