ibm / open-kg-canonicalization Goto Github PK
View Code? Open in Web Editor NEWThe software associated with a paper accepted at EMNLP 2021 titled "Open Knowledge Graphs Canonicalization using Variational Autoencoders".
License: Apache License 2.0
The software associated with a paper accepted at EMNLP 2021 titled "Open Knowledge Graphs Canonicalization using Variational Autoencoders".
License: Apache License 2.0
Hello!
First of all, thank you very much for your contribution @Dashdor @stevemar
I'm trying to run the code with the commands you proposed in the README, but I'm getting the following error:
Traceback (most recent call last): File "src/experiment.py", line 226, in <module> main() File "src/experiment.py", line 222, in main experiment = Experiment(args.data_id, args.data_dir, args.config_file, args.kge_algorithm, args.serialize_results) File "src/experiment.py", line 29, in __init__ self.openKG_canonicalize = OpenKGCanonicalization(data_dir, config_params_file, kge_algorithm, self.device).to(device=self.device) File "pathTo/Open-KG-canonicalization/src/canonicalize_learner.py", line 36, in __init__ models = self.load_models() File "pathTo/Open-KG-canonicalization/src/canonicalize_learner.py", line 65, in load_models if model_dir is None or not os.path.exists(model_dir): raise FileNotFoundError FileNotFoundError
Could you please help with that?
Thanks in advance.
Update: setup.py
should be executed first before running any commands. Could it be added to README as well?
First of all, thank you very much for your code.
But I have a question about some of your files. Could you please tell me how the pkl files in Open-KG-canonicalization/data/vae_run/ReVerb45k_hac_OKG_canonicalize_heads/ are obtained.
Thanks a lot.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.