Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skip data_stat in init_from_model and restart mode #1463

Merged
merged 1 commit into from
Jan 29, 2022

Conversation

njzjz
Copy link
Member

@njzjz njzjz commented Jan 28, 2022

std and avg are stored as variables. saver.restore will restore and override it. So data_stat before saver.restore is useless.
Note that currently init_from_frz_model does not restore these variables.

I also add a message before data_stat. It sometimes takes long time.

`std` and `avg` are stored as variables. `saver.restore` will restore and override it. So `data_stat` before `saver.restore` is useless.
Note that currently `init_from_frz_model` does not restore these variables.

I also add a message before `data_stat`. It sometimes takes long time.
@codecov-commenter
Copy link

codecov-commenter commented Jan 28, 2022

Codecov Report

Merging #1463 (1435326) into devel (1ee6987) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##            devel    #1463   +/-   ##
=======================================
  Coverage   75.66%   75.67%           
=======================================
  Files          92       92           
  Lines        7665     7667    +2     
=======================================
+ Hits         5800     5802    +2     
  Misses       1865     1865           
Impacted Files Coverage Δ
deepmd/train/trainer.py 72.45% <100.00%> (+0.12%) ⬆️

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 1ee6987...1435326. Read the comment docs.

@wanghan-iapcm wanghan-iapcm merged commit bbdaa10 into deepmodeling:devel Jan 29, 2022
@njzjz njzjz deleted the skip_data_stat branch January 29, 2022 02:56
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.

None yet

3 participants