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

Trying to run rtd_task.py on Windows #137

Open
Yuri-Albuquerque opened this issue Jun 8, 2023 · 1 comment
Open

Trying to run rtd_task.py on Windows #137

Yuri-Albuquerque opened this issue Jun 8, 2023 · 1 comment

Comments

@Yuri-Albuquerque
Copy link

Issue Description:

I am encountering difficulties with the multiprocessing package. When attempting to run my code using the assync_dataloader on a single GPU in MS Windows 10, I encountered the following error:

File "C:\Users\USER\miniconda3\lib\multiprocessing\context.py", line 336, in _Popen
    return Popen(process_obj)
  File "C:\Users\USER\miniconda3\lib\multiprocessing\popen_spawn_win32.py", line 93, in __init__
    reduction.dump(process_obj, to_child)
  File "C:\Users\USER\miniconda3\lib\multiprocessing\reduction.py", line 60, in dump
    ForkingPickler(file, protocol).dump(obj)
AttributeError: Can't pickle local object 'RTDTask.get_feature_fn.<locals>._example_to_feature'

It seems that the issue is related to the RTDTask.get_feature_fn.<locals>._example_to_feature function and its inability to be pickled.

Any assistance in resolving this problem would be greatly appreciated.

@BartWesthoff
Copy link

did you end up having a solution? I am facing the same.

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

2 participants