Skip to content

get_input_dim is unable to calculate a model's input dimension if the the model config's data_input.predictor_columns is empty #316

@smithcommajoseph

Description

@smithcommajoseph

The re-emergence of this bug has kicked off a new round of work, and here is the current state of things after a productive debugging session with @haneslinger. I think this ticket is more of a conversation starter and we'll implement whatever we agree upon

Background
get_input_dim uses the given config's data_input.predictor_columns as a starting point for its calculations. Therefore, loading a pre-trained model whose config contains empty predictor_columns (or, more specifically, an empty array) leads to mismatched shapes from what the underlying torch model expects and what it receives.

The recommended short-term fix
We should ensure that the configurations of pre-trained models contain predictor columns.

The long-term fix
The team should discuss, and we'll settle on an approach that works for everyone.

Metadata

Metadata

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