mmaction2训练slowfast时数据无法加载 #2853
Unanswered
Dongxiaocan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Error during data serialization: need at least one array to concatenate
Traceback (most recent call last):
File "E:\Anaconda3\envs\dcwork\lib\contextlib.py", line 131, in exit
self.gen.throw(type, value, traceback)
File "E:\Anaconda3\envs\dcwork\lib\site-packages\mmengine\registry\registry.py", line 325, in switch_scope_and_registry
yield registry
File "E:\Anaconda3\envs\dcwork\lib\site-packages\mmengine\registry\build_functions.py", line 121, in build_from_cfg
obj = obj_cls(**args) # type: ignore
File "E:\Anaconda3\envs\dcwork\lib\site-packages\mmengine\runner\loops.py", line 44, in init
super().init(runner, dataloader)
File "E:\Anaconda3\envs\dcwork\lib\site-packages\mmengine\runner\base_loop.py", line 26, in init
self.dataloader = runner.build_dataloader(
File "E:\Anaconda3\envs\dcwork\lib\site-packages\mmengine\runner\runner.py", line 1370, in build_dataloader
dataset = DATASETS.build(dataset_cfg)
File "E:\Anaconda3\envs\dcwork\lib\site-packages\mmengine\registry\registry.py", line 570, in build
return self.build_func(cfg, *args, **kwargs, registry=self)
File "E:\Anaconda3\envs\dcwork\lib\site-packages\mmengine\registry\build_functions.py", line 121, in build_from_cfg
obj = obj_cls(**args) # type: ignore
File "E:\mmaction\mmaction2-1.2.0\mmaction\datasets\ava_dataset.py", line 147, in init
super().init(
File "E:\mmaction\mmaction2-1.2.0\mmaction\datasets\base.py", line 48, in init
super().init(
File "E:\Anaconda3\envs\dcwork\lib\site-packages\mmengine\dataset\base_dataset.py", line 247, in init
self.full_init()
File "E:\Anaconda3\envs\dcwork\lib\site-packages\mmengine\dataset\base_dataset.py", line 296, in full_init
self.data_bytes, self.data_address = self._serialize_data()
File "E:\Anaconda3\envs\dcwork\lib\site-packages\mmengine\dataset\base_dataset.py", line 772, in _serialize_data
data_bytes = np.concatenate(data_list)
File "<array_function internals>", line 200, in concatenate
ValueError: need at least one array to concatenate
Beta Was this translation helpful? Give feedback.
All reactions