Skip to content

Clarify the num_workers in ThreadDataLoader #3763

@Nic-Ma

Description

@Nic-Ma

Is your feature request related to a problem? Please describe.
When I was introducing GPU transforms and the associated ThreadDataLoader to users, got several times feedback about the num_workers arg, which is confusing that users think it means the multi-threads in ThreadDataLoader, but actually it's the multi-processing workers of PyTorch DataLoader.
Would be nice to clarify this arg and the use cases.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions