Skip to content

Conversation

@ieee8023
Copy link
Member

@ieee8023 ieee8023 requested a review from Copilot September 14, 2025 00:05
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a MIRA sex prediction model for predicting patient sex from chest X-ray images. The model implements a ResNet34 architecture trained on the CheXpert dataset and provides binary classification between "Male" and "Female" categories.

  • Implements a new SexModel class within the MIRA baseline models module
  • Adds comprehensive test coverage for the new model functionality
  • Integrates the MIRA module into the baseline models package structure

Reviewed Changes

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

Show a summary per file
File Description
torchxrayvision/baseline_models/mira/init.py New SexModel implementation with ResNet34 architecture and weight loading
torchxrayvision/baseline_models/init.py Imports the new mira module
tests/test_mira_sex_comprehensive.py Comprehensive test suite for the SexModel functionality
tests/test_covid_dataloader.py Adds skip markers to existing tests
tests/test_baseline_models.py Adds tests for the new MIRA sex model

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@ieee8023 ieee8023 merged commit 0bfe42f into main Sep 14, 2025
3 checks passed
@ieee8023 ieee8023 deleted the mira-sex-model branch September 14, 2025 00:54
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