Traceback (most recent call last):


 "tf_example_decoder_test.py", line 214, in testDecodeDefaultGroundtruthWeights

'image/format': self._BytesFeature('jpeg'),


 "tf_example_decoder_test.py", line 58, in _BytesFeature

return tf.train.Feature(bytes_list=tf.train.BytesList(value=[value]))


 "C:\Users\42911\AppData\Local\Continuum\anaconda3\lib\site-packages\google\protobuf\internal\python_message.py", line 510, in init

copy.extend(field_value)


 "C:\Users\42911\AppData\Local\Continuum\anaconda3\lib\site-packages\google\protobuf\internal\containers.py", line 275, in extend

new_values = [self._type_checker.CheckValue(elem) for elem in elem_seq_iter]


 "C:\Users\42911\AppData\Local\Continuum\anaconda3\lib\site-packages\google\protobuf\internal\containers.py", line 275, in <listcomp>

new_values = [self._type_checker.CheckValue(elem) for elem in elem_seq_iter]


 "C:\Users\42911\AppData\Local\Continuum\anaconda3\lib\site-packages\google\protobuf\internal\type_checkers.py", line 109, in CheckValue

raise TypeError(message)
TypeError: 'jpeg' has type <class 'str'>, but expected one of: ((<class 'bytes'>,),)

Traceback (most recent call last):


 "/builddir/build/BUILD/python-biopython-1.73/python3/Tests/test_Affy.py", line 105, in testAffyWrongModeReadV4

record = Cel
.read_v4(f)


 "/builddir/build/BUILD/python-biopython-1.73/python3/build/lib.linux-x86_64-3.8/Bio/Affy/Cel
.py", line 173, in read_v4

preHeadersMap[name] = struct.unpack("<i", f.read(4))[0]
TypeError: a bytes-like object is required, not 'str'
