WKChung1028
WKChung1028
I had same problem too, but i tried deleted the data flie and properly unzip(one by one) and its work. Thank you, @xiaoyongzhu
@ty0803 u try to delete the unzipped files. then unzip all files one by one again . It works for me.
@LovPe May i know which line your code start from ? I met the same problem too. Your assistance is highly appreciated.
@LovPe Do you mean you add the code right after this two line like this? mask = mask.astype(np.uint8) assert masks.shape[0] == gt_boxes.shape[0], 'Shape Error' show _rsesult =False break if get_boxes.shape[0]>0...
img = img.astype(np.uint8) assert img.size == width * height * 3, '%s' % str(img_id) img_raw = img.tostring() mask_raw = mask.tostring() if gt_boxes.shape[0] > 0: example = _to_tfexample_coco_raw( img_id, img_raw, mask_raw,...
@LovPe I am a beginner, hope to know more about the solution from you ,. Thank you.
1. Which means i need to delete all tfrecord file generated by previous code in the record before i run the new code ? 2. i am using tf 1.4...
refer to #62