thunlp / dkrl Goto Github PK
View Code? Open in Web Editor NEWRepresentation Learning of Knowledge Graphs with Entity Descriptions (AAAI-2016)
License: MIT License
Representation Learning of Knowledge Graphs with Entity Descriptions (AAAI-2016)
License: MIT License
Where can i find the file located at
line 190
string n_w_string = "../../../word2vec-41/word_vector_" + ss.str() + ".txt";
hello,I feel so sorry to disturb you.
I used the optimal parameters provided by the paper,but it performed worse than the paper,which makes me feel so confused.
Always look forward to your reply.Thanks so much.
Hi,
Thanks for your work! I'm wondering how to generate entity type information in entity2type.txt? Thank you.
In Train_cnn_multi.cpp, prepare() requries file relation2id.txt and word2id.txt.
985 FILE* f2 = fopen("../data/relation2id.txt","r");
986 FILE* f3 = fopen("../data/word2id.txt","r");
Seems that you've preprocessed fb15k and I didn't find them in your data.rar. Would you please provide them?
在运行DKRL的代码的时候,make报错
g++ Train_cnn_multi.cpp -o Train_cnn_multi -O2 -lpthread
Train_cnn_multi.cpp: 在函数‘void run(int, int, int, double, double, int)’中:
Train_cnn_multi.cpp:296:12: 警告:extended initializer lists only available with -std=c++11 or -std=gnu++11 [默认启用]
mut_mutex =PTHREAD_MUTEX_INITIALIZER;
^
Train_cnn_multi.cpp: 在函数‘void sgd()’中:
Train_cnn_multi.cpp:491:57: 警告:将一个整数转换为大小不同的指针 [-Wint-to-pointer-cast]
pthread_create(&threads[k], NULL, rand_sel, (void *)k); //train
^
Train_cnn_multi.cpp:499:61: 警告:将一个整数转换为大小不同的指针 [-Wint-to-pointer-cast]
pthread_create(&threads2[k], NULL, update_grad, (void *)k); //update
^
g++ Test_cnn.cpp -o Test_cnn -O2 -lpthread
,请问该如何解决
我在把源码下载到电脑上之后执行了make命令,但是现实报错,在test_cnn_multi.cpp的296行。请问是我的g++版本问题吗?
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.