localminimum / localminimum/R-net
cannot reshape array of size 26920800 into shape (91605,300)
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 319
- Forks
- 121
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the reshape call shown in the issue and inspect how glove, Params.vocab_size, and Params.emb_size are populated. Compare the loaded array size with the requested shape, then verify that the embedding data and configured dimensions agree so the reshape completes without ValueError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- numpy, python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100