Skip to content

file not exist #3

@ZhtWan

Description

@ZhtWan

Is there anyone could tell me what the file named "path_graph_out.json" is?
Here's some of the code in grapher.py:

class BGGraph(object):

def __init__(self, args):
	
	self.data_dir        = os.path.join(args["data_dir"], args["dataset_name"])

	self.ent2id          = json.load(open(os.path.join(self.data_dir, 'entity2id.json')))
	self.id2ent          = id2name(self.ent2id)
	self.rel2id          = json.load(open(os.path.join(self.data_dir, 'relation2id.json')))
	self.id2rel          = id2name(self.rel2id)

	self.out             = json.load(open(os.path.join(self.data_dir, 'path_graph_out.json')))

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