Closed harsh306 closed 6 years ago
I resolved it using 2 changes line 28: with open(filename,'rb') as f: line 62: 'image/filename': _bytes_feature(filename.encode()), it worked !!
Can you list the env python libraries with version... I am getting some conflicts I guess
like below is tf error:
File "grasp_det.py", line 162, in
Resolved by making following changes at line 26 in grasp_img_proc.py
r = 8*tf.random_uniform((1,), minval=0, maxval=tf.size(bboxes, out_type=tf.int32)//8, dtype=tf.int32)
Hi,
now I don't have access to the machine that I used run the code, so I can't tell all the full specs but these:
I'm glad that you solved the issue. I'm closing the issue!
Traceback (most recent call last): File "build_cgd_dataset.py", line 115, in
main()
File "build_cgd_dataset.py", line 97, in main
image_buffer, height, width = _process_image(filename, coder)
File "build_cgd_dataset.py", line 29, in _process_image
image_data = f.read()
File "/home/harsh/anaconda3/envs/py36/lib/python3.6/codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x89 in position 0: invalid start byte