Skip to content

ModuleDict with BaseFinetuning causes recursion error #8169

@ethanwharris

Description

@ethanwharris

🐛 Bug

Using a module with nn.ModuleDict layers causes an infinite recursion error. This is because it passes the Iterable check but then iterates over keys which are strings and then subsequently pass the Iterable check on recursion. This is the cause of Lightning-Universe/lightning-flash#455

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedOpen to be worked on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions