JiapengWu / TeMP

Temporal Message Passing Network for Temporal Knowledge Graph Completion
55 stars 18 forks source link

code running #5

Closed CraraW closed 3 years ago

CraraW commented 3 years ago

Hi ,when I run the code with the command “ python -u main.py -c grid/icews14/config_srgcn.json --fast-dev-run”,there raise an error "AttributeError: 'NoneType' object has no attribute 'module'"in trianner.test() . I found your code has the "test.py". Does the trianner.test() function need to be called in "main.py"? Thanks !

JiapengWu commented 3 years ago

Hi Crara,

Yes. To run test, please visit readme.md and check the usage. To be honest I never fully run the training until convergence, so I didn’t really use this line ever. I have updated a version that removes this line.

Best,

Paul

On Apr 25, 2021, at 9:42 AM, CraraW @.**@.>> wrote:

Hi ,when I run the code with the command “ python -u main.py -c grid/icews14/config_srgcn.json --fast-dev-run”,there raise an error "AttributeError: 'NoneType' object has no attribute 'module'"in trianner.test() . I found your code has the "test.py". Does the trianner.test() function need to be called in "main.py"? Thanks !

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/JiapengWu/TeMP/issues/5, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFN2LV4YELBLSUL6V7QOBI3TKQL5LANCNFSM43RJQLRA.

JiapengWu commented 3 years ago

Hi, I have just uploaded some trained models, please check out the updated readme.

CraraW commented 3 years ago

Hi, I have just uploaded some trained models, please check out the updated readme.

Thank you so much