Repository navigation
|
I want to use nequip to predict the properties at the atomic level, for example, atomic energy (I have labels) rather than just the total energy. How should I set up the yaml? |
Replies: 2 comments 5 replies
|
With the major v0.7.0 update, you just need to make sure that you customize the base |
|
Yes, i have updated But after running, it reported an error about the "Keyerror" of "total_energy", which doesn't appear in my dataset |
Dataset statistics is computed primarily to initialize model parameters, see https://nequip.readthedocs.io/en/latest/guide/model.html#dataset-statistics-as-parameters. The
CommonDataStatisticsManagerwill assume the typical set of fields,total_energyandforces. In this case you'd need to use the base https://nequip.readthedocs.io/en/latest/api/data_stats.html#nequip.data.DataStatisticsManager, like what you were doing before, but just make sure you compute dataset statistics that make sense for your model. In you earlier message where you usedDataStatisticsManager, you shouldn't be usingnequip.train.MeanAbsoluteError-- that's a metric. I don't know if you have forces or not, assuming…