Closed tobimichigan closed 4 years ago
Hello, thank you for reporting this issue.
The notebook is kind of out-of-date. We will work on revising them asap.
For now, if you want to try training KGE, I will suggest you run the scripts in [root folder]/pykg2vec/example/train.py. and by modifying argument followed by "-mn", you can toggle between models.!
Thanks again @louisccc . It seems that needs to be done quick;y cos its affecting the entire notebook SDK.
We have updated the example scripts so you may want to check them out under [root]/examples. We are still actively updating the user documents. so you can expect a better version to be coming up in a short while! Thanks!
Issue Template
First of all, thank you for finding the bugs. Please help us improve by providing the bug report as much as possible in the following format.
Describe the bug Tried running one of your notebooks
To Reproduce `# Author: Sujit Rokka Chhetri and Shiy Yuan Yu
License: MIT
import tensorflow as tf
from pykg2vec.core.TransE import TransE from pykg2vec.core.TransH import TransH from pykg2vec.core.TransR import TransR from pykg2vec.core.Rescal import Rescal from pykg2vec.core.SMEBilinear import SMEBilinear from pykg2vec.core.SMELinear import SMELinear from pykg2vec.config.config import TransEConfig, TransHConfig, TransRConfig, RescalConfig, SMEConfig
from pykg2vec.utils.dataprep import DataPrep from pykg2vec.utils.trainer import Trainer
def experiment():
preparing dataset.
if name == "main": experiment()`
Expected behavior Perfect run
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information): Linux
Dependency (please complete the following information):