Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

数据加载问题 #7

Open
ShiYizz opened this issue Aug 3, 2023 · 0 comments
Open

数据加载问题 #7

ShiYizz opened this issue Aug 3, 2023 · 0 comments

Comments

@ShiYizz
Copy link

ShiYizz commented Aug 3, 2023

您好,我在运行train.py时,数据加载出现了如下错误:
Loading dataset...
Traceback (most recent call last):
File "train.py", line 30, in
signals, labels = dataloader.loaddataset(opt)
File "E:\candock\candock-master\data\dataloader.py", line 146, in loaddataset
p.start()
File "E:\anaconda\envs\cnadock\lib\multiprocessing\process.py", line 112, in start
self._popen = self._Popen(self)
File "E:\anaconda\envs\cnadock\lib\multiprocessing\context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "E:\anaconda\envs\cnadock\lib\multiprocessing\context.py", line 322, in _Popen
return Popen(process_obj)
File "E:\anaconda\envs\cnadock\lib\multiprocessing\popen_spawn_win32.py", line 89, in init
reduction.dump(process_obj, to_child)
File "E:\anaconda\envs\cnadock\lib\multiprocessing\reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
TypeError: cannot serialize '_io.BufferedWriter' object
请问这是什么地方出现错误,我在网上并没有找到有用的方法解决这个问题,您是否遇到过这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant