Skip to content

ValueError: need at most 63 handles, got a sequence of length 66 #7

@hy727

Description

@hy727

Hello, thanks for your codes and readme file. I have a problem when I try to download GCC3M dataset using img2dataset. The error shows like that:

Exception in thread Thread-1:
Traceback (most recent call last):
  File "D:\Anaconda\envs\opseg\lib\threading.py", line 980, in _bootstrap_inner
# writing /data/gcc3m\000000.tar 0 0.0 GB 0
    self.run()
  File "D:\Anaconda\envs\opseg\lib\threading.py", line 917, in run
    self._target(*self._args, **self._kwargs)
  File "D:\Anaconda\envs\opseg\lib\multiprocessing\pool.py", line 519, in _handle_workers
0it [00:00, ?it/s]    cls._wait_for_updates(current_sentinels, change_notifier)
  File "D:\Anaconda\envs\opseg\lib\multiprocessing\pool.py", line 499, in _wait_for_updates
0it [00:00, ?it/s]
    wait(sentinels, timeout=timeout)
  File "D:\Anaconda\envs\opseg\lib\multiprocessing\connection.py", line 879, in wait
    ready_handles = _exhaustive_wait(waithandle_to_obj.keys(), timeout)
  File "D:\Anaconda\envs\opseg\lib\multiprocessing\connection.py", line 811, in _exhaustive_wait
    res = _winapi.WaitForMultipleObjects(L, False, timeout)
ValueError: need at most 63 handles, got a sequence of length 66

Could you please help me solve the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions