Traceback (most recent call last):


 "/root/Tools/owtf/owtf/install/install.py", line 136, in <module>

install_restricted_from_cfg(restricted_cfg)


 "/root/Tools/owtf/owtf/install/install.py", line 85, in install_restricted_from_cfg

install_in_directory(os.path.expanduser(cp.get(section, "directory")), cp.get(section, "command"))


 "/usr/lib/python2.7/dist-packages/backports/configparser/__init__.py", line 811, in get

d)


 "/usr/lib/python2.7/dist-packages/backports/configparser/__init__.py", line 384, in before_get

self._interpolate_some(parser, option, L, value, section, defaults, 1)


 "/usr/lib/python2.7/dist-packages/backports/configparser/__init__.py", line 425, in _interpolate_some

if "%" in v:
TypeError: argument of type 'int' is not iterable
Original Traceback (most recent call last):


 "/home/xly/anaconda3/envs/envtest/lib/python3.6/site-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop

data = fetcher.fetch(index)


 "/home/xly/anaconda3/envs/envtest/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch

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


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

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


 "/home/xly/mmdetection/mmdet/datasets/custom.py", line 132, in __getitem__

data = self.prepare_train_img(idx)


 "/home/xly/mmdetection/mmdet/datasets/custom.py", line 145, in prepare_train_img

return self.pipeline(results)


 "/home/xly/mmdetection/mmdet/datasets/pipelines/compose.py", line 24, in __call__

data = t(data)


 "/home/xly/mmdetection/mmdet/datasets/pipelines/loading.py", line 106, in __call__

results = self._load_masks(results)


 "/home/xly/mmdetection/mmdet/datasets/pipelines/loading.py", line 86, in _load_masks

gt_masks = [self._poly2mask(mask, h, w) for mask in gt_masks]


 "/home/xly/mmdetection/mmdet/datasets/pipelines/loading.py", line 86, in <listcomp>

gt_masks = [self._poly2mask(mask, h, w) for mask in gt_masks]


 "/home/xly/mmdetection/mmdet/datasets/pipelines/loading.py", line 71, in _poly2mask

rles = maskUtils.frPyObjects(mask_ann, img_h, img_w)


 "pycocotools/_mask.pyx", line 292, in pycocotools._mask.frPyObjects
TypeError: object of type 'int' has no len()
