Skip to content

How to extract descriptors? #1393

Answered by njzjz
RA-zoL asked this question in Q&A
Dec 30, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

There is not an interface to do so. You need to modify some codes.
You can refer deepmd.infer.DeepEval._eval_inner and append self._get_tensor("o_descriptor:0") to t_out.

t_out = [self.t_energy,
self.t_force,
self.t_virial]
if atomic :
t_out += [self.t_ae,
self.t_av]

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@RA-zoL
Comment options

Answer selected by RA-zoL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants