Issue
when i am cropping image got by tensorflow object detection API but getting this error
TypeError: Value passed to parameter 'begin' has DataType float32 not in list of allowed values: int32, int64
I am using cropped_image= tf.image.crop_to_bounding_box(image_np, int(yminn), int(xminn), int(ymaxx-yminn), int(xmaxx-xminn))
Please Help
Solution
i had this exact problem yesterday. This seems to have started as i had installed tensorflow and anaconda together on windows seperately initially. But at one point i tried again install tensorflow using conda create in anaconda command prompt. If you want to save time, just go ahead uninstall and re-install tensorflow, conda (if installed), pythong
Answered By - Sai Kumar
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.