Open newplay opened 11 months ago
By the way , I'm aware that the difference in Example 1 comes from varying Fermi levels. However, I have attempted to align the Dirac point, and the fact remains that it is still not entirely accurate.
Based on my testing, I found that changing the coordinate format of openmx_in.dat to fraction coordinates
in the calculation of the overlap matrix (olp
stage) allows the correct results to be generated.
Hi, are the fractional coordinates of the atoms in your systems within the interval [0, 1)? If not, this might be the problem. All the output fractional coordinates of OpenMX are converted to be within the interval [0, 1), which are then read by DeepH-E3. But the internal fractional coordinates used by OpenMX in its calculations (e.g., calculating overlap matrices) are not always converted to that range. More specifically, when the input is Cartesian coordinates, they are not converted, but when the input is fractional coordinates, they are. So, in the Cartesian case, the overlap matrices read by DeepH-E3 does not match the coordinates read by DeepH-E3, and thus the results are completely wrong.
In short, make sure all the fractional coordinates are within [0, 1).
Dear developers,
I encountered an issue while using the DeepH-E3 model. I am using the dataset and config settings from the demo and have confirmed that there are no differences (except for file locations). The training process went smoothly, and here are my final results:
The results indicate no overfitting, and the performance seems promising. However, when predicting the Hamiltonian (
python deephe3-eval.py eval.ini
), the results differ significantly from the openmx_DFT calculations.Example 1: Below is an example involving the calculation of rotated graphene at 21.79 degrees:
As seen, while there's some overlap, the E3 model's predictions exhibit ghost bands.
Example 2: Next is another example, again involving rotated graphene, this time at 13.17 degrees:
This is entirely incorrect; the Dirac cone has even vanished!
In another issue, I noticed your response mentioning that using the inference function from deeph-pack can perform predictions more efficiently. Thus, I utilized the
inference.ini
from deeph-pack. Here's the content of myinference.ini
file:Do you have any suggestions about my execution? I would greatly appreciate it. Thank you for your assistance!
TzuChing