Skip to content

cannot import name 'functional_datapipe' from 'torch.utils.data'  #2

Description

@SCNUJackyChen

Hi, the torchtext version should be set to 0.7. For torchtext with higher version, it will trigger error "cannot import name 'functional_datapipe' from 'torch.utils.data' ".

Better add torchtext==0.7 in the requirement.txt file. Great work and thanks :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions