Skip to content

Readme and Examples for Tensor mode#632

Merged
amcadmus merged 26 commits intodeepmodeling:develfrom
YWolfeee:devel
May 18, 2021
Merged

Readme and Examples for Tensor mode#632
amcadmus merged 26 commits intodeepmodeling:develfrom
YWolfeee:devel

Conversation

@YWolfeee
Copy link
Contributor

Add a readme file for the tensor fitting, and add a dipole example and a polarizability example.

Author YWolfeee
Date May, 4, 2021

@codecov-commenter
Copy link

codecov-commenter commented May 14, 2021

Codecov Report

Merging #632 (119d184) into devel (6bba7fc) will decrease coverage by 7.97%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##            devel     #632      +/-   ##
==========================================
- Coverage   82.36%   74.38%   -7.98%     
==========================================
  Files         114       75      -39     
  Lines        9312     6384    -2928     
==========================================
- Hits         7670     4749    -2921     
+ Misses       1642     1635       -7     
Impacted Files Coverage Δ
source/lib/tests/test_prod_force_grad_a.cc
source/lib/tests/test_map_aparam.cc
...urce/lib/tests/test_soft_min_switch_virial_grad.cc
source/api_cc/tests/test_dipolecharge.cc
source/lib/tests/test_soft_min_switch_force.cc
source/api_cc/tests/test_ewald.cc
source/api_cc/include/DataModifier.h
source/lib/tests/test_prod_virial_a.cc
source/lib/tests/test_neighbor_list.cc
source/lib/tests/test_prod_force_grad_r.cc
... and 29 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6bba7fc...119d184. Read the comment docs.

Copy link
Member

@amcadmus amcadmus left a comment

Choose a reason for hiding this comment

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

doc/Train a Deep Potential model to fit tensor like Dipole and Polarizability.md is not filename that compatible to the naming convention of doc files. Something like doc/train-tensor.md is preferred

@amcadmus amcadmus merged commit 83fffbe into deepmodeling:devel May 18, 2021
This was referenced Jun 10, 2021
denghuilu added a commit to denghuilu/deepmd-kit that referenced this pull request Jun 15, 2021
add Important hint for getting-started.md

Update argcheck.py

add Important hint for variables

Update getting-started.md

check validity of data systems. print help message

add Important hint at getting-start.md (deepmodeling#622)

* add Important hint for getting-started.md

* add hint for some parameters

* add Important hint for variables

* Update argcheck.py

* Update getting-started.md

add doc of type embedding (deepmodeling#625)

Optimized mkindex function in doc/conf.py and added two files in troubleshooting. (deepmodeling#619)

support MPI and other atom_styles for LAMMPS atomic keyword (deepmodeling#628)

* support MPI and other atom_styles for LAMMPS atomic keyword

fix problems left in #44

* move out_each codes together

* indent the code

fix spell mistake (deepmodeling#638)

Atention -> Attention

Readme and Examples for Tensor mode (deepmodeling#632)

* Complete modification of tensor training, support combination of system with global/local label, and support polar label normalization to speed up training. Examples and documentation not added yet

* modify dipole json to pass ut test

* change json file (second time) to pass ut test

* modify test_data_modifier_shuffle.py file to fit new args rule

* modify data_modifier_shuffle: from dipole.npy to atomic_dipole.npy

* modify the name of pref_weight to pref and pref_atomic_weight to pref_atomic, plus some implementation mentioned by Han Wang in May 7th's email

* fix a bug occuring in ut test

* fix args of polar_se_a.json, to pass ut test

* change args: from loss_type to type, so that the args will be the same as ener mode, and will not cause conflict

* add examples and readme for tensor fitting mode in May 14

* change readmd content of tensor fit

* change the file name of readme file of tensor fitting

* Update train-fitting-tensor.md

* Update train-fitting-tensor.md

* Update train-fitting-tensor.md

* change the explanation of why some of lcurve.out is 0

* Update train-fitting-tensor.md

* Update train-fitting-tensor.md

append to out_file when LAMMPS restarts (deepmodeling#640)

This ensures the out file will not be override when LAMMPS restarts.
This commit may be conflicted with deepmodeling#392. Commit
@5597ea2b49f96e99a52a9779b04b6c12e5a79a04 should be dropped.

add an example of C++ inference to doc (deepmodeling#652)

* add an example of C++ inference to doc

* fix broken link

Add instructions for i-PI (deepmodeling#660)

* Add instructions for i-PI

* Update doc/getting-started.md

Co-authored-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>

Co-authored-by: tuoping <abby@DESKTOP-LV5KL0D.localdomain>
Co-authored-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>

Added doc for netsize setting, num_nodes specification, and sel setting in doc/troubleshooting/ (deepmodeling#657)

fix issue 668 (deepmodeling#680)

* fix bug of issue 668
gzq942560379 pushed a commit to HPC-AI-Team/deepmd-kit that referenced this pull request Sep 1, 2021
* Complete modification of tensor training, support combination of system with global/local label, and support polar label normalization to speed up training. Examples and documentation not added yet

* modify dipole json to pass ut test

* change json file (second time) to pass ut test

* modify test_data_modifier_shuffle.py file to fit new args rule

* modify data_modifier_shuffle: from dipole.npy to atomic_dipole.npy

* modify the name of pref_weight to pref and pref_atomic_weight to pref_atomic, plus some implementation mentioned by Han Wang in May 7th's email

* fix a bug occuring in ut test

* fix args of polar_se_a.json, to pass ut test

* change args: from loss_type to type, so that the args will be the same as ener mode, and will not cause conflict

* add examples and readme for tensor fitting mode in May 14

* change readmd content of tensor fit

* change the file name of readme file of tensor fitting

* Update train-fitting-tensor.md

* Update train-fitting-tensor.md

* Update train-fitting-tensor.md

* change the explanation of why some of lcurve.out is 0

* Update train-fitting-tensor.md

* Update train-fitting-tensor.md
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.

3 participants