Skip to content

Voznyy-Clean-Energy-Lab-UToronto/pdos_gnn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graph Neural Network for Projected Density of States Prediction

In this work, we developed a Graph Neural Network (GNN) ProDosNet which is trained on orbital Projected Density of States (PDOS) data and capable of predicting the electronic structure of materials at extremely low computational cost. With this model, we were able to generate PDOS fingerprints for all compounds present in the Materials Projects Database and cluster them by the similarity of their orbital PDOS, and therefore electronic properties. We demonstrate that using PDOS fingerprints allows finding materials that have similar electronic properties but drastically different structures.

The model is available via web application: ProDosMate

Predict the Projected Density of States

animated

Find materials with similar PDOS

Explore material space structured by PDOS similarity

Setup locally

  1. Clone the repository
  2. Create a virtual environment in the repo directory
    • cd pdos_gnn/
    • python -m venv pdos_gnn_env
    • source pdos_gnn_env/bin/activate
  3. Install dependencies
    • pip install -r requirements.txt

Run locally

  1. Preprocess data for training from raw Materials Project PDOS
  • python main.py --task preprocess --preprocess_ids path/to/ids.csv --cif_dir path/to/cif_files --dos_dir path/to/raw_dos_files
  1. Run training
  • python main.py --task cross_val --train_ids path/to/train_ids.csv --data_file path/to/processed_data.tar
  1. Predict using a pre-trained model
  • python main.py --task test --test_ids path/to/test_ids.csv --data_file path/to/processed_data.tar --model path/to/pretrained_pdos_model.pth.tar

About

Graph Neural Network for Projected Density of States Prediction

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages