Traceback (most recent call last):


 "/usr/lib64/python3.6/site-packages/nose/case.py", line 197, in runTest

self.test(*self.arg)
TypeError: test_test_user_agent_injection() missing 1 required positional argument: 'monkeypatch'

Traceback (most recent call last):


 "/home/timberners/anaconda3/envs/tensorflow/lib/python3.5/threading.py", line 914, in _bootstrap_inner

self.run()


 "/home/timberners/anaconda3/envs/tensorflow/lib/python3.5/threading.py", line 862, in run

self._target(*self._args, **self._kwargs)


 "/media/timberners/magicae/models/im2txt/bazel-bin/im2txt/download_and_preprocess_mscoco.runfiles/im2txt/im2txt/data/build_mscoco_data.py", line 281, in _process_image_files

sequence_example = _to_sequence_example(image, decoder, vocab)


 "/media/timberners/magicae/models/im2txt/bazel-bin/im2txt/download_and_preprocess_mscoco.runfiles/im2txt/im2txt/data/build_mscoco_data.py", line 227, in _to_sequence_example

"image/data": _bytes_feature(encoded_image),


 "/media/timberners/magicae/models/im2txt/bazel-bin/im2txt/download_and_preprocess_mscoco.runfiles/im2txt/im2txt/data/build_mscoco_data.py", line 192, in _bytes_feature

return tf.train.Feature(bytes_list=tf.train.BytesList(value=[str(value)]))
TypeError: 'b\'\\xff\\xd8\\xff\\xe0\\x00\\x10JFIF\\x00\\x01\\x01\\x01\\x00H\\x00H\\x00\\x00\\xff\\xdb\\x00C\\x0 has type str, but expected one of: bytes
