Define a customized dataset for CGCNN
masterTo use CGCNN for training or prediction, you must organize your crystal data into a root_dir containing the following files:
id_prop.csv: A CSV file with two columns. The first column is a uniqueIDfor each crystal, and the second column is the target property value. (For prediction tasks, the second column can contain placeholder/random numbers).atom_init.json: A JSON file storing the initialization vector for each element. You can usedata/sample-regression/atom_init.jsonas a template.[ID].cif: One CIF file per crystal, where the filename matches theIDprovided inid_prop.csv.
Directory Structure:
root_dir
├── id_prop.csv
├── atom_init.json
├── id0.cif
├── id1.cif
└── ...