-
Notifications
You must be signed in to change notification settings - Fork 22
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
mismatch in tensor size #102
Comments
It is likely to be the consequence of Could you share the version and minimal data to reproduce the error? |
hi @YutackPark data_format_args:
energy_key: 'ref_energy'
force_key: 'ref_forces'
stress_key: 'ref_stress' |
atoms.info['y_stress'] = atoms.info[stress_key] When 'stress' data is loaded via custom key, in your case For now, you may preprocess your |
hi @YutackPark
ref_stress already has shape (1,6) what preprocess did you mean? |
@thangckt, I copy pasted the data you gave to me and read it using Plus, I looked more closely and seems the feature is broken, due to the difference between stress notation inside the SevenNet -1 * (xx, yy, zz, xy, yz, zx) and ASE (Voigt: xx, yy, zz, yz, zx, xy). I recommend to not use it before the patch, unless you're very confident of it. |
hi @YutackPark About the stress component order, it will be serious misleading. Can I know why you don't follow the well-known Voigt notation? |
hi @thangckt |
hi @YutackPark About stress notation, I think It should better follow Voigt notation. Any output from a specific software should be converted to this convention. Otherwise, it will be serious misleading for users. |
It was supposed to follow voigt notation for this recently introduced EFS key feature, and what happened here is simply my fault, and I agree with you. |
Hi @thangckt , could you check current main branch? $ sevenn_inference 7net-0 your_data.extxyz --kwargs energy_key='ref_energy' force_key='ref_forces' stress_key='ref_stress' From Also, I confirmed training works without a problem. Lots of things have changed for this version (0.10.0), please check the change log: https://github.com/MDIL-SNU/SevenNet/blob/main/CHANGELOG.md. By the way, if you don't like the changes I mad for this version, feel free to raise issue or discussion of it. |
hi @YutackPark, Thank you so much for the update and information. About this
The data in my extxyz with unit: energy [eV], forces [eV/Angstrom], stress [eV/Angstrom^3] Thanks. |
@thangckt , |
Dear Deverlopers,
I get the below error when set
is_train_stress: True
This error disapears when set
is_train_stress: False
Can you have a little help?
Thanks.
The text was updated successfully, but these errors were encountered: