Skip to content

error in MEG reconstruction preprocessing #4

@Cirri12

Description

@Cirri12

Hello author, while running the preprocess_meg.ipynb file I am getting an error. It shows an index error(list index out of range) in this line: combined_annot = np.array([item if item in ['catch', 'BAD boundary', 'EDGE boundary'] else f'{item.split("/")[0]}/{labels[index1b_list][i]}/{item.split("/")[1]}'....

My things_text_labels.npy file generated, is in the form of a table output and has labels for all image categories, but I found in the preprocess_meg.ipynb file, you got it as an array type. Is this why I am getting an error? I am not sure what should be done.

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