Skip to content

raw_solver get ZeroDivisionError #209

Closed
@bycxw

Description

@bycxw

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions