Skip to content

Commit

Permalink
fix hybrid descriptor training error
Browse files Browse the repository at this point in the history
  • Loading branch information
njzjz committed Aug 28, 2021
1 parent 37af1d1 commit 7691783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepmd/train/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def build (self,
self._init_from_frz_model()

self.neighbor_stat \
= NeighborStat(self.ntypes, self.descrpt_param['rcut'])
= NeighborStat(self.ntypes, self.descrpt.get_rcut())
self.min_nbor_dist, self.max_nbor_size \
= self.neighbor_stat.get_stat(data)
tf.constant(self.min_nbor_dist,
Expand Down

0 comments on commit 7691783

Please sign in to comment.