Skip to content

Commit

Permalink
[r2] fix `test_smoothness_of_stripped_type_embedding_smooth_model_exc…
Browse files Browse the repository at this point in the history
…luded_types`

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
  • Loading branch information
njzjz committed Jul 3, 2024
1 parent 526b785 commit a85d58f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions source/tests/test_model_se_atten.py
Original file line number Diff line number Diff line change
Expand Up @@ -901,9 +901,7 @@ def test_smoothness_of_stripped_type_embedding_smooth_model_excluded_types(self)
jdata["model"]["descriptor"]["exclude_types"] = [[0, 0], [0, 1]]
jdata["model"]["descriptor"]["set_davg_zero"] = False
descrpt = DescrptSeAtten(**jdata["model"]["descriptor"], uniform_seed=True)
jdata["model"]["fitting_net"]["ntypes"] = descrpt.get_ntypes()
jdata["model"]["fitting_net"]["dim_descrpt"] = descrpt.get_dim_out()
jdata["model"]["fitting_net"]["dim_rot_mat_1"] = descrpt.get_dim_rot_mat_1()
jdata["model"]["fitting_net"]["descrpt"] = descrpt
fitting = EnerFitting(**jdata["model"]["fitting_net"], uniform_seed=True)
typeebd_param = jdata["model"]["type_embedding"]
typeebd = TypeEmbedNet(
Expand Down

0 comments on commit a85d58f

Please sign in to comment.