Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "C:\Anaconda3\lib\site-packages\pint\unit.py", line 1271, in parse_expression

return build_eval_tree(gen).evaluate(lambda x : self._eval_token(x, case_sensitive=case_sensitive,
AttributeError: 'NoneType' object has no attribute 'evaluate'

Original Traceback (most recent call last):


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

data = fetcher.fetch(index)


 "/root/anaconda3/envs/mmaction/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]


 "/root/anaconda3/envs/mmaction/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]


 "/ssd8/liuchao45/mmaction/mmaction/datasets/video_dataset.py", line 344, in __getitem__

is_flow=True if modality == 'Flow' else False)


 "/ssd8/liuchao45/mmaction/mmaction/datasets/transforms.py", line 430, in __call__

img, scale, return_scale=True) for img in img_group]


 "/ssd8/liuchao45/mmaction/mmaction/datasets/transforms.py", line 430, in <listcomp>

img, scale, return_scale=True) for img in img_group]


 "/ssd8/liuchao45/mmaction/mmcv/mmcv/image/geometric.py", line 175, in imrescale

h, w = img.shape[:2]
AttributeError: 'NoneType' object has no attribute 'shape'
