Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

raw_solver get ZeroDivisionError #209

Closed
bycxw opened this issue Jul 1, 2020 · 2 comments
Closed

raw_solver get ZeroDivisionError #209

bycxw opened this issue Jul 1, 2020 · 2 comments
Assignees
Labels
Milestone

Comments

@bycxw
Copy link

bycxw commented Jul 1, 2020

Describe the bug
In delta/utils/solver/raw_solver.py 284-286:
logging.info("Evaluation rate of "
"progress: [ {:.2%} ]".format(
i / (num_batch_every_epoch - 1)))
If infer data size is less than or equal to batch size, num_batch_every_epoch - 1 will be zero.

@zh794390558
Copy link
Collaborator

welcome a bug fix, thx.

@zh794390558 zh794390558 added this to the v0.3.3 milestone Jul 7, 2020
@zh794390558 zh794390558 self-assigned this Jul 7, 2020
@zh794390558
Copy link
Collaborator

please reopen this if need.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants