Closed yycx1111 closed 6 months ago
@ouqi0711 could you have a look?
In principle, the trained DeePKS model can be applied to systems differ from the training set, as long as they share the same projector file. For point#3, the trained model can be used in systems with the same atom types but more atoms See, for example, https://pubs.acs.org/doi/10.1021/acs.jpcc.3c04703. However, applying the model to systems with different atom types may not yield desired accuracy. Also, as mentioned above, systems that applying the model have to share the same projector file as the training set does.
Note that you may also raise issue about DeePKS at https://github.com/deepmodeling/deepks-kit.
In principle, the trained DeePKS model can be applied to systems differ from the training set, as long as they share the same projector file. For point#3, the trained model can be used in systems with the same atom types but more atoms See, for example, https://pubs.acs.org/doi/10.1021/acs.jpcc.3c04703. However, applying the model to systems with different atom types may not yield desired accuracy. Also, as mentioned above, systems that applying the model have to share the same projector file as the training set does.
Note that you may also raise issue about DeePKS at https://github.com/deepmodeling/deepks-kit.
Thank you very much for your answer.
Details
error message: terminate called after throwing an instance of 'std::runtime_error' what(): The following operation failed in the TorchScript interpreter. Traceback of TorchScript, serialized code (most recent call last): File "code/torch/deepks/model/model.py", line 19, in forward _3 = self.linear _4 = self.input_scale input = torch.div(torch.sub(x, self.input_shift), torch.add(_4, CONSTANTS.c0))