Syntax error: dglke_train

Hey there!

I’m a beginner here and I’m trying the reproduce the results of the code posted here

I get a syntax error while running this cell:

I’ve followed the instructions mentioned in the installation guide of DGL-KE’s documentation. And I get the same syntax error while running this piece of code:

I’ve installed dglke=0.1.0, dgl=0.4.3, pytorch=1.3.1 and running on python=3.7

Hi, you cannot run the dglke_train in ipython_notebook, which can only execute python programs. Try to run it in bash shell or add ! in ipython_notebook.