Skip to content

KeyError in TrainedModel when no data_info_table is defined #124

@chbehrens

Description

@chbehrens

For a trained model table where nnfabrik references to nnfabrik.main and no data_info_table is explicitly defined

@property
def data_info_table(self):
return find_object(self.nnfabrik, "DataInfo", "data_info_table")

throws a key error as it tries to find the non-existent DataInfo in nnfabrik.main. Is this wanted behavior or should there be something like setting data_info_table = None maybe combined with a warning?

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