-
Notifications
You must be signed in to change notification settings - Fork 13
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
preprocess on nuscenes #11
Comments
The problem is the run function inside of the extract_multiprocess function: AttributeError: Can't pickle local object 'NuScenesData.extract_multiprocess..run'. Pickle cannot handle this. It should work if you move the definition of the run ftc outside of the extract_multiprocessing fct.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
maps/
| ├── basemaps/
| ├── expansion/
| ├── prediction/
are there no files in these three dirs?
i have .pngs and .jsons in these dirs but when preproccessing i have error like this:
python src/datascripts/dataloader_nuscenes.py --DATAROOT .\nuScenes\ --STOREDIR .\preprocessed\
Traceback (most recent call last):
File "src/datascripts/dataloader_nuscenes.py", line 959, in
dataset.extract_multiprocess()
File "src/datascripts/dataloader_nuscenes.py", line 895, in extract_multiprocess
each.start()
File "D:\work\anaconda\envs\car\lib\multiprocessing\process.py", line 121, in start
self._popen = self._Popen(self)
File "D:\work\anaconda\envs\car\lib\multiprocessing\context.py", line 224, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "D:\work\anaconda\envs\car\lib\multiprocessing\context.py", line 327, in _Popen
return Popen(process_obj)
File "D:\work\anaconda\envs\car\lib\multiprocessing\popen_spawn_win32.py", line 93, in init
reduction.dump(process_obj, to_child)
File "D:\work\anaconda\envs\car\lib\multiprocessing\reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
AttributeError: Can't pickle local object 'NuScenesData.extract_multiprocess..run'
Traceback (most recent call last):
File "", line 1, in
File "D:\work\anaconda\envs\car\lib\multiprocessing\spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "D:\work\anaconda\envs\car\lib\multiprocessing\spawn.py", line 126, in _main
self = reduction.pickle.load(from_parent)
EOFError: Ran out of input
The text was updated successfully, but these errors were encountered: