Skip to content

Issues with dglke_emb_sim  #253

@Maristela-de-Jesus

Description

@Maristela-de-Jesus

Hi,

I would like to find the similarity scores of TransE, and I am finding the same error as this one https://github.com/awslabs/dgl-ke/issues/160

!DGLBACKEND=pytorch dglke_emb_sim --model_path ./wikimedia/TransE_l2_wikimedia_0/ \
--format 'h_*_*' --data_files head.list \
--score_func none --topK 10 --gpu 0

The results:

usage: dglke_emb_sim [-h] [--mfile MFILE] [--emb_file EMB_FILE]
                     [--format FORMAT]
                     [--data_files DATA_FILES [DATA_FILES ...]] [--raw_data]
                     [--exec_mode EXEC_MODE] [--topK TOPK]
                     [--sim_func SIM_FUNC] [--output OUTPUT] [--gpu GPU]
dglke_emb_sim: error: unrecognized arguments: --model_path ./wikimedia/TransE_l2_wikimedia_0/ --score_func none

I saw the suggestion to use dglke_predict instead, but I would need to use dglke_emb_sim to check the node similarities.

Any idea how I can solve this?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions