Skip to content

Missing file and code? #1

@ujeong1

Description

@ujeong1

Hi,

First of all, thanks for the nice work and I am excited to know this practical work on event detection.

I've encountered a problem while running your codes, the most obvious problem is that there is no "utils/custom_message_graph.py" in the utils directory. Also, I think steps 1~3 are generally not runnable with a given dataset in the GoogleDrive.

Am I missing something for running this code? Following is the error I encounter when I try the 1st step of "save_edge_index.py"

//ERROR CODE
Traceback (most recent call last):
File "utils/save_edge_index.py", line 9, in
save_multi_relational_graph(data_path, relation_ids, [0, i])
File "/home/local/ASUAD/ujeong1/PycharmProjects/FinEvent/utils/gen_dataset.py", line 123, in save_multi_relational_graph
relation_edge_index = sparse_trans(os.path.join(loadpath, str(mode[1]), 's_m_tid_%s_tid.npz' % relation))
File "/home/local/ASUAD/ujeong1/PycharmProjects/FinEvent/utils/gen_dataset.py", line 14, in sparse_trans
relation = sparse.load_npz(datapath)
File "/home/local/ASUAD/ujeong1/anaconda3/lib/python3.7/site-packages/scipy/sparse/_matrix_io.py", line 123, in load_npz
with np.load(file, **PICKLE_KWARGS) as loaded:
File "/home/local/ASUAD/ujeong1/anaconda3/lib/python3.7/site-packages/numpy/lib/npyio.py", line 417, in load
fid = stack.enter_context(open(os_fspath(file), "rb"))
FileNotFoundError: [Errno 2] No such file or directory: 'incremental_cross_English_68841/0/s_m_tid_entity_tid.npz

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