Comments (5)
Hey, yes we have used exactly that linked config file, without any changes. We were also confused by that error as the lr_initial
is part of the optim
subtree. Actually loads of parts of the config file was not read properly according to our logs. It is a really strange that everything is working for you, while not for us. And it is also very strange, that everything is working for the GemNet-OC OCP20+22 model, but not for the OCP20 model.
We were not using OCP22 through main.py
but rather through OCPCalculator:
from ocpmodels.common.relaxation.ase_utils import OCPCalculator
checkpoint_path = "/path/to/configs/oc22/s2ef/gemnet-oc/gemnet_oc.yml"
config_yml_path = "/path/to/gnoc_oc22_all_s2ef.ptl"
calc = OCPCalculator(config_yml=config_yml_path,
checkpoint=checkpoint_path,
cpu= False)
Please could you try that as well? Thank you!
from ocp.
Thanks! I was able to repro this from the OCPCalculator
interface. Working on a fix
from ocp.
Hey, does the optim
subtree in your config yaml have lr_initial
? The config that you linked to does have it, but I'm not seeing it in the logs you pasted:
...
optim:
energy_coefficient: 1
force_coefficient: 1
loss_energy: mae
loss_force: atomwisel2
...
I also re-downloaded the GemNet-OC OC22 checkpoint at my end and ran the following to try and repro the error, but it seems to work fine:
python main.py --mode validate --config configs/oc22/s2ef/gemnet-oc/gemnet_oc.yml --checkpoint /path/to/gnoc_oc22_all_s2ef.pt --debug
from ocp.
@ondrejkrejci we just merged a fix for this in #585, could you pull the latest changes from the main
branch and give it another shot please?
from ocp.
Thank you @abhshkdz ! We pull and reinstall and it is working for us!
from ocp.
Related Issues (20)
- OCPCalculator fails when loading checkpoints HOT 2
- Equiformer v2 PyPI release HOT 1
- Suggestions to improve changes in #639
- Balanced Sampler QOL
- Question about preprocessing relaxed trajectories HOT 3
- Does N2H4 means β*NHN2β in your paperοΌ HOT 1
- Skipping scheduler for EquiformerV2 with OC22 HOT 6
- Nan loss in Equiformer_v2 HOT 4
- Adsorption energy for OC20 mapping HOT 2
- Problem When Submitting Result Files HOT 4
- TypeError: a bytes-like object is required, not 'NoneType'
- scale file paths need to be updated for monorepo organization HOT 1
- Having troubles installing fairchem.core. when running"pip install packages/farichem-core" I get an error. HOT 8
- assert isinstance( ^^^^^^^^^^^ AssertionError when run ocptrainer.predict(ocptrainer.test_loader)
- Does ODAC use the same VASP settings as OC20? HOT 2
- How to get the totale system energy of a "fairchem.data.oc.core.Slab" or "fairchem.data.oc.core.Adsorbate" HOT 2
- The use of pre-trained JMP models HOT 1
- Rename OCPCalculator to FAIRChemCalculator or similar HOT 1
- `OCPCalculator` not compatible with ocp 2.0 format configs HOT 4
- Errors with ODAC23 EquiformerV2 models HOT 4
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 ocp.