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

Return trainer from train_embedding #1571

Merged
merged 2 commits into from
Jul 4, 2024
Merged

Conversation

guarin
Copy link
Contributor

@guarin guarin commented Jul 4, 2024

Changes

  • Return trainer object from train_embedding

Returning the training helps checking the final training status. For example, trainer.interrupted can be checked with this to see whether the training completed or not.

Copy link

codecov bot commented Jul 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.81%. Comparing base (bcf8ad1) to head (7ef052d).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1571   +/-   ##
=======================================
  Coverage   81.81%   81.81%           
=======================================
  Files         144      144           
  Lines        6119     6120    +1     
=======================================
+ Hits         5006     5007    +1     
  Misses       1113     1113           

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

@guarin guarin marked this pull request as ready for review July 4, 2024 12:29
@guarin guarin merged commit e190906 into master Jul 4, 2024
10 checks passed
@guarin guarin deleted the guarin-lig-5234-return-trainer branch July 4, 2024 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants