Comments (2)
I downloaded it from http://nlp.stanford.edu/data/glove.6B.zip, but the dimensions do not match.
Reading model from logs/fn1.7-pretrained-targetid/best-targetid-1.7-model ...
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/jayr/dev/open-sesame/sesame/targetid.py", line 459, in <module>
model.populate(model_file_name)
File "_dynet.pyx", line 1461, in _dynet.ParameterCollection.populate
File "_dynet.pyx", line 1516, in _dynet.ParameterCollection.populate_from_textfile
RuntimeError: Dimensions of lookup parameter /_0 lookup up from file ({100,400574}) do not match parameters to be populated ({100,410050})
from open-sesame.
A note for the explorer.
I thought it might be due to the lack of aligned dyNET versions, so I aligned them.
The old version of dyNET cannot be installed due to Eigen's change of host location, so I patched that only.
ncaq/dynet at fix-v2.0.z-url
Also, the type of the init attribute was different, so I decided to let init be the default.
And I got the same error.
Loading model from logs/fn1.7-pretrained-frameid/best-frameid-1.7-model ...
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/ncaq/Desktop/open-sesame/sesame/frameid.py", line 369, in <module>
model.populate(model_file_name)
File "_dynet.pyx", line 1061, in _dynet.ParameterCollection.populate
File "_dynet.pyx", line 1116, in _dynet.ParameterCollection.populate_from_textfile
RuntimeError: Dimensions of lookup parameter /_0 lookup up from file ({100,400574}) do not match parameters to be populated ({100,410050})
from open-sesame.
Related Issues (20)
- output description HOT 1
- Dimensionality Mismatch While Trying to Run Prediction HOT 7
- I just made the necessary modifications to work with Python 3 and produce the output in Json format. HOT 1
- get postags and lemmas of sentences all zero when running prediction
- FrameID Results include Gold Arguments
- Error While Training: no attribute '__reduce_cython__'
- Got an Error while Running a Basic Prediction Task HOT 1
- Enable GPU HOT 1
- install error
- Question on the reported results. HOT 1
- 'WindowsPath' object has no attribute 'read'
- KeyError while training FrameID and ArgID
- The link to GloVe embeddings is not valid
- RuntimeError: Dimensions of lookup parameter /_0 lookup up from file ({100,400574}) do not match parameters to be populated ({100,410050}) HOT 23
- TypeError: Argument 'init' has incorrect type (expected _dynet.PyInitializer, got str) HOT 1
- Any suggestions/pipeline process for large text files?
- Process aborts abruptly with "Killed" message
- Using open-sesame framework for a new language? HOT 1
- Is open-sesame still supported? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-sesame.