Closed jvita closed 5 months ago
The issue is I guess missing RescaleEnergyEtc
module. When we use default "example.yaml" or "full.yaml" configuration, it adds a global scale_by
factor in the model. But in your config file, that has been removed. I could not find any explicit keyword that influences that, but manual model_builder
list. For now I have added an exception checking to set the global scale to 1 if missing. Now I can get KIM API model from the configuration you provided. I think this should work now. Please give it a go.
This also explains the original oversight. When giving the default yaml files, I skipped explicit declaration of model_builder
list. This forces a default construction of the model_builder
, where I removed the ForceOutput
builder string. But when you explicitly ser it, that was overridden.
@jvita Did you get the time to give it a go?
Yes, the model compiled at least, but I haven't had time to run an actual test with it. I was planning to put together a script to run a few KIM tests, but haven't found the time yet.
Great! No issues at all. In that case I will merge these changes back in main branch end close this issue.
On Tue, Feb 20, 2024, 07:00 Josh Vita @.***> wrote:
Yes, the model compiled at least, but I haven't had time to run an actual test with it. I was planning to put together a script to run a few KIM tests, but haven't found the time yet.
— Reply to this email directly, view it on GitHub https://github.com/ipcamit/kim-nequip/issues/4#issuecomment-1954167150, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTZ2D75VABVJADSQWHSMH3YUSM6JAVCNFSM6AAAAABDKRYRS6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJUGE3DOMJVGA . You are receiving this because you commented.Message ID: @.***>
Moving discussion here for better documentation and code formatting.
Previous error:
Amit's response:
New error: