Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hotfix: serialize indices in concatenate transform #313

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

vpratz
Copy link
Collaborator

@vpratz vpratz commented Feb 13, 2025

Fixes the bug reported in https://discuss.bayesflow.org/t/how-to-correctly-load-a-trained-continuousapproximator-model-to-sample-from-it/127

The concatenate accumulates state in the indices attribute, but was not part of the serialization.

@codecov-commenter
Copy link

codecov-commenter commented Feb 13, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Files with missing lines Coverage Δ
bayesflow/adapters/transforms/concatenate.py 77.35% <100.00%> (ø)

@vpratz vpratz merged commit a9f17de into bayesflow-org:dev Feb 13, 2025
13 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.

2 participants