Skip to content

When running pipeline.py for a quick test, some problems were encountered. #51

@Coleee-s

Description

@Coleee-s

I have figured out how to create the files in the "data" folder. However, when running the pipeline for a quick test, I encountered this error. Could you tell me where the problem lies?
root@a0e5cc7e7cb5:~/lanyun-tmp/ecg_classification_master# python pipeline.py --config configs/pipelines/config.json
Trainer: Pipeline1D <class 'pipelines.pipelines.Pipeline1D'>
Checkpoint ./experiments/EcgResNet34/checkpoints/00000635.pth successfully loaded
18it [00:01, 11.02it/s]
Traceback (most recent call last):
File "pipeline.py", line 20, in
pipeline.run_pipeline()
File "/root/lanyun-tmp/ecg_classification_master/pipelines/base_pipeline.py", line 69, in run_pipeline
and self.mapper[str(label)] != "N"
KeyError: '0'

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