Skip to content

Problems about run your code #3

Description

@xiny-gao

Thanks for your work.
I have some problems when I download your code and run it.

I download the dataset(you list in the readme, the link is [https://drive.google.com/drive/folders/1QQPn8-lENxaJE-ebrcAJ7-HwqPegGCRw?usp=sharing]), and just use NELL dataset.
I run the code main in train mode. The parameters are here.
python main.py --dataset NELL-One
--data_path ./NELL
--few 5
--data_form Pre-Train
--prefix nell_recdap_iter100_lr1e-3_margin1
--device 0
--batch_size 64
--g_batch 1024
--epoch 100000
--eval_epoch 1000
--checkpoint_epoch 1000
--learning_rate 1e-3
--margin 1.0
--num_diffusion_iters 100

Then, I will get the dictionary state , some files in it.

Image

So I use the file named state_dict in the above picture. Then I get the result here.
The test parameters are here.
python main.py --dataset NELL-One
--data_path ./NELL
--few 5
--data_form Pre-Train
--prefix nell_recdap_iter100_lr1e-3_margin1_2022_cuda:0_20250719143844
--state_dict_filename state_dict
--device 0
--batch_size 64
--g_batch 1024
--epoch 100000
--eval_epoch 1000
--checkpoint_epoch 1000
--learning_rate 1e-3
--margin 1.0
--num_diffusion_iters 100
--step test
Image

I am not sure that the result is correct. In your paper, the MRR :0.505/ Hits@10: 0.528 /Hits@5: 0.506 / Hits@1: 0.493

Could you teach me how to run your code to get the correct number mentioned in your paper?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions