Skip to content
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

OverflowError: signed integer is less than minimum #20

Open
gambitvk opened this issue Mar 23, 2017 · 1 comment
Open

OverflowError: signed integer is less than minimum #20

gambitvk opened this issue Mar 23, 2017 · 1 comment

Comments

@gambitvk
Copy link

HI ,

I have extracted the weights for YOLO tiny and try to use your code to predicted the person.jpg... adn the follow error came up.

Loading complete!

Detect from test/person.jpg
class : bird , [x,y,w,h]=[4764318,-2995212,997766463488,135557791744], Confidence = 17189599232.0
Traceback (most recent call last):
File "YOLO_tiny_tf.py", line 237, in
main(sys.argv)
File "YOLO_tiny_tf.py", line 232, in main
yolo = YOLO_TF(argvs)
File "YOLO_tiny_tf.py", line 30, in init
if self.fromfile is not None: self.detect_from_file(self.fromfile)
File "YOLO_tiny_tf.py", line 124, in detect_from_file
self.detect_from_cvmat(img)
File "YOLO_tiny_tf.py", line 116, in detect_from_cvmat
self.show_results(img,self.result)
File "YOLO_tiny_tf.py", line 203, in show_results
cv2.rectangle(img_cp,(x-w,y-h),(x+w,y+h),(0,255,0),2)
OverflowError: signed integer is less than minimum

Any ideas ? ... the confident level looks way too big .

I have also tried to use the yolo_small weights .. and basically I got NANs in everything.

@gambitvk
Copy link
Author

I saw a similar issue being raised ... and he used the wrong config file ... here is How i prodcued the weights text files ...
./darknet yolo test cfg/yolo-tiny.cfg tiny-yolo-voc.weights

so I assume I used the correct config ...

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

No branches or pull requests

1 participant