Skip to content

.npy is not loading in the args.pertrained in Main.,py file. #2

@vijaysarathy07

Description

@vijaysarathy07

Hi,
In main.py

pretrained = KeyedVectors.load(args.pretrained, mmap='r')
the following above line causes an runtime error, saying

  1. there is no ".vector.py" found in the ptempt folder
  2. if i try to save on by other pieces of codes, it says "Error loading pretrained model or creating vocab: Array can't be memory-mapped: Python objects in dtype."

can you please resolve this one

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions