Skip to content

Dealing with additional node features and derivatives w.r.t. them #231

Answered by Linux-cpp-lisp
shasax asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @shasax ,

Sounds like an interesting project!

Question 1: Almost. Providing that key_mapping will give it as input to the model, but you also need to:

  1. Decide whether you want to concatenate your extra input to the existing one-hot input for node_features or replace it
  2. Clarify what the irreps for your "position variances" are, and provide them appropriately
  3. Tell the OneHotAtomEncoding module in the model not to override your provided node_features

The correct way to do this is to define a new "model builder": a function that builds/updates the model in nequip. By default, nequip uses the following list of model builders, which I'm showing here as you would specify them in the YAML con…

Replies: 1 comment 21 replies

Comment options

You must be logged in to vote
21 replies
@Linux-cpp-lisp
Comment options

@shasax
Comment options

@Linux-cpp-lisp
Comment options

@shasax
Comment options

@Linux-cpp-lisp
Comment options

Answer selected by shasax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants