Skip to content

symlink model.ckpt.* to relative paths#2720

Merged
wanghan-iapcm merged 3 commits intodeepmodeling:develfrom
njzjz:rel-ckpt_prefix
Aug 7, 2023
Merged

symlink model.ckpt.* to relative paths#2720
wanghan-iapcm merged 3 commits intodeepmodeling:develfrom
njzjz:rel-ckpt_prefix

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.

njzjz added 3 commits August 4, 2023 17:19
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
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.

2 participants