当我通过tensorflow对象检测API获取图像但是出现此错误时
TypeError: Value passed to parameter 'begin' has DataType float32 not in list of allowed values: int32, int64
我正在使用cropped_image= tf.image.crop_to_bounding_box(image_np, int(yminn), int(xminn), int(ymaxx-yminn), int(xmaxx-xminn))
请帮助
答案 0 :(得分:0)