Traceback (most recent call last):



 "<ipython-input-1-a649b509054f>", line 1, in <module>

import tensorflow



 "/usr/local/lib/python2.7/dist-packages/tensorflow/__init__.py", line 24, in <module>

from tensorflow.python import *



 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/__init__.py", line 100, in <module>

from tensorflow.python.platform import app



 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 23, in <module>

from tensorflow.python.platform import flags



 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/flags.py", line 25, in <module>

_global_parser = _argparse.ArgumentParser()



 "/usr/lib/python2.7/argparse.py", line 1586, in __init__

prog = _os.path.basename(_sys.argv[0])

IndexError: list index out of range

Original Traceback (most recent call last):


 "C:\Users\skugler\AppData\Local\Continuum\anaconda3\envs\env_yolact\lib\site-packages\torch\utils\data\_utils\worker.py", line 178, in _worker_loop

data = fetcher.fetch(index)


 "C:\Users\skugler\AppData\Local\Continuum\anaconda3\envs\env_yolact\lib\site-packages\torch\utils\data\_utils\fetch.py", line 44, in fetch

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


 "C:\Users\skugler\AppData\Local\Continuum\anaconda3\envs\env_yolact\lib\site-packages\torch\utils\data\_utils\fetch.py", line 44, in <listcomp>

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


 "C:\Users\skugler\Desktop\Sabine_master\yolact\data\coco.py", line 95, in __getitem__

im, gt, masks, h, w, num_crowds = self.pull_item(index)


 "C:\Users\skugler\Desktop\Sabine_master\yolact\data\coco.py", line 154, in pull_item

masks = [self.coco.annToMask(obj).reshape(-1) for obj in target]


 "C:\Users\skugler\Desktop\Sabine_master\yolact\data\coco.py", line 154, in <listcomp>

masks = [self.coco.annToMask(obj).reshape(-1) for obj in target]


 "C:\Users\skugler\AppData\Local\Continuum\anaconda3\envs\env_yolact\lib\site-packages\pycocotools\coco.py", line 431, in annToMask

rle = self.annToRLE(ann)


 "C:\Users\skugler\AppData\Local\Continuum\anaconda3\envs\env_yolact\lib\site-packages\pycocotools\coco.py", line 416, in annToRLE

rles = maskUtils.frPyObjects(segm, h, w)


 "pycocotools\_mask.pyx", line 292, in pycocotools._mask.frPyObjects
IndexError: list index out of range
