Skip to content

KeyError in train.py self.dataset = SequenceDataset.registry[self.hparams.dataset._name_] #144

Open
@Gardenialover

Description

@Gardenialover

I attempted to replicate the S4 model using forex data instead of weather, etth, ettm, ecl. All the forex.csv data has been loaded into the data folder, and a corresponding forex.yaml file has been added in the configs/dataset and experiment directories. However, upon running train.py with the command !python -m train experiment=forecasting/s4-informer-forex, an error occurred with the message:
self.dataset = SequenceDataset.registry[self.hparams.dataset._name_](KeyError: 'forex'. while using!python -m train experiment=forecasting/s4-informer-{etth,ettm,ecl,weather}`, it works. Any advice to fix the keyerror in forex data?

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