Comments (1)
I believe this is better. tested. works fine
if extract_atomic_energies:
atoms_without_iso_atoms = []
for idx, atoms in enumerate(atoms_list):
isolated_atom_config = atoms.info.get("config_type") == "IsolatedAtom"
#if len(atoms) == 1:
if isolated_atom_config:
if energy_key in atoms.info.keys():
atomic_energies_dict[
atoms.get_atomic_numbers()[0]
] = atoms.info[energy_key]
else:
logging.warning(
f"Configuration '{idx}' is marked as 'IsolatedAtom' "
"but does not contain an energy."
)
else:
atoms_without_iso_atoms.append(atoms)
if len(atomic_energies_dict) > 0:
logging.info("Using isolated atom energies from training file")
atoms_list = atoms_without_iso_atoms
from mace.
Related Issues (20)
- Poor energy & force metrics on paper's datasets (carbon nanotube, buckyball catcher) HOT 2
- Can we use pretrain model (mace_mp) and retrain with our configurations? HOT 2
- Multi-GPU evaluation for optimisation of a full protein structure HOT 1
- checkpoint file not read in foundation branch. HOT 7
- Error while using foundation branch HOT 8
- Update install instructions for conda-forge HOT 5
- loss function evaluated as zero. HOT 2
- Setting `dispersion=True` in the MACE-MP-0 foundation model omits data from `calc.results` HOT 1
- LAMMPS-MACE with Kokkos: Illegal memory access encountered with trained MACE but works with MP-MACE-0 HOT 51
- multi-gpu lammps issue HOT 6
- Fine-tunning up-to-date MACE-MP-0 model HOT 7
- Don't modify torch default dtype HOT 1
- typo? in multi-gpu branch run_train.py
- repulsion branch DistributedEnvironment exception produces no output HOT 1
- Where are the Similarity Statement Files for Mace-mp-0? HOT 1
- How to repeat the test-result in your paper
- Possibility to not compute energies on `MACE.forward` HOT 1
- run_train.py crashes if swa fails to make progress HOT 2
- RMSE increases when training on multi-gpu HOT 1
- questions about mace documentation HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mace.