Skip to content
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

[BUG] Mixed type format inconsistency in iter1 when training DPA-1 model #1687

Open
chenggoj opened this issue Dec 15, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@chenggoj
Copy link

Bug summary

When training a DPA-1 neural network potential using DP-GEN (v0.13.0) with TensorFlow backend, I encountered an error related to mixed type format inconsistency in iter1. While iter0 (including training-exploration-label stages) completed successfully, the training in iter1 failed due to data format mismatch. DP-GEN should automatically convert iter0.02.fp data to mixed type format, maintaining consistency with the initial data format.
In iter1, DP-GEN uses the standard format for iter0.02.fp data instead of maintaining the mixed type format from iter0, causing a format inconsistency error.

Environment

  • DP-GEN version: 0.13.0
  • DeePMD-kit backend: TensorFlow
  • Model type: DPA-1
  • Data format: Multisystem mixed type

Error Message

AssertionError: if one of the system is of mixed_type format, then all of the systems should be of mixed_type format!

Would appreciate any guidance on resolving this issue or confirmation if this is a bug that needs to be fixed.

DP-GEN Version

0.13.0

Platform, Python Version, Remote Platform, etc

No response

Input Files, Running Commands, Error Log, etc.

No inputs.

Steps to Reproduce

  1. Initialize training data using multisystem mixed type dp data format
  2. Run iter0 (completes successfully)
  3. Enter iter1, where the error occurs

Further Information, Files, and Links

The error suggests that DP-GEN is not properly carrying over the mixed type format configuration from iter0 to iter1's training data.

@chenggoj chenggoj added the bug Something isn't working label Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant