Skip to content

descriptor type choices #164

Answered by njzjz
Feiyang472 asked this question in Q&A
Discussion options

You must be logged in to vote

descrpt_type = j_must_have(descrpt_param, 'type')
if descrpt_type == 'loc_frame':
self.descrpt = DescrptLocFrame(descrpt_param)
elif descrpt_type == 'se_a' :
self.descrpt = DescrptSeA(descrpt_param)
elif descrpt_type == 'se_r' :
self.descrpt = DescrptSeR(descrpt_param)
elif descrpt_type == 'se_ar' :
self.descrpt = DescrptSeAR(descrpt_param)
else :
raise RuntimeError('unknow model type ' + descrpt_type)

Four types are supported: loc_frame, se_a, se_r, and se_ar. The last 3 types are based on the DeePot-SE method.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by njzjz
Comment options

You must be logged in to vote
0 replies
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
Converted from issue

This discussion was converted from issue #164 on December 24, 2020 15:36.