Traceback (most recent call last):


 "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\builtinViews\fittingView.py", line 196, in OnMouseMove
TypeError: 'NoneType' object is not subscriptable

Original Traceback (most recent call last):


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

data = fetcher.fetch(index)


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


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


 "<ipython-input-151-9ec7bc2b47b2>", line 46, in __getitem__

sample =self.transforms(**sample)


 "/opt/conda/lib/python3.7/site-packages/albumentations/core/composition.py", line 176, in __call__

data = t(force_apply=force_apply, **data)


 "/opt/conda/lib/python3.7/site-packages/albumentations/core/transforms_interface.py", line 87, in __call__

return self.apply_with_params(params, **kwargs)


 "/opt/conda/lib/python3.7/site-packages/albumentations/core/transforms_interface.py", line 100, in apply_with_params

res[key] = target_function(arg, **dict(params, **target_dependencies))


 "/opt/conda/lib/python3.7/site-packages/albumentations/augmentations/transforms.py", line 2644, in apply

return F.clahe(img, clip_limit, self.tile_grid_size)


 "/opt/conda/lib/python3.7/site-packages/albumentations/augmentations/functional.py", line 70, in wrapped_function

result = func(img, *args, **kwargs)


 "/opt/conda/lib/python3.7/site-packages/albumentations/augmentations/functional.py", line 669, in clahe

raise TypeError("clahe supports only uint8 inputs")
TypeError: clahe supports only uint8 inputs
