Skip to content

cannot reshape array of size 26920800 into shape (91605,300) #44

Open

Description

@ajinkyaThorwat

glove = np.reshape(glove,(Params.vocab_size,Params.emb_size))
File "/home/kamal/.local/share/virtualenvs/R-net-master-kpkmZweY/local/lib/python2.7/site-packages/numpy/core/fromnumeric.py", line 292, in reshape
return _wrapfunc(a, 'reshape', newshape, order=order)
File "/home/kamal/.local/share/virtualenvs/R-net-master-kpkmZweY/local/lib/python2.7/site-packages/numpy/core/fromnumeric.py", line 56, in _wrapfunc
return getattr(obj, method)(*args, **kwds)
ValueError: cannot reshape array of size 26920800 into shape (91605,300)

Im getting this...please help
thank you in advance

Activity

  1. rajdeinno commented on May 15, 2019

    @rajdeinno

    Change the vocab_size to 89736 in params.py file and start train again. Hope this will help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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