/usr/local/lib/python3.6/dist-packages/imageai/Detection/Custom/gen_anchors.py in generateAnchors(train_annotation_folder, train_image_folder, train_cache_file, model_labels) 88 89 for obj in image['object']: ---> 90 relative_w = (float(obj['xmax']) - float(obj['xmin']))/image['width'] 91 relatice_h = (float(obj["ymax"]) - float(obj['ymin']))/image['height'] 92 annotation_dims.append(tuple(map(float, (relative_w,relatice_h))))
ZeroDivisionError: float division by zero
I am getting the above error, any ideas on why it shows so?