ZeroDivisionError
See original GitHub issueTraceback (most recent call last):
File "./keras_retinanet/bin/evaluate.py", line 165, in <module>
main()
File "./keras_retinanet/bin/evaluate.py", line 161, in main
print('mAP: {:.4f}'.format(precision / present_classes))
ZeroDivisionError: division by zero
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
Error python : [ZeroDivisionError: division by zero]
I faced an error when I run my program using python: The error is like this: ZeroDivisionError: ...
Read more >Built-in Exceptions — Python 3.11.1 documentation
The base class for those built-in exceptions that are raised for various arithmetic errors: OverflowError , ZeroDivisionError , FloatingPointError .
Read more >ZeroDivisionError: division by zero - Net-Informations.Com
ZeroDivisionError is a built-in Python exception thrown when a number is divided by 0. This means that the exception raised when the second...
Read more >Python Exception Handling - ZeroDivisionError - Airbrake Blog
A look at the ZeroDivisionError in Python, including a functional code sample showing how different numeric types produce different results.
Read more >Class: ZeroDivisionError (Ruby 2.5.0)
ZeroDivisionError. Raised when attempting to divide an integer by 0. 42 / 0 #=> ZeroDivisionError: divided by 0. Note that only division by...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sure, I will add a check in the test generator 😉
@hgaiser sure, will look into this ASAP