Skip to content

LSTM' object has no attribute '_flat_weights_names' #92

@Onkar-2803

Description

@Onkar-2803

Have executed the collab notebook provided by you, I'm still getting the same error.

It seems version 1.3.1 of torch has been removed

To generate the error:
!pip install inltk
!pip install torch==1.4.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
from inltk.inltk import setup
setup('hi')
from inltk.inltk import get_embedding_vectors
vectors = get_embedding_vectors('भारत', 'hi')
vectors[0].shape

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