Skip to content

restore the decoder attributes of models pickled with an older torch_em - #185

Merged
lufre1 merged 1 commit into
mainfrom
fix-torch-em-0.10.7-models
Oct 17, 2026
Merged

lufre1 merged 1 commit into
mainfrom
fix-torch-em-0.10.7-models

Conversation

@lufre1

@lufre1 lufre1 commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

torch_em 0.10.7 reads Decoder.explicit_skip_channels in the forward pass, which models pickled with an older version do not have, so all pretrained models fail with an AttributeError.

torch_em 0.10.7 reads Decoder.explicit_skip_channels in the forward pass, which
models pickled with an older version do not have, so all pretrained models fail
with an AttributeError.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@lufre1
lufre1 marked this pull request as ready for review October 6, 2026 14:07
@lufre1

lufre1 commented Oct 6, 2026

Copy link
Copy Markdown
Contributor Author

@constantinpape this fixes an error that arises when installing latest torch_em version - it is also compatbile with older torch_em versions

@lufre1
lufre1 merged commit 8193880 into main Oct 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant