Skip to content

Separate training and validation dataset #517

Merged
amcadmus merged 14 commits intodeepmodeling:develfrom
ZiyaoLi:devel
Apr 16, 2021
Merged

Separate training and validation dataset #517
amcadmus merged 14 commits intodeepmodeling:develfrom
ZiyaoLi:devel

Conversation

@ZiyaoLi
Copy link
Member

@ZiyaoLi ZiyaoLi commented Apr 15, 2021

Major:

  • ideally-functioned validation supported.
  • sys_prob evaluation style changed in DeepmdDataSystem.
  • argcheck altered to support validation data.

Minor:

  • dargs version corrected.
  • trainer code structures optimized.
  • some spelling errors corrected.
  • varable names optimized.

@amcadmus amcadmus changed the title Devel Separate training and validation dataset Apr 15, 2021
for ii in ['natoms_vec', 'default_mesh']:
feed_dict[self.place_holders[ii]] = batch[ii]
feed_dict[self.place_holders['is_training']] = is_training
return feed_dict, batch['natoms_vec']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not understand why batch['natoms_vec'] is returned. we can get the piece of information from feed_dict['atoms_vec']

@amcadmus amcadmus merged commit c667d00 into deepmodeling:devel Apr 16, 2021
gzq942560379 pushed a commit to HPC-AI-Team/deepmd-kit that referenced this pull request Sep 1, 2021
Separate training and validation dataset
njzjz added a commit to njzjz/deepmd-kit that referenced this pull request Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants