Skip to content

数据集相关问题 #4

Description

@mingyao1120

File "MIntOOD/data/base.py", line 125, in get_ind_data
train_data_index, train_label_ids = get_indexes_annotations(args, bm, label_map, os.path.join(text_data_path, 'train.tsv'), args.data_mode, args.dataset)
File "MIntOOD/data/base.py", line 238, in get_indexes_annotations
label_id = label_map[bm['label_maps'][line[2]]]
KeyError: 'oth'
你好,我使用MELD-DA进行训练时遇到如上错误,请问应该如何更改代码?

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