WeidongLi-KG / KBGAN-PyTorch-v0.4.1

MIT License
11 stars 5 forks source link

'DistMultModule' object has no attribute 'margin' #2

Closed qiuyumo208 closed 5 years ago

qiuyumo208 commented 5 years ago

AttributeError: 'DistMultModule' object has no attribute 'margin'

WeidongLi-KG commented 5 years ago

AttributeError: 'DistMultModule' object has no attribute 'margin'

You need to modify the corresponding configuration file.

qiuyumo208 commented 5 years ago

how to modify the configuration file?Is the attribute margin added to the distimult in distmult.py and config_fb15k237?