Skip to content

Confusion about train_graph, valid_graph, and test_graph in datasets.py #2

Description

@2004learner

Hello,

I cloned the repository and I'm currently trying to understand the code in datasets.py. However, I'm having trouble understanding how the train_graph, valid_graph, and test_graph are being used.

It seems that valid_graph doesn't utilize the valid_triplets, and test_graph doesn't seem to use the test_triplets either. I don't understand self.graphself.train_graphself.test_graphself.valid_graph even inference_graph.

Could you please clarify this part of the code? Specifically, I’d like to understand how the graphs are constructed.

Thanks in advance!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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