-
Notifications
You must be signed in to change notification settings - Fork 6
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
Inference Updates #405
Inference Updates #405
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sweet!
"""Function to create a CZI Dataset. Currently, this dataset is only useful during prediction | ||
and cannot be used for training or testing. | ||
) -> DataLoader: | ||
"""Function to create a MultiDimImage Dataset. Currently, this dataset is only useful during |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
create a data loader?
@@ -290,5 +295,7 @@ def __init__( | |||
|
|||
def forward(self, img): | |||
features, mask, forward_indexes, backward_indexes = self.encoder(img, self.mask_ratio) | |||
if self.features_only: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if features_only mask_ratio must be 0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't want to enforce that in case we want to pass in a mask and just look at features from that subset of tokens (wishful thinking for now, but that's the reason behind that choice)
What does this PR do?
Before submitting
pytest
command?pre-commit run -a
command?Did you have fun?
Make sure you had fun coding 🙃