Original Traceback (most recent call last):


 "/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop

data = fetcher.fetch(index)


 "/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch

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


 "/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/fetch.py", line 44, in <listcomp>

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


 "/content/mmdetection/mmdet/datasets/custom.py", line 191, in __getitem__

return self.prepare_test_img(idx)


 "/content/mmdetection/mmdet/datasets/custom.py", line 234, in prepare_test_img

return self.pipeline(results)


 "/content/mmdetection/mmdet/datasets/pipelines/compose.py", line 40, in __call__

data = t(data)


 "/content/mmdetection/mmdet/datasets/pipelines/transforms.py", line 290, in __call__

self._random_scale(results)


 "/content/mmdetection/mmdet/datasets/pipelines/transforms.py", line 190, in _random_scale

elif len(self.img_scale) == 1:
TypeError: object of type 'NoneType' has no len()

Traceback (most recent call last):


 "/usr/local/bin/bcbio_nextgen.py", line 221, in <module>

install.upgrade_bcbio(kwargs["args"])


 "/mnt/fsx/share/bcbio/anaconda/lib/python3.6/site-packages/bcbio/install.py", line 105, in upgrade_bcbio

upgrade_bcbio_data(args, REMOTES)


 "/mnt/fsx/share/bcbio/anaconda/lib/python3.6/site-packages/bcbio/install.py", line 349, in upgrade_bcbio_data

_upgrade_snpeff_data(galaxy_home, args, remotes)


 "/mnt/fsx/share/bcbio/anaconda/lib/python3.6/site-packages/bcbio/install.py", line 418, in _upgrade_snpeff_data

if os.path.exists(snpeff_db_dir) and _is_old_database(snpeff_db_dir, args):


 "/mnt/fsx/share/bcbio/anaconda/lib/python3.6/site-packages/bcbio/install.py", line 445, in _is_old_database

version_info = in_handle.readline().strip().split("\t")
TypeError: a bytes-like object is required, not 'str'
