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

🚀 Add PreProcessor to AnomalyModule #2358

Merged
merged 63 commits into from
Nov 8, 2024

Commits on Oct 9, 2024

  1. Created pre-processor

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    5338afa View commit details
    Browse the repository at this point in the history
  2. Rename transforms to transform in pre-processor

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    180c22f View commit details
    Browse the repository at this point in the history
  3. Remove transforms from datamodules

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    7738e38 View commit details
    Browse the repository at this point in the history
  4. Remove transforms from datasets

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    a133048 View commit details
    Browse the repository at this point in the history
  5. Remove setup_transforms from Engine

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    c748a0d View commit details
    Browse the repository at this point in the history
  6. Add preprocessor to AnomalyModule and models

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    03a2a2e View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. Fix tests

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    6f7399a View commit details
    Browse the repository at this point in the history
  2. Remove self._transform from AnomalyModule

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    cc5f559 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. revert transforms in datasets

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    4d2e110 View commit details
    Browse the repository at this point in the history
  2. fix efficient_ad and engine.config tests

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    1e83e57 View commit details
    Browse the repository at this point in the history
  3. Update the upgrade tests

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    1e05349 View commit details
    Browse the repository at this point in the history
  4. Revert on_load_checkpoint hook to AnomalyModule

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    785d64f View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. Remove exportable transform from anomaly module and move to pre-proce…

    …ssor
    
    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    b798243 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'feature/design-simplifications' of github.com:openvinot…

    …oolkit/anomalib into add-pre-processor
    samet-akcay committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    4bf6187 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

  1. Merge main

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    c942604 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. Add pre-processor to the model graph

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    ea28833 View commit details
    Browse the repository at this point in the history
  2. Add docstring to pre-processor class

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    78cf516 View commit details
    Browse the repository at this point in the history
  3. Fix win-clip tests

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    46fe7e5 View commit details
    Browse the repository at this point in the history
  4. Update notebooks

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    f058fbb View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. Split the forward logic and move the training to model hooks

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    84c39cd View commit details
    Browse the repository at this point in the history
  2. Set data transforms from preprocessor

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    6ebbb23 View commit details
    Browse the repository at this point in the history
  3. Update the docstrings

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    1b0483a View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2024

  1. Get stage transforms in setup of pre-processor

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    a503be1 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

  1. Revert data config yaml files

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    427f680 View commit details
    Browse the repository at this point in the history
  2. Revert datamodules

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    2ee60ee View commit details
    Browse the repository at this point in the history
  3. Revert datasets

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    138c7e3 View commit details
    Browse the repository at this point in the history
  4. Revert notebooks

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    2e9a544 View commit details
    Browse the repository at this point in the history
  5. remove padim preprocessor

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    cd524b5 View commit details
    Browse the repository at this point in the history
  6. Update the setup logic in pre-processor

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    8cd8f7f View commit details
    Browse the repository at this point in the history
  7. Update the setup logic in pre-processor

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    f841150 View commit details
    Browse the repository at this point in the history
  8. Revert datamodules

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    d07f0b9 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2024

  1. Set datamodule transforms property from preprocessor

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    760d5e5 View commit details
    Browse the repository at this point in the history
  2. Revert v1 upgrade tool

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    83c2084 View commit details
    Browse the repository at this point in the history
  3. Fix aupimo notebooks

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    e83f9cf View commit details
    Browse the repository at this point in the history
  4. Add pre-processor unit tests

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    721e11f View commit details
    Browse the repository at this point in the history
  5. Increase the test coverage for PreProcessor

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    f937abf View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2024

  1. Add option to disable pre-processor

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    ec3e97c View commit details
    Browse the repository at this point in the history
  2. Split setup_transforms to setup_datamodule_transforms and setup_datal…

    …oader_transforms
    
    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    9b42d5d View commit details
    Browse the repository at this point in the history
  3. Replace batch.update with in-place batch transforms

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    8c379c0 View commit details
    Browse the repository at this point in the history
  4. Remove logger.warning when the default pre-processor is used

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    db1d543 View commit details
    Browse the repository at this point in the history
  5. Use predict-transforms explicitly

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    9ec2547 View commit details
    Browse the repository at this point in the history
  6. remove pre-processor and configure_transforms from export mixin

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    ba240be View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2024

  1. Rename set_datamodule_transform to set_datamodule_stage_transform

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 26, 2024
    Configuration menu
    Copy the full SHA
    6ea5369 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2024

  1. Remove transforms from datamodules

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    c71e41c View commit details
    Browse the repository at this point in the history
  2. Remove transforms from datamodules

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    b9bb700 View commit details
    Browse the repository at this point in the history
  3. Remove transforms from datamodules

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    185fec8 View commit details
    Browse the repository at this point in the history
  4. Remove transforms from datamodules

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    06fd947 View commit details
    Browse the repository at this point in the history
  5. Remove transforms from datamodules

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    079168e View commit details
    Browse the repository at this point in the history
  6. Remove transform related keys from data configs

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    1f6555c View commit details
    Browse the repository at this point in the history
  7. update preprocessor tests

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    03196fa View commit details
    Browse the repository at this point in the history
  8. Remove setup method from the model implementations

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    d579312 View commit details
    Browse the repository at this point in the history
  9. Remove image size from datamodules in jupyter notebooks

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    5e82c34 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2024

  1. Modify folder notebook to acccess the batch from dataset not dataloader

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    a1a0548 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2024

  1. Create resolve preprocessor method

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    0ab0a71 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2024

  1. Return if is

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    401fbaa View commit details
    Browse the repository at this point in the history
  2. Rename self.exportable_transform to self.export_transform

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    9b45def View commit details
    Browse the repository at this point in the history
  3. Remove set_datamodule_transforms

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    f5fbb7c View commit details
    Browse the repository at this point in the history
  4. remove hooks as they are not needed anymore

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    9cc11d0 View commit details
    Browse the repository at this point in the history
  5. Fix pre-processor tests

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    05c86da View commit details
    Browse the repository at this point in the history
  6. remove transform getter util function

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    3eecd89 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2024

  1. Fix transform dict to setup datamodule transforms

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    ad43f40 View commit details
    Browse the repository at this point in the history
  2. Resolve merge conflicts

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    cb7682b View commit details
    Browse the repository at this point in the history
  3. Fix Fastflow notebook

    Signed-off-by: Samet Akcay <samet.akcay@intel.com>
    samet-akcay committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    b99717c View commit details
    Browse the repository at this point in the history