Closed Asif-Iqbal-Bhatti closed 1 year ago
@Asif-Iqbal-Bhatti This will be fixed in #49. Until that is released, you can workaround the TypeError by adding this line
chgnet = CHGNet.load()
+ chgnet.todict = lambda: {"model_name": "CHGNet", "model_args": chgnet.model_args}
Does the
CHGNetCalculator
work withASE
? As I try to run the code usingIt gives me this error: