-
Notifications
You must be signed in to change notification settings - Fork 87
[WIP] Introduce additional_labels #306
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
Closed
Closed
Changes from all commits
Commits
Show all changes
83 commits
Select commit
Hold shift + click to select a range
43d8f9f
Update tensornet.py
guillemsimeon 9ccc2c0
Update model.py
guillemsimeon 25854fb
Update model.py
guillemsimeon cc6de7a
move to extra_fields implementation
AntonioMirarchi 9478a92
remove charge and spin, this will go to extra_fields
AntonioMirarchi c7014e7
force hdf5 dataset to common-unique data structure
AntonioMirarchi 1f4928c
force ace dataset to common-unique data structure
AntonioMirarchi 7f238dc
remove charge and spin flag from train.py
AntonioMirarchi 3250fc4
add extra_fields to argparse
AntonioMirarchi 736af54
memdataset to common-unique data-structure
AntonioMirarchi d495044
qm9q to common-unique data structure
AntonioMirarchi 014a06c
ET to extra_fields
AntonioMirarchi b081a09
add extra_fields documentation to the ET
AntonioMirarchi 2910694
transformer to extra_fields
AntonioMirarchi c0489af
small fix in ET documentation
AntonioMirarchi cb2229a
graph-network to extra_fields
AntonioMirarchi 2fe05bc
remove optional tensor for extra args, it's needed by default
AntonioMirarchi 3150672
remove extra_args from model forward, extra_fields_args it's only needed
AntonioMirarchi 6055357
add self.extra_fields to architectures
AntonioMirarchi e3ebbbe
remove all 'q' specific function, to move to more general extra_fields
AntonioMirarchi ea3acd6
change variable name t additional_labels and allow to be only a dict
AntonioMirarchi c34fc52
remove architectural redundancy
AntonioMirarchi 32f2456
move to additional_labels verion
AntonioMirarchi ef4cfbe
use extra_args
AntonioMirarchi ebb08c2
tnsnet v2 with tensornetQ class as additional method
AntonioMirarchi 91c7cde
update warning message
AntonioMirarchi fbfafaf
force labels to be atom_wise
AntonioMirarchi 088dd5f
remove unused arg
AntonioMirarchi 9479ae7
fix extra_args_nnp generation
AntonioMirarchi cd8ab2d
remove old code residue
AntonioMirarchi f48e408
use correct name in forward for extra_args
AntonioMirarchi ef64fc4
fix arg name
AntonioMirarchi de17cc0
fix arg name
AntonioMirarchi f947af4
rename to additional_methods
AntonioMirarchi 4e00f8c
fix documentation
AntonioMirarchi 2206a4c
fix ace dataloader with new extra_args name
AntonioMirarchi 582d1ef
prefactor to device and dtype
AntonioMirarchi 7547f34
initialize nn.Parameter with torch tensor
AntonioMirarchi 2388670
fix argspace name for additional labels
AntonioMirarchi ea56bd3
fix prefactor operation
AntonioMirarchi 89b0d31
more efficient
AntonioMirarchi 10ee140
specify also the name of the mehods in addtional_methods dict
AntonioMirarchi cef4e64
remove unused trainable_rbf from tensornet embedding
AntonioMirarchi 8958750
update additional_labels documentation in models
AntonioMirarchi 4ef5aa9
remove extra_args expansion
AntonioMirarchi 815b8c3
add extra_args expansion inside the model
AntonioMirarchi 3cb232e
add test for additional labels
AntonioMirarchi 2c8e47b
add additional_labels to load_example_args for testing
AntonioMirarchi 6f7fac9
double check with and
AntonioMirarchi e1d8918
fix condition when extra args are passed to the forward
AntonioMirarchi 40234f2
update to addtional_labels
AntonioMirarchi 3b0dbf8
update test_examples
AntonioMirarchi 433017e
update test wrappers
AntonioMirarchi d3af9dd
additional_methods to torchmd_GN_optimized
AntonioMirarchi 4f3903a
small change, remove print from test_model
AntonioMirarchi 2b18f90
to shared extra args nomenclature
AntonioMirarchi 604034a
fix dipole_moments in the documentation, ace v2.0
AntonioMirarchi 052261e
remove old comment
AntonioMirarchi c0902c5
update to get the additional labels from argparse as discussed in the PR
AntonioMirarchi 917cb7a
fix documentation, include extra_args in the model's input
AntonioMirarchi 452362b
to black
AntonioMirarchi cfd0f53
remove Any from typyng import
AntonioMirarchi 5e02fc7
initialize_additional_method as free standing function
AntonioMirarchi 3470f7e
remove Any from typing import because not used
AntonioMirarchi 2ec850a
remove Any from typing import
AntonioMirarchi 781a3a7
update for loop in the forward step and extra_args/static_shapes asse…
AntonioMirarchi 1a30039
send always extra_args
AntonioMirarchi e811a5e
add reset_parameters for tensornetQ
AntonioMirarchi 27f13db
add an assertion to verify that additional_labels is not specified fo…
AntonioMirarchi 3ee76de
reintroduce charge and spin for backward compatibility
AntonioMirarchi d5a9e5f
to black
AntonioMirarchi 75c6726
remove comment
AntonioMirarchi 591253c
let tensornetq's operations more efficient
AntonioMirarchi 4cd6313
move to label_callbacks instead of additional_methods
AntonioMirarchi 6b72a00
rename to additional_labels_handler
AntonioMirarchi fc58fb3
get torch.jit compatibility, comprehension ifs are not supported yet
AntonioMirarchi 0ac63d9
remove unused import
AntonioMirarchi 8a4a181
use warning instead of assertion
AntonioMirarchi fdf12aa
more readable format
AntonioMirarchi 580cd34
update test_model considering extra_args will be always passed to the…
AntonioMirarchi d483230
move prefactor and tensornet_q operation from the interacton layer to…
AntonioMirarchi 9e546dd
fix typo
AntonioMirarchi b0d08e1
Merge branch 'main' into extra_fields_NNPs
AntonioMirarchi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.