
Traceback (most recent call last):


 "<string>", line 1, in <module>


 "...\AppData\Local\Temp\pip-req-build-sx1pybj6\setup.py", line 22

print "Unit tests have failed!"

^

SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Unit tests have failed!")?

Traceback (most recent call last):


 "/home/qiu/Projects/detectron2/detectron2/engine/train_loop.py", line 130, in train

self.run_step()


 "/home/qiu/Projects/detectron2/detectron2/engine/train_loop.py", line 210, in run_step

data = next(self._data_loader_iter)


 "/home/qiu/Projects/detectron2/detectron2/data/common.py", line 142, in __iter__

for d in self.dataset:


 "/home/qiu/anaconda3/envs/de2/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 345, in __next__

data = self._next_data()


 "/home/qiu/anaconda3/envs/de2/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 385, in _next_data

data = self._dataset_fetcher.fetch(index)
# may raise StopIteration


 "/home/qiu/anaconda3/envs/de2/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch

data = [self.dataset[idx] for idx in possibly_batched_index]


 "/home/qiu/anaconda3/envs/de2/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in <listcomp>

data = [self.dataset[idx] for idx in possibly_batched_index]


 "/home/qiu/Projects/detectron2/detectron2/data/common.py", line 41, in __getitem__

data = self._map_func(self._dataset[cur_idx])


 "/home/qiu/Projects/detectron2/detectron2/utils/serialize.py", line 23, in __call__

return self._obj(*args, **kwargs)


 "/home/qiu/Projects/detectron2/detectron2/data/dataset_mapper.py", line 123, in __call__

image = utils.read_image(dataset_dict["file_name"], format=self.image_format)


 "/home/qiu/Projects/detectron2/detectron2/data/detection_utils.py", line 181, in read_image

image = _apply_exif_orientation(image)


 "/home/qiu/Projects/detectron2/detectron2/data/detection_utils.py", line 140, in _apply_exif_orientation

exif = image.getexif()


 "/home/qiu/anaconda3/envs/de2/lib/python3.7/site-packages/PIL/Image.py", line 1312, in getexif

self._exif.load(exif_info)


 "/home/qiu/anaconda3/envs/de2/lib/python3.7/site-packages/PIL/Image.py", line 3316, in load

self._info = TiffImagePlugin.Image
Directory_v2(self.head)


 "/home/qiu/anaconda3/envs/de2/lib/python3.7/site-packages/PIL/TiffImagePlugin.py", line 467, in __init__

raise SyntaxError("not a TIFF file (header %r not valid)" % ifh)


 "<string>", line None
SyntaxError: not a TIFF file (header b'' not valid)
