Comments (7)
You might have to change the lookup_embedder.initialize to normal_ to see the relevant error. Also, specifying the types for inverse_relations_model.base_model.entity_embedder and relation_embedder fix this, but ideally we shouldn't have to.
from kge.
I do not think this is related to the commit you mention. Instead, it seems to be an error in your config file: lookup_embedder.initialize: uniform
is set in the config, but lookup_embedder.initialize_args
is not set. It therefore complains. Adding lookup_embedder.initialize_args.a=1.
(for example) resolves the problem.
from kge.
from kge.
No, the error message was good: it complained that the a
argument of the initializer was missing. (Please include the error messages in the issue next time.)
from kge.
Ok, so two things happened here. 1) The config file I uploaded was not correct, sorry. I attach a new one. 2) The issue was hackily fixed in 7066d9b, because I needed to run searches already. So, in order to reproduce, one needs to go back to 38a6968 and run the attached config file. The error message is:
KeyError: 'entity_embedder'
Apparently, we did not notice because the entity_embedder and relation_embedder entries are already added for ConvE when adding the hack for the entity_bias.
toy-complex-inverse-train.yaml.zip
from kge.
The problem was not in the configuration, but in the implementation of KgeEmbedder. Fixed & hack removed. Please reopen if there are still problems.
from kge.
BTW: We should post full stack traces in the future; the trace here showed where the error occurred.
from kge.
Related Issues (20)
- Support more metrics?
- How to apply HittER
- Number of negative samples during evaluation HOT 3
- web.informatik.uni-mannheim.de not accesible HOT 2
- ValueError thrown by `$ kge start examples/toy-complex-train.yaml` HOT 3
- Using buffer for writing to a file during preprocessing
- ConvE and reciprocal_relations_model HOT 2
- Getting output of libKGE
- Relation Prediction HOT 5
- Filtered _ro prediction HOT 1
- Frequency based sampling broken
- Error on tensor scoring HOT 1
- Adding user keys to config HOT 2
- Trial XXXXX failed: TypeError("step() missing 1 required positional argument: 'closure'") HOT 2
- ERROR: file:///content does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found. HOT 3
- generate embeddings HOT 1
- Trained embeddings are missing for Codex-{S/M/L} HOT 1
- dataset issues HOT 3
- Getting model predictions in parallel HOT 1
- About debug the program 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 kge.