Skip to content

Bug in dataloader iterator found by mypy #76750

@suo

Description

@suo

While upgrading mypy, found a call to _BaseDataLoaderIter.reset() that appears to trivially fail (link), as it does not provide a required positional argument.

cc @ssnl @VitalyFedyunin @ejguan @NivekT

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: dataloaderRelated to torch.utils.data.DataLoader and SamplertriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions