miralab-ustc / gcn4kgc Goto Github PK
View Code? Open in Web Editor NEWThe code of paper Rethinking Graph Convolutional Networks in Knowledge Graph Completion. Zhanqiu Zhang, Jie Wang, Jieping Ye, Feng Wu. WWW 2022.
The code of paper Rethinking Graph Convolutional Networks in Knowledge Graph Completion. Zhanqiu Zhang, Jie Wang, Jieping Ye, Feng Wu. WWW 2022.
张同学:
您好~我在运行您的代码时遇到以下错误:
Namespace(batch_size=128, channels=200, dataset='FB15k-237', decoder='distmult', dropout_rate=0.2, embedding_dim=200, eval_every=1, final_act=False, final_bn=False, final_drop=False, gamma=9.0, gc1_emb_size=150, gpu=0, init_emb_size=100, input_dropout=0, kernel_size=5, lr=0.002, n_epochs=5000, n_layer=2, name='debug', num_workers=2, patience=100, rat=False, seed=12345, ss=-1, wni=False, wsi=False)
14541 475
Graph(num_nodes=14541, num_edges=558771,
ndata_schemes={}
edata_schemes={})
start training...
Traceback (most recent call last):
File "E:/MLingual/second/GCN4KGC-main/WGCN/run.py", line 485, in
main(args)
File "E:/MLingual/second/GCN4KGC-main/WGCN/run.py", line 395, in main
pred = model.forward(g, all_rel, e1_batch, rel_batch, entity_id)
File "E:/MLingual/second/GCN4KGC-main/WGCN/run.py", line 223, in forward
e1_embedded = e1_embedded_all[e1]
IndexError: tensors used as indices must be long, byte or bool tensors
请问该如何解决?
RuntimeError: CUDA error: CUBLAS_STATUS_INTERNAL_ERROR when calling cublasCreate(handle)
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.