Skip to content

Conversation

@vpratz
Copy link
Collaborator

@vpratz vpratz commented Feb 26, 2025

The projector weights were created even when no residual connections were required, leading to warnings as their gradients were not present, as they had no influence on the loss.

Fixes #331

The projector weights were created even when no residual connections
were required, leading to warnings as their gradients were not present,
as they had no influence on the loss.

Fixes bayesflow-org#331
@codecov-commenter
Copy link

codecov-commenter commented Feb 26, 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/networks/mlp/hidden_block.py 94.11% <100.00%> (ø)

@vpratz vpratz merged commit 5bf9a54 into bayesflow-org:dev Feb 26, 2025
13 checks passed
@vpratz vpratz deleted the fix-coupling-flow-warning branch March 1, 2025 08:55
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