Skip to content
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

Hyperparameter Optimization Pipelines and Supporting Tools #74

Draft
wants to merge 97 commits into
base: main
Choose a base branch
from

Conversation

GabrielBG0
Copy link
Collaborator

@GabrielBG0 GabrielBG0 commented Nov 8, 2024

Change Log

This PR implements a series of new features:

Transforms

  • new Crop
  • new Normalize
  • new Transpose
  • new Resize
  • new EmptyTransform
  • new _RandomSyncedTransform
  • new RandomResize
  • new RandomFlip
  • new ClassRatioCrop

Metrics

  • new CroppedMetric
  • new ResizedMetric

Callbacks

  • new TrainerReportKeepOnlyLastCallback
  • new TrainerReportOnIntervalCallback

Datasets

  • SupervisedReconstructionDataset now supports support_context_transforms

Engines

  • new _Engine
  • new PatchInferencer

Models

  • SETR_PUP now supports optimizers as parameters
  • SETR_PUP now supports selection of the aux output layers and aux weights
  • SETR_PUP now supports loading backbone weights and freezing backbone weights
  • SETR_PUP now supports weighted losses
  • SETR_PUP now supports interpolation of loaded weights input size
  • SETR_PUP now supports different learning rates for backbone and head
  • SETR_PUP now supports different prediction engines for val and test
  • _VisionTransformerBackbone now supports selection of the aux output layers
  • _VisionTransformerBackbone now supports loading backbone weights and freezing backbone weights
  • _VisionTransformerBackbone now supports interpolation of loaded weights input size

Pipelines

  • new RayHyperParameterSearch
  • new HyperoptHyperParameterSearch

Other Improvements

  • General typo fixes
  • General typing fixes

Issue ticket number and link (If apply)

#48

Checklist before requesting a review

  • I have performed a self-review of my code.
  • I have added tests to this functionality.
  • All tests are passing.
  • I have updated the documentation as needed.
  • I have followed the project's coding guidelines.

GabrielBG0 added 30 commits May 17, 2024 11:09
…width and height assignment in RandomResize; expand dimensions for 2D arrays in Transpose transform.
…ch handling; streamline input shape management and padding logic.
…instantiation in PatchInferencer class to reflect the new name.
…ape management; update methods to use ref_shape parameter for better clarity and functionality.
…lexible output handling; update padding management and ref_shape usage for improved clarity in patch reconstruction.
@GabrielBG0 GabrielBG0 linked an issue Nov 8, 2024 that may be closed by this pull request
@GabrielBG0 GabrielBG0 changed the title Hyper parameter optimization Hyperparameter optimization Pipelines and supporting classes Nov 8, 2024
@GabrielBG0 GabrielBG0 changed the title Hyperparameter optimization Pipelines and supporting classes Hyperparameter Optimization Pipelines and Supporting Classes Nov 8, 2024
@GabrielBG0 GabrielBG0 changed the title Hyperparameter Optimization Pipelines and Supporting Classes Hyperparameter Optimization Pipelines and Supporting Tooling Nov 8, 2024
@GabrielBG0 GabrielBG0 changed the title Hyperparameter Optimization Pipelines and Supporting Tooling Hyperparameter Optimization Pipelines and Supporting Tools Nov 8, 2024
…ation and metrics handling for improved clarity.
…formed_metrics.py; add ResizeMetric class for enhanced resizing functionality with aspect ratio support.
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.

Hyper Parameter Optimization
1 participant