Skip to content

Commit

Permalink
fix compress
Browse files Browse the repository at this point in the history
Signed-off-by: Jinzhe Zeng <[email protected]>
  • Loading branch information
njzjz committed May 20, 2024
1 parent 50165bb commit 426190f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions deepmd/tf/train/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,7 @@ def _build_network(self, data, suffix=""):
self.place_holders[kk] = tf.placeholder(
GLOBAL_TF_FLOAT_PRECISION, [None], "t_" + kk
)
self._get_place_holders(
{rr.key: rr.dict for rr in self.model.input_requirement}
)
self._get_place_holders({rr.key: rr.dict for rr in self.data_requirements})
else:
self._get_place_holders(data.get_data_dict())

Expand Down

0 comments on commit 426190f

Please sign in to comment.