Closed cthoyt closed 3 years ago
I think the issue is that it's making tons of assumptions about file structure
So that example in the readme requires preprocessing the dataset first. It's not very clear about that, I'll update it to be more clear.
Try running python3 marius/tools/preprocess.py kinships output_dir/
and doing the example again.
seems like the kind of thing that motivates a higher level interface than the C code that can also mix in python-only tools, like ensuring that the preprocess script got run properly
New error:
/Users/cthoyt/.virtualenvs/marius/bin/python /Users/cthoyt/dev/marius/test.py
[2021-04-16 01:31:00.402] [info] [io_wrap.cpp:36] Training set initialized
[2021-04-16 01:31:00.402] [info] [io_wrap.cpp:40] Evaluation set initialized
[2021-04-16 01:31:00.403] [info] [trainer.cpp:66] ################ Starting training epoch 1 ################
Process finished with exit code 136 (interrupted by signal 8: SIGFPE)
Try with fb15k. I think this issue is that the configuration file for kinships has a batch size of 1000 edges. This is larger than the dataset, which only has 100 edges.
Thanks for sniffing all these issues out, this is great 😄
Describe the bug
To Reproduce
I took the example from the README verbatim besides fixing the config path
Expected behavior A clear and concise description of what you expected to happen.
Environment Mac os 11.2.3 big sur, python 3.9.2, pip installed from latest code on marius