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

config params error #72

Closed
xnuohz opened this issue Jan 5, 2021 · 5 comments
Closed

config params error #72

xnuohz opened this issue Jan 5, 2021 · 5 comments

Comments

@xnuohz
Copy link

xnuohz commented Jan 5, 2021

Hi, it seems that the config in demo cannot work now:(

I used the following cfg

'MPNNAACDTA': {
      'drug_encoding': 'MPNN',
      'target_encoding': 'AAC',
      'cls_hidden_dims': [1024, 1024, 512],
      'train_epoch': 100,
      'LR': 0.001,
      'batch_size': 128,
      'hidden_dim_drug': 128,
      'hidden_dim_protein': 128,
      'input_dim_protein': 128,
      'mlp_hidden_dims_target': [128],
      'mpnn_hidden_size': 128,
      'mpnn_depth': 3,
      'cnn_target_filters': [32, 64, 96],
      'cnn_target_kernels': [4, 8, 12]
  }

and it got the error RuntimeError: mat1 dim 1 must match mat2 dim 0

My DeepPurpose version is 0.0.5.

@kexinhuang12345
Copy link
Owner

Hi, I just ran that demo and it runs without errors. Could you send the scripts to obtain the errors? thx

@xnuohz
Copy link
Author

xnuohz commented Jan 6, 2021

Mail to you

@kexinhuang12345
Copy link
Owner

Hi, sorry for the late reply. Could you send me the problem again? It seems like I didn't receive it. Thanks!

@kexinhuang12345
Copy link
Owner

It looks like somehow the AAC input_dim_protein is wrong, could you switch to 8420?

@kexinhuang12345
Copy link
Owner

closing for now, feel free to reopen

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

2 participants