thunlp / Fast-TransX

An Efficient implementation of TransE and its extended models for Knowledge Representation Learning
MIT License
402 stars 108 forks source link

transR测试代码越界 #41

Closed chivychao closed 6 years ago

chivychao commented 6 years ago

https://github.com/thunlp/Fast-TransX/blob/d411beb1db7c6bef37426edcf656d0e9a5edb113/transR/test_transR.cpp#L235 应该是j < entityTotal吧?

THUCSTHanxu13 commented 6 years ago

I have fix this bug.