Title: Inconsistent force predictions between `tensorpot` and `pyace` backends · Issue #97 · ICAMS/python-ace · GitHub
Open Graph Title: Inconsistent force predictions between `tensorpot` and `pyace` backends · Issue #97 · ICAMS/python-ace
X Title: Inconsistent force predictions between `tensorpot` and `pyace` backends · Issue #97 · ICAMS/python-ace
Description: Dear python-ace developers, I trained an ACE potential (output_potential.yaml) using the tensorpot backend and wanted to use the resulting potential with the ASE pyace calculator. When plotting F_pred vs F_ref on my test dataset, I notic...
Open Graph Description: Dear python-ace developers, I trained an ACE potential (output_potential.yaml) using the tensorpot backend and wanted to use the resulting potential with the ASE pyace calculator. When plotting F_p...
X Description: Dear python-ace developers, I trained an ACE potential (output_potential.yaml) using the tensorpot backend and wanted to use the resulting potential with the ASE pyace calculator. When plotting F_p...
Opengraph URL: https://github.com/ICAMS/python-ace/issues/97
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Inconsistent force predictions between `tensorpot` and `pyace` backends","articleBody":"Dear python-ace developers,\n\nI trained an ACE potential (`output_potential.yaml`) using the `tensorpot` backend and wanted to use the resulting potential with the ASE `pyace` calculator.\n\nWhen plotting **F_pred vs F_ref** on my test dataset, I noticed that the resulting force MAE and RMSE differ significantly from those reported in `log.txt` during training.\n\nTo ensure this was not an issue in my own Python code, I performed a no-fit run using:\n\n~~~bash\npacemaker input.yaml --no-fit --potential output_potential.yaml\n~~~\n\nThe `input.yaml` file is identical to the one used during training, except:\n- The backend is set to `pyace` instead of `tensorpot`\n- The filenames are set to `fitting_data_info.pckl.gzip` and `test_data_info.pckl.gzip` (both generated during training)\n\nThis run gave me the same forces as my own ASE calculator, confirming consistency between them. However, a subset of forces predicted by `pyace` differs noticeably from those predicted by `tensorpot`.\n\nI attached a minimal dataset for reproducing this issue:\n- `output_potential.yaml` – the trained potential \n- `difference_data.pckl.gzip` – ASE Atoms, reference energies, forces, and positions \n- `difference_data_pred_tensorpot.pckl.gzip` – predictions by `tensorpot` \n- `difference_data_pred_pyace.pckl.gzip` – predictions by `pyace` \n- `input.yaml` – configuration file used \n- Two scatter plots of **F_tensorpot vs F_pyace**\n\nI am using:\n- python version: 3.10.13\n- pacemaker/pyace version: 0.2.7+172.gd1c213a\n- ace_evaluator version: 2023.11.25\n\nThe file:\n[example.tar.gz](https://github.com/user-attachments/files/23195936/example.tar.gz)\n\nPlease let me know if additional information is needed to reproduce this issue.\n\n---\n\n**Questions:**\n1. Is this difference between `tensorpot` and `pyace` expected, or does it indicate an issue? \n2. Would it be better to train the potential directly with `backend=pyace` to avoid such inconsistencies? \n3. If I run MD simulations with LAMMPS, is there any known issue regarding different force predictions?\n\nThank you very much for your help!\n\nBest, \nSijia\n\n","author":{"url":"https://github.com/Alexandrina-Chen","@type":"Person","name":"Alexandrina-Chen"},"datePublished":"2025-10-28T19:10:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/97/python-ace/issues/97"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b78bd8f7-152e-9db5-7cca-14371b77578f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B3B8:34DE8D:4155B3:5B5B05:698DF31B |
| html-safe-nonce | 80820f28abb33bb9311c9f11438f11405e4c41a7cc307d044652922a3010dd2e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCM0I4OjM0REU4RDo0MTU1QjM6NUI1QjA1OjY5OERGMzFCIiwidmlzaXRvcl9pZCI6IjU5MzM3MDE3MTg2ODg1MjcxMzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1d974ad63cd6895a79354922d27aa59263d8e10bbb685921ff96ed163a855451 |
| hovercard-subject-tag | issue:3563001236 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ICAMS/python-ace/97/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1516fffa9c8bdd170cce5466ca7f33fd4f9e299b363825bacc6e3d539cd19db6/ICAMS/python-ace/issues/97 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1516fffa9c8bdd170cce5466ca7f33fd4f9e299b363825bacc6e3d539cd19db6/ICAMS/python-ace/issues/97 |
| og:image:alt | Dear python-ace developers, I trained an ACE potential (output_potential.yaml) using the tensorpot backend and wanted to use the resulting potential with the ASE pyace calculator. When plotting F_p... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Alexandrina-Chen |
| hostname | github.com |
| expected-hostname | github.com |
| None | ae22ef6ad27c5aeb770c5acd314c5724055bb23a663877aafdaaa50ed317ba34 |
| turbo-cache-control | no-preview |
| go-import | github.com/ICAMS/python-ace git https://github.com/ICAMS/python-ace.git |
| octolytics-dimension-user_id | 57955390 |
| octolytics-dimension-user_login | ICAMS |
| octolytics-dimension-repository_id | 429776445 |
| octolytics-dimension-repository_nwo | ICAMS/python-ace |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 429776445 |
| octolytics-dimension-repository_network_root_nwo | ICAMS/python-ace |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e545f5becd5b3ce9b429b68c3f994ad93c680ddb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width