Reproduction of Crystal Graph Convolutional Neural Networks
Project description
CGCNN2
As the original Crystal Graph Convolutional Neural Networks (CGCNN) repository is no longer actively maintained, this repository is a reproduction of CGCNN by Xie et al. It includes necessary updates for deprecated components and a few additional functions to ensure smooth operation. Despite its age, CGCNN remains a straightforward and fast deep learning framework that is easy to learn and use.
The package provides the following major functions:
- Training a CGCNN model using a custom dataset.
- Predicting material properties with a pre-trained CGCNN model.
- Fine-tuning a pre-trained CGCNN model on a new dataset.
- Extracting structural features as descriptors for downstream tasks.
Installation
Make sure you have a Python interpreter, preferably version 3.11 or higher. Then, you can simply install cgcnn2 from
PyPI using pip:
pip install cgcnn2
If you'd like to use the latest unreleased version on the main branch, you can install it directly from GitHub:
pip install git+https://github.com/jcwang587/cgcnn2@main
Get Started
There are entry points for training, predicting, and fine-tuning CGCNN models. For example, to explore the usage of the provided training script cgcnn-tr, you can use the --help option of the command:
cgcnn-tr --help
Similarly, you can access the predicting and fine-tuning functionalities through cgcnn-pr and cgcnn-ft commands. A detailed user guide documentation is available at: https://jcwang.dev/cgcnn2/
References
The original paper describes the CGCNN framework in detail:
@article{PhysRevLett2018,
title = {Crystal Graph Convolutional Neural Networks for an Accurate and Interpretable Prediction of Material Properties},
author = {Xie, Tian and Grossman, Jeffrey C.},
journal = {Phys. Rev. Lett.},
volume = {120},
issue = {14},
pages = {145301},
numpages = {6},
year = {2018},
month = {Apr},
publisher = {American Physical Society},
doi = {10.1103/PhysRevLett.120.145301},
url = {https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.120.145301}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cgcnn2-0.5.3.tar.gz.
File metadata
- Download URL: cgcnn2-0.5.3.tar.gz
- Upload date:
- Size: 5.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
047f7a19d3bedccf3297028f57eea36e1dd1d3ea781f7b1aaf3edb5d00d3e51d
|
|
| MD5 |
ee2772dd96cd3c79f296fef0f29dfb1e
|
|
| BLAKE2b-256 |
9ec41a9996aa083ae7de47e8d081c7f7541f5ac0dcbcb201c47393bdcc354deb
|
Provenance
The following attestation bundles were made for cgcnn2-0.5.3.tar.gz:
Publisher:
publish-pypi.yml on jcwang587/cgcnn2
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cgcnn2-0.5.3.tar.gz -
Subject digest:
047f7a19d3bedccf3297028f57eea36e1dd1d3ea781f7b1aaf3edb5d00d3e51d - Sigstore transparency entry: 764045938
- Sigstore integration time:
-
Permalink:
jcwang587/cgcnn2@d6696cc78b28ebb4224707a607d5a232bb884eb3 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/jcwang587
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@d6696cc78b28ebb4224707a607d5a232bb884eb3 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file cgcnn2-0.5.3-py3-none-any.whl.
File metadata
- Download URL: cgcnn2-0.5.3-py3-none-any.whl
- Upload date:
- Size: 5.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9c81e453a2fdea4c53cf8f540ff77b99e8540ae148db758440e8f92541e3ece
|
|
| MD5 |
426d5b634f6e7415aa227a13442e25e5
|
|
| BLAKE2b-256 |
a10db5a3c7557163a04b6119ef5278f275c0894f40756a76504ce17dfbbf39e1
|
Provenance
The following attestation bundles were made for cgcnn2-0.5.3-py3-none-any.whl:
Publisher:
publish-pypi.yml on jcwang587/cgcnn2
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cgcnn2-0.5.3-py3-none-any.whl -
Subject digest:
f9c81e453a2fdea4c53cf8f540ff77b99e8540ae148db758440e8f92541e3ece - Sigstore transparency entry: 764045946
- Sigstore integration time:
-
Permalink:
jcwang587/cgcnn2@d6696cc78b28ebb4224707a607d5a232bb884eb3 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/jcwang587
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@d6696cc78b28ebb4224707a607d5a232bb884eb3 -
Trigger Event:
workflow_dispatch
-
Statement type: