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

symlink model.ckpt.* to relative paths #2720

Merged
merged 3 commits into from Aug 7, 2023

Conversation

njzjz
Copy link
Member

@njzjz njzjz commented Aug 4, 2023

Before, model.ckpt.* is symilnks to an abosulote path. If users wants to move the whole directory, the relative path will be more user-friendly.

Before, `ckpt_prefix` is an absolute path and the generated symilnks link to an abosulote path. If users wants to move the whole directory, the relative path should be more user-friendly.

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
Before, `model.ckpt.*` is symilnks to an abosulote path. If users wants to move the whole directory, the relative path will be more user-friendly.

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
@github-actions github-actions bot added the Python label Aug 4, 2023
@codecov
Copy link

codecov bot commented Aug 4, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (4fa54ec) 78.64% compared to head (66c14a2) 78.65%.

Additional details and impacted files
@@           Coverage Diff           @@
##            devel    #2720   +/-   ##
=======================================
  Coverage   78.64%   78.65%           
=======================================
  Files         239      239           
  Lines       25465    25465           
  Branches     1517     1517           
=======================================
+ Hits        20028    20030    +2     
  Misses       5045     5045           
+ Partials      392      390    -2     
Files Changed Coverage Δ
deepmd/train/trainer.py 84.94% <100.00%> (ø)

... and 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@wanghan-iapcm wanghan-iapcm merged commit ea27f29 into deepmodeling:devel Aug 7, 2023
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants