Skip to content

Add load function to train_util to resume training#152

Merged
cameronraysmith merged 1 commit intopinellolab:mainfrom
ssenan:load
Jun 23, 2023
Merged

Add load function to train_util to resume training#152
cameronraysmith merged 1 commit intopinellolab:mainfrom
ssenan:load

Conversation

@ssenan
Copy link
Collaborator

@ssenan ssenan commented Jun 17, 2023

  • Resolves Add load function to main train class #151
  • Adds a function called load within train_util class that allows checkpoints to be used to resume training
  • Small changes to pytorch dataloader params that make training faster

@ssenan ssenan added the enhancement New feature or request label Jun 17, 2023
@ssenan ssenan added this to the 0.0.0 milestone Jun 17, 2023
@ssenan ssenan requested a review from cameronraysmith June 17, 2023 17:35
@ssenan ssenan self-assigned this Jun 17, 2023
@codecov
Copy link

codecov bot commented Jun 17, 2023

Codecov Report

Merging #152 (f32d438) into main (8776054) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

@@           Coverage Diff            @@
##            main    #152      +/-   ##
========================================
- Coverage   2.76%   2.73%   -0.04%     
========================================
  Files         12      12              
  Lines        795     804       +9     
  Branches      88      89       +1     
========================================
  Hits          22      22              
- Misses       773     782       +9     
Impacted Files Coverage Δ
src/dnadiffusion/data/dataloader.py 0.00% <0.00%> (ø)
src/dnadiffusion/utils/train_util.py 0.00% <0.00%> (ø)

@cameronraysmith cameronraysmith merged commit d93906b into pinellolab:main Jun 23, 2023
@ssenan ssenan deleted the load branch June 23, 2023 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Add load function to main train class

2 participants