Skip to content

fix: add graphsage activation + torch preprocess for trinet vision#31

Merged
melvinbarbaux merged 3 commits intomainfrom
fix/graphsage-trinet-vision
Jan 30, 2026
Merged

fix: add graphsage activation + torch preprocess for trinet vision#31
melvinbarbaux merged 3 commits intomainfrom
fix/graphsage-trinet-vision

Conversation

@melvinbarbaux
Copy link
Copy Markdown
Collaborator

Summary

What does this PR change?

Checklist

  • Tests added or updated
  • CI green
  • Changelog updated
  • Documentation updated

Notes

Anything reviewers should know?

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c866230697

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +66 to +69
if hidden_sizes:
resolved_hidden = int(hidden_sizes[0])
if resolved_layers is None:
resolved_layers = max(2, int(len(hidden_sizes)) + 1)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Respect all hidden_sizes entries when building GraphSAGE

When hidden_sizes has more than one entry (e.g., [128, 64]), the code only reads hidden_sizes[0] but still bumps num_layers based on the full length. This means the additional sizes are silently ignored and all hidden layers use the first size, so the model architecture does not match the user-configured hyperparameters and can change experiment outcomes. Consider constructing per-layer sizes from the full list or rejecting lists longer than 1.

Useful? React with 👍 / 👎.

@melvinbarbaux melvinbarbaux force-pushed the fix/graphsage-trinet-vision branch from b048448 to ada6d79 Compare January 29, 2026 23:37
@codecov
Copy link
Copy Markdown

codecov bot commented Jan 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
@melvinbarbaux melvinbarbaux merged commit 0bc04ba into main Jan 30, 2026
11 checks passed
@melvinbarbaux melvinbarbaux deleted the fix/graphsage-trinet-vision branch January 30, 2026 01:05
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