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

Zihenglu/add batch to singlepoint calc #74

Closed
wants to merge 2 commits into from

Conversation

luzihen
Copy link
Contributor

@luzihen luzihen commented Dec 31, 2024

add a utility script to perform batch inference on a list of ASE Atoms objects and assign predicted properties to the atoms.
usage:
python batch_infer_to_ase_utils.py h
usage: batch_infer_to_ase_utils.py [-h] [--load_path LOAD_PATH] [--batch_size BATCH_SIZE] --input_structures INPUT_STRUCTURES [--output_file OUTPUT_FILE]

The output file can be read with ase.io.read and can use .get_potential_energy() to retrieve the inferred energy

@yanghan234
Copy link
Collaborator

This PR duplicates the functionality in src/mattersim/cli/applications/singlepoint.py.

@yanghan234 yanghan234 closed this Jan 2, 2025
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

Successfully merging this pull request may close these issues.

2 participants