ssd_tensorflow_traffic_sign_detection
ssd_tensorflow_traffic_sign_detection copied to clipboard
error when run
Hello! when i run python inference.py -m demo
i see error
WARNING:tensorflow:From /home/user/ssd_tensorflow_traffic_sign_detection-master/model.py:79: get_regularization_losses (from tensorflow.contrib.losses.python.losses.loss_ops) is deprecated and will be removed after 2016-12-30.
Instructions for updating:
Use tf.losses.get_regularization_losses instead.
Restoring previously trained model at ./model.ckpt
Demo mode: Running inference on images in sample_images/
Running inference on sample_images/stop_1323896809.avi_image12.png
Inference took 38399.9 ms (0.03 fps)
Traceback (most recent call last):
File "inference.py", line 189, in <module>
generate_output(input_files, mode)
File "inference.py", line 159, in generate_output
image = run_inference(image_orig, model, sess, mode, sign_map)
File "inference.py", line 74, in run_inference
boxes = nms(y_pred_conf, y_pred_loc, prob)
File "/home/user/ssd_tensorflow_traffic_sign_detection-master/model.py", line 248, in nms
iou = calc_iou(box[:4], other_box[:4])
File "/home/user/ssd_tensorflow_traffic_sign_detection-master/data_prep.py", line 29, in calc_iou
iou = intersection / union
ZeroDivisionError: division by zero