Skip to content

Linear Probing#38

Open
Negiiiin wants to merge 9 commits into
VectorInstitute:mainfrom
Negiiiin:feature/linear_classification
Open

Linear Probing#38
Negiiiin wants to merge 9 commits into
VectorInstitute:mainfrom
Negiiiin:feature/linear_classification

Conversation

@Negiiiin

Copy link
Copy Markdown
Collaborator

PR Type

[Feature]

Short Description

Linear probing task

Comment thread mmlearn/tasks/__init__.py Outdated
Comment thread mmlearn/tasks/__init__.py Outdated
Comment thread mmlearn/tasks/linear_probing.py Outdated
Comment thread mmlearn/tasks/linear_probing.py Outdated
Comment thread mmlearn/tasks/linear_probing.py Outdated
Comment thread mmlearn/tasks/linear_probing.py Outdated
Comment thread mmlearn/tasks/linear_probing.py Outdated
Comment thread projects/med_benchmarking/configs/experiment/linear_probing_eval.yaml Outdated
Comment thread projects/med_benchmarking/configs/experiment/linear_probing_eval.yaml Outdated

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@Negiiiin Please update this config file to match the current implementation of the LinearEvaluation task.

@fcogidi fcogidi requested a review from Copilot April 7, 2025 17:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.

def linear_eval_transforms(
crop_size: int = 224,
normalization: tuple = ((0.485, 0.456, 0.406), (0.229, 0.224, 0.225)),
job_type: Literal["train", "eval"] = "train",

Copilot AI Apr 7, 2025

Copy link

Choose a reason for hiding this comment

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

Missing import for Literal; please add 'from typing import Literal' to support the type hint.

Copilot uses AI. Check for mistakes.
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.

3 participants