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

ref: part 4 of #3733 #3773

Merged
merged 4 commits into from
Oct 1, 2020
Merged

ref: part 4 of #3733 #3773

merged 4 commits into from
Oct 1, 2020

Conversation

williamFalcon
Copy link
Contributor

ref: part 4 of #3733

@mergify mergify bot requested a review from a team October 1, 2020 14:53
@codecov
Copy link

codecov bot commented Oct 1, 2020

Codecov Report

Merging #3773 into master will increase coverage by 5%.
The diff coverage is 45%.

@@           Coverage Diff           @@
##           master   #3773    +/-   ##
=======================================
+ Coverage      85%     90%    +5%     
=======================================
  Files         110     110            
  Lines        8530    8539     +9     
=======================================
+ Hits         7291    7708   +417     
+ Misses       1239     831   -408     

@williamFalcon williamFalcon merged commit 622c5c3 into master Oct 1, 2020
@Borda Borda added the refactor label Oct 1, 2020

# load last weights
if last_path is not None and not self.trainer.testing:
ckpt = torch.load(last_path, map_location=lambda storage, loc: storage)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@williamFalcon @awaelchli please use fsspec consistently for file I/O. This restricts last_path to be a local path

@Borda Borda deleted the fw2_4 branch October 2, 2020 10:07
@Borda Borda added this to the 0.10.0 milestone Oct 7, 2020
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.

3 participants