Skip to content

Can't read pickle file for loading data #2

@LeoGitGuy

Description

@LeoGitGuy

Hello,
I encountered an issue while trying to execute python scripts/train.py --config conf/pointgroup.yaml I got the error message TypeError: file must have 'read' and 'readline' attributes.

I could fix it by changing line 451 in lib/dataset/pipeline.py to:

with open(self.cfg["{}_PATH".format(self.name.upper())].glove_pickle, 'rb') as pickle_file:
                    glove = pickle.load(pickle_file)

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