-
Notifications
You must be signed in to change notification settings - Fork 18
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
Fix/workers epoch size #54
Conversation
renamed lgtm.yaml to lgtm.yml
added enter at the end of the file - test of LGTM
This pull request introduces 37 alerts and fixes 18 when merging 2b54025 into 1ef2a44 - view on LGTM.com new alerts:
fixed alerts:
Comment posted by LGTM.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, merging 👍
miprometheus/workers/worker.py
Outdated
# Return sampler - even if it is none :] | ||
return problem, sampler, loader | ||
|
||
|
||
def get_epoch_size1(self, problem, sampler, batch_size, drop_last): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is probably a typo, correcting it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, thanks for catching that;)
This pull request introduces 37 alerts and fixes 18 when merging 034ee5a into 1ef2a44 - view on LGTM.com new alerts:
fixed alerts:
Comment posted by LGTM.com |
In this pull request, I am fixing handling of epoch size:
Aside of that, I merged with master and incorporated lgtm settings.
Fixes #49
Fixes #50