Skip to content

Issue integrating new dataset and custom TrainTestSplitter #59

@igoramaralms

Description

@igoramaralms

Hi!

I'm currently testing the framework with the CALCE dataset before applying it to my own battery dataset.

I created a custom CALCETrainTestSplitter class, added a new YAML configuration, and made the necessary updates to the data loading and preprocessing logic.

However, when trying to run the pipeline, I get the following error:

raise KeyError(f'{name} is not registered to {self.name}!')
KeyError: 'CALCETrainTestSplitter is not registered to Train Test Splitters!'

It seems that the framework doesn't recognize the custom splitter, even though the class is implemented and referenced in the config.

Is there an extra step needed to properly register custom TrainTestSplitter classes so they can be used with new datasets?

Thanks in advance for the support!

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