Skip to content

A bug in the prepare_PhysioNetP300.py #22

@ShivaP69

Description

@ShivaP69

For prepare_PhysioNetP300.py. The correct code should be
spath = os.path.join(dataset_fold, f'{y}')
os.makedirs(spath, exist_ok=True) # create the correct folder
spath = os.path.join(spath, f'{i}.sub{sub}.pt') # add .pt for PyTorch files
torch.save(x, spath)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions