torchkge-team / torchkge

TorchKGE: Knowledge Graph embedding in Python and PyTorch.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error : 'TransRModel' object has no attribute 'emb_dim'

zozo170610 opened this issue · comments

The following issues occur when evaluating the model performance of TransR

        evaluator = LinkPredictionEvaluator(model, kg_valid)
        evaluator.evaluate(b_size=1, iverbose=False)

'TransRModel' object has no attribute 'emb_dim'

Hello, thanks for raising this issue. A fix has been committed on the develop branch and will be included in the next release.