Skip to content

Uni-HamGNN Runtime error #81

Description

@hjunxi22

Dear Dr. ZY, hello. When I use the command python Uni-HamiltonianPredictor.py --config Input.yaml, I keep encountering this error:
Traceback (most recent call last):
File "/share/home/xxx/COF/N-2D/Uni-HamiltonianPredictor.py", line 349, in
predict_and_save_hamiltonian(
File "/share/home/xxx/COF/N-2D/Uni-HamiltonianPredictor.py", line 313, in predict_and_save_hamiltonian
predictor = load_model_predictor(model_pkl_path)
File "/share/home/xxx/COF/N-2D/Uni-HamiltonianPredictor.py", line 95, in load_model_predictor
model_predictor = pickle.load(file_handle)
ModuleNotFoundError: No module named 'HamGNN_v_2_0'
I have tried many methods, including disguising version 2.1 as version 2.0, but none of them worked. I also couldn't find the version 2.1 pkl model weights on the webpage https://zenodo.org/records/15568557. Could you tell me how to solve this problem?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions