Skip to content

Fix features_transform AttributeError in Trainer._save_model method #570

@gcroci2

Description

@gcroci2

When a Trainer instance calls the _save_model method and self.features_transform has transform keys with not-None values, it raises: AttributeError: 'NoneType' object has no attribute 'group'. We didn't notice because even if we are widely testing features_transform usage within the dataset.py quite broadly, we're not doing that with the trainer.py-related usage. We should:

Metadata

Metadata

Assignees

Labels

Trainertrainer module related issuesblockingThis issue blocks the othersbugSomething isn't workingtesting

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions