File “C:\Users\Administrator\anaconda3\Lib\multiprocessing\spawn.py”, line 122, in spawn_main
exitcode = _main(fd, parent_sentinel)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\Administrator\anaconda3\Lib\multiprocessing\spawn.py”, line 132, in _main
self = reduction.pickle.load(from_parent)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: Can’t get attribute ‘MyDataset’ on <module ‘main’ (built-in)>
经查询疑似是在 windows 系统上使用多进程时报错 AttributeError,但代码内并未使用 multiprocessing,不知是否是 numworker 导致的错误