Traceback (most recent call last):


 "terminator", line 129, in <module>

TERMINATOR.create_layout(OPTIONS.layout)


 "/opt/terminator/terminatorlib/terminator.py", line 245, in create_layout

if layout[obj]['type'].lower() == 'window':
TypeError: string indices must be integers

Original Traceback (most recent call last):


 "/Users/bharath/anaconda3/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop

data = fetcher.fetch(index)


 "/Users/bharath/anaconda3/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]


 "/Users/bharath/anaconda3/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]


 "/Users/bharath/Downloads/DSB2017-master/data_detector.py", line 125, in __getitem__

margin = self.split_comber.margin/self.stride)


 "/Users/bharath/Downloads/DSB2017-master/split_combine.py", line 37, in split

data = np.pad(data, pad, 'edge')


 "<__array_function__ internals>", line 6, in pad


 "/Users/bharath/anaconda3/lib/python3.7/site-packages/numpy/lib/arraypad.py", line 738, in pad

raise TypeError('`pad_width` must be of integral type.')
TypeError: `pad_width` must be of integral type.** 
