I complete follow with README.md and use NELL dataset to test model.The step 1、2 conducted as expected the But when I follow with (3) Train TGT step, I was stucked by the error:
Traceback (most recent call last):
File "I:\Development\Q2T\main.py", line 306, in <module>
main(parse_args())
^^^^^^^^^^^^
File "I:\Development\Q2T\args.py", line 89, in parse_args
args = post_init_args(args)
^^^^^^^^^^^^^^^^^^^^
File "I:\Development\Q2T\args.py", line 149, in post_init_args
with open('%s/stats.txt' % args.data_path) as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'data/NELL/stats.txt'
with command line( $kge_ckpt_path has been replaced with the real path produced by ssl-relation-prediction/main.py):
obviously, there is no NELL/stats.txt file.So how to address this problem.
besides, there is a spelling error in Q2T/main.py LINE: 14 from your lastest commit. it should be :"from Models import Query2Triple" rather than models
It should be --data_path data/NELL-betae, which will be corrected.
In the latest codes, I rename Models to models, so you need to pull our latest codes.
I complete follow with README.md and use
NELL
dataset to test model.The step 1、2 conducted as expected the But when I follow with (3) Train TGT step, I was stucked by the error:with command line(
$kge_ckpt_path
has been replaced with the real path produced by ssl-relation-prediction/main.py):` and I inspected the Q2T/data folder, the
data
folder structure(download from KGReasoning) is:obviously, there is no NELL/stats.txt file.So how to address this problem.
besides, there is a spelling error in
Q2T/main.py
LINE: 14 from your lastest commit. it should be :"from Models import Query2Triple
" rather thanmodels
Thanks for your anwser.