bug in folds; time-efficient voting strategy; variable number of channels and prototypes - #11
Open
jgciudad wants to merge 7 commits into
Open
bug in folds; time-efficient voting strategy; variable number of channels and prototypes#11jgciudad wants to merge 7 commits into
jgciudad wants to merge 7 commits into
Conversation
jgciudad
marked this pull request as draft
August 20, 2025 14:08
jgciudad
force-pushed
the
prototype_features
branch
from
August 20, 2025 17:43
a363cec to
4226ac6
Compare
jgciudad
marked this pull request as ready for review
August 20, 2025 17:46
…hannels and prototypes in prototype model
jgciudad
force-pushed
the
prototype_features
branch
from
February 11, 2026 16:25
377ca48 to
6f574d6
Compare
jgciudad
commented
Feb 11, 2026
Contributor
Author
There was a problem hiding this comment.
When no specific fold is specified (fold=-1), a fold is sampled when the training dataset is created, and again when eval_dataset is created, leading to different folds in each.
I’ve changed the default fold to fold 0 when no fold is specified. I’ve done this everywhere in the code and removed random fold selection.
jgciudad
force-pushed
the
prototype_features
branch
from
February 12, 2026 11:58
6f574d6 to
b78d426
Compare
jgciudad
commented
Feb 12, 2026
| except : | ||
| devices = "auto" | ||
| effective_batch_size = batch_size * num_nodes | ||
| num_steps = datamodule.__len__() // effective_batch_size |
Contributor
Author
There was a problem hiding this comment.
effective_batch_size was not defined. not sure if the block just before was removed by mistake, or if effective_batch_size should just be changed to batch_size
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.