Skip to content

Add init_frz_model api for multi model#2206

Merged
wanghan-iapcm merged 4 commits into
deepmodeling:develfrom
iProzd:multi-task-pretrain
Jan 7, 2023
Merged

Add init_frz_model api for multi model#2206
wanghan-iapcm merged 4 commits into
deepmodeling:develfrom
iProzd:multi-task-pretrain

Conversation

@iProzd

@iProzd iProzd commented Dec 30, 2022

Copy link
Copy Markdown
Member

Add --unit-model for dp freeze in multitask mode; Add init_frz_model api for multi model

…del api for multi model

Add `--unit-model` for `dp freeze` in multitask mode; Add init_frz_model api for multi model
@codecov-commenter

codecov-commenter commented Dec 30, 2022

Copy link
Copy Markdown

Codecov Report

Base: 74.93% // Head: 75.65% // Increases project coverage by +0.71% 🎉

Coverage data is based on head (74a17d2) compared to base (e76973e).
Patch coverage: 78.51% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##            devel    #2206      +/-   ##
==========================================
+ Coverage   74.93%   75.65%   +0.71%     
==========================================
  Files         203      204       +1     
  Lines       20122    20231     +109     
  Branches     1438     1438              
==========================================
+ Hits        15079    15305     +226     
+ Misses       4137     4019     -118     
- Partials      906      907       +1     
Impacted Files Coverage Δ
deepmd/infer/__init__.py 80.76% <0.00%> (ø)
deepmd/train/trainer.py 83.91% <0.00%> (+13.56%) ⬆️
deepmd/utils/argcheck.py 90.34% <0.00%> (+0.68%) ⬆️
deepmd/utils/data_system.py 82.37% <0.00%> (ø)
deepmd/entrypoints/train.py 87.21% <66.66%> (+7.58%) ⬆️
deepmd/entrypoints/freeze.py 60.73% <70.58%> (+14.79%) ⬆️
deepmd/utils/multi_init.py 85.33% <85.33%> (ø)
deepmd/model/multi.py 84.30% <93.33%> (+8.98%) ⬆️
deepmd/entrypoints/main.py 91.26% <100.00%> (+0.06%) ⬆️
deepmd/train/run_options.py 88.49% <100.00%> (+0.10%) ⬆️
... and 7 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Comment thread source/tests/test_init_frz_model_multi.py Outdated
Comment thread deepmd/entrypoints/freeze.py Outdated
Comment thread deepmd/entrypoints/freeze.py
Comment thread deepmd/entrypoints/freeze.py Outdated
Comment thread deepmd/entrypoints/main.py Outdated
Comment thread deepmd/entrypoints/freeze.py Outdated
Comment thread source/tests/test_init_frz_model_multi.py Outdated
@wanghan-iapcm wanghan-iapcm merged commit d119252 into deepmodeling:devel Jan 7, 2023
mingzhong15 pushed a commit to mingzhong15/deepmd-kit that referenced this pull request Jan 15, 2023
Add `--unit-model` for `dp freeze` in multitask mode; Add init_frz_model
api for multi model
@iProzd iProzd deleted the multi-task-pretrain branch April 24, 2024 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants