Get "None" when try to evaluate
See original GitHub issueHi, running an issue when trying to evaluate the detections in None any suggestion?
(keras) C:\Users\z\Anaconda3\envs\keras\Lib\site-packages\keras_rnet\keras_retinanet>python bin/evaluate.py csv valc.csv class.csv D:\Dropbox\DL\open_image\data\resnet50_csv_01.h5
Using TensorFlow backend.
2019-01-06 03:30:17.319312: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
Loading model, this may take a second...
Running network: 100% (1 of 1) |#################################################| Elapsed Time: 0:00:11 Time: 0:00:11
Parsing annotations: 100% (1 of 1) |#############################################| Elapsed Time: 0:00:00 Time: 0:00:00
label 0
detections None
Traceback (most recent call last):
File "bin/evaluate.py", line 188, in <module>
main()
File "bin/evaluate.py", line 167, in main
save_path=args.save_path
File "bin\..\..\keras_retinanet\utils\eval.py", line 197, in evaluate
for d in detections:
TypeError: 'NoneType' object is not iterable
(keras) C:\Users\z\Anaconda3\envs\keras\Lib\site-packages\keras_rnet\keras_retinanet>
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Why do I get None in output in second line while using eval ...
But trying to evaluate print expression gives you None type. Print will be executed but type of eval("print(2+3)") will be None.
Read more >None and How to Test for It - Real Python
Welcome back. This is the second video in this tutorial, and here I'm going to tell you a bit more about None and...
Read more >8. Compound statements — Python 3.11.1 documentation
If the evaluation of an expression in the header of an except clause raises an exception, the original search for a handler is...
Read more >QuerySet API reference | Django documentation
QuerySet API reference¶. This document describes the details of the QuerySet API. It builds on the material presented in the model and database...
Read more >17/19 code looks OK but return returns "None". - Codecademy
Could some one explain to me why it's returning None? Output: Shutting down None. error message: Oops, try again. Your function failed on...
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
Thanks. Great repository!
If you start from 1, the network will “train” with an additional class (index 0), for which there is no data available. The evaluator should handle this more gracefully, the network is likely trained properly.