-
Notifications
You must be signed in to change notification settings - Fork 13
Unable to run test.py #5
Description
Hello,
I followed all the instructions and created the environment.
I'm using Windows OS to create the environment with conda.
When I run the script "test.py" is generated an exception when is executed the line 150:
for ti, data in enumerate(loader):
The exception is generated by the function _check_not_importing_main at line 134 of "colormnet\lib\multiprocessing\spawn.py"
The error is the following:
RuntimeError: An attempt has been made to start a new process before the current process has finished its bootstrapping phase.
To try to fix this error I changed the line 134 in "test.py" in:
loader = DataLoader(vid_reader, batch_size=1, shuffle=False, num_workers=1)
In practice I reduced the number of workers from 2 to 1.
But after this change I get the same exception, always at line 150 "test.py".
I don't have any Idea on how to fix this issue.
Could you help ?
Thank you,
Dan