Original Traceback (most recent call last):


 "/opt/conda/lib/python3.6/site-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop

data = fetcher.fetch(index)


 "/opt/conda/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]


 "/opt/conda/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/soyeon/SiamMask/datasets/siam_mask_dataset.py", line 551, in __getitem__

search_mask = (cv2.imread(search[2], 0) > 0).astype(np.float32)
TypeError: '>' not supported between instances of 'NoneType' and 'int'

Traceback (most recent call last):


 "c:\users\iulian\appdata\local\programs\python\python38-32\lib\site-packages\pysc2\env\environment.py", line 160, in __del__


 "c:\users\iulian\appdata\local\programs\python\python38-32\lib\site-packages\pysc2\env\sc2_env.py", line 752, in close


 "c:\users\iulian\appdata\local\programs\python\python38-32\lib\site-packages\absl\logging\__init__.py", line 338, in info


 "c:\users\iulian\appdata\local\programs\python\python38-32\lib\site-packages\absl\logging\__init__.py", line 485, in log


 "c:\users\iulian\appdata\local\programs\python\python38-32\lib\site-packages\absl\logging\__init__.py", line 1047, in log


 "c:\users\iulian\appdata\local\programs\python\python38-32\lib\logging\__init__.py", line 1500, in log


 "c:\users\iulian\appdata\local\programs\python\python38-32\lib\logging\__init__.py", line 1565, in _log
TypeError: findCaller() takes from 1 to 2 positional arguments but 3 were given