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

🔀 Merge main to v1 #1652

Merged
merged 30 commits into from
Jan 23, 2024
Merged

Commits on Oct 13, 2023

  1. Address tiler issues (openvinotoolkit#1411)

    * fix tiler
    
    * deprecate random tile locations
    
    * restore random tiling in tile method
    
    * check tiling section in config
    
    * disable tiling for ganomalu
    
    * pad -> padding
    djdameln committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    e9ded36 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2023

  1. Refactor Reverse Distillation to match official code (openvinotoolkit…

    …#1389)
    
    * Non-mandatory early stopping
    
    * Added conv4 and bn4 to OCBE
    
    * Loss as in the official code (flattened arrays)
    
    * Added comment on how to use torchvision model as an encoder to reproduce results in the paper
    
    * Remove early stop from config, change default anomaly_map_mode to add
    
    * pre-commit fix
    
    * Updated results
    
    * Update src/anomalib/models/reverse_distillation/README.md
    
    Co-authored-by: Samet Akcay <samet.akcay@intel.com>
    
    * Update src/anomalib/models/reverse_distillation/README.md
    
    Co-authored-by: Samet Akcay <samet.akcay@intel.com>
    
    * Update src/anomalib/models/reverse_distillation/README.md
    
    Co-authored-by: Samet Akcay <samet.akcay@intel.com>
    
    * Remove early_stopping
    
    * Update src/anomalib/models/reverse_distillation/lightning_model.py
    
    Co-authored-by: Samet Akcay <samet.akcay@intel.com>
    
    * Easier to read code
    
    ---------
    
    Co-authored-by: Samet Akcay <samet.akcay@intel.com>
    abc-125 and samet-akcay committed Oct 14, 2023
    Configuration menu
    Copy the full SHA
    e85de73 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. Patch for the WinError183 on the OpenVino export mode (openvinotoolki…

    …t#1386)
    
    * Fix WinError183 (Windows Error)
    
    * Add commentary of the change
    
    ---------
    
    Co-authored-by: Youho99 <gaylord.giret@viacesi.fr>
    ggiret-thinkdeep and Youho99 committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    af9b0b6 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2023

  1. Add DSR model (openvinotoolkit#1142)

    * added license, init.py and draft readme
    
    * added draft DSR files
    
    * minor comment update
    
    * Implemented dsr model + comments
    
    * added dsr discrete model
    
    * added defect generation in torch model + dsr to list of existing methods in init.py
    
    * fixed torch model, started implementing lightning model, implemented anomaly generator
    
    * added loss file for DSR
    
    * Added loss, improved lightning module
    
    * Finished up global implementation of DSR second phase
    
    * minor fixes
    
    * Bugfixes
    
    * Fixed DSR loss calculation
    
    * on_training_start -> on_train_start
    
    * pre-commit run
    
    * updated DSR documentation
    
    * reset config file
    
    * added automatic pretraining weight download
    
    * testing pretrained weights. fixed embedding size in upsampling module and image recon module, to be fixed in original branch
    
    * successful testing on pretrained dsr weights
    
    * checked test quality with pretrained weights, fixed anomaly score calculation
    
    * training is functional
    
    * Fixed training procedure
    
    * test still working
    
    * working upsampling module training and testing
    
    * fixed minor bugs
    
    * updated documentation
    
    * added tests and doc
    
    * adapted learning schedule to steps
    
    * Update src/anomalib/models/dsr/anomaly_generator.py
    
    Co-authored-by: Ashwin Vaidya <ashwinnitinvaidya@gmail.com>
    
    * Apply suggestions from code review
    
    Co-authored-by: Samet Akcay <samet.akcay@intel.com>
    Co-authored-by: Ashwin Vaidya <ashwinnitinvaidya@gmail.com>
    
    * refactored outputs into dicts
    
    * remove super() args
    
    * changed downloading weights from anomalib releases + minor fixes
    
    * pre commit hooks + minor fixes
    
    * removed configurable ckpt path refs + default iteration nb from paper
    
    * cleaned up dsr.rst and turned exceptions into RuntimeErrors
    
    * Added upsampling ratio parameter to set third training phase epochs
    
    * Added batched evalaution + minor code simplification
    
    * pre commit hooks
    
    * squeeze output image score tensor
    
    * readded new path check in efficient ad
    
    * fixed double step count with manual optimization
    
    * fixed trailing whitespace
    
    * Fix black issues
    
    * Apply suggestions from code review
    
    Co-authored-by: Samet Akcay <samet.akcay@intel.com>
    
    * review suggestions
    
    * updated architecture image links
    
    * Address mypy
    
    * changed output types for dsr model
    
    * readded dict outputs, adapted to TorchInferencer
    
    * fixed error in output dict
    
    * removed default imagenet norm
    
    ---------
    
    Co-authored-by: Samet Akcay <samet.akcay@intel.com>
    Co-authored-by: Ashwin Vaidya <ashwinnitinvaidya@gmail.com>
    3 people committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    8a7f1d6 View commit details
    Browse the repository at this point in the history
  2. Fix unexpected key pixel_metrics.AUPRO.fpr_limit (openvinotoolkit#1055)

    * fix unexpected key pixel_metrics.AUPRO.fpr_limit
    
    Signed-off-by: FanJiangIntel <fan.jiang@intel.com>
    
    * load AUPRO before create_metric_collection
    
    Signed-off-by: FanJiangIntel <fan.jiang@intel.com>
    
    * code refine
    
    Signed-off-by: FanJiangIntel <fan.jiang@intel.com>
    
    * fix comment
    
    Signed-off-by: FanJiangIntel <fan.jiang@intel.com>
    
    * fix
    
    Signed-off-by: FanJiangIntel <fan.jiang@intel.com>
    
    * Support test
    
    Signed-off-by: Kang Wenjing <wenjing.kang@intel.com>
    
    * Update test
    
    Signed-off-by: Kang Wenjing <wenjing.kang@intel.com>
    
    * Update test
    
    Signed-off-by: Kang Wenjing <wenjing.kang@intel.com>
    
    ---------
    
    Signed-off-by: FanJiangIntel <fan.jiang@intel.com>
    Signed-off-by: Kang Wenjing <wenjing.kang@intel.com>
    Co-authored-by: FanJiangIntel <fan.jiang@intel.com>
    Co-authored-by: Samet Akcay <samet.akcay@intel.com>
    3 people committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    66532fc View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2023

  1. Configuration menu
    Copy the full SHA
    6dc28f8 View commit details
    Browse the repository at this point in the history
  2. preexisting OpenCV version check added to setup.py, ran formatting …

    …pre-commit hooks on previous contribution. (openvinotoolkit#1424)
    
    * testing upstream switch
    
    * picked up on stale OpenCV `setup.py` issue openvinotoolkit#1041
    abdullamatar committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    ed5e3d3 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. 🐞 Hotfix: Limit Gradio Version (openvinotoolkit#1458)

    * Fix metadata path
    
    * Ignore hidden directories in folder dataset
    
    * Add check for mask_dir for segmentation tasks in Folder dataset
    
    * Limit the gradio version to <4
    samet-akcay committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    534e853 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2023

  1. Fix/efficient ad normalize before every validation (openvinotoolkit#1441

    )
    
    * Normalize anomaly maps before every validation
    
    * Remove print statement
    
    ---------
    
    Co-authored-by: Samet Akcay <samet.akcay@intel.com>
    abc-125 and samet-akcay committed Nov 5, 2023
    Configuration menu
    Copy the full SHA
    a341161 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2023

  1. Fix DRAEM (openvinotoolkit#1431)

    * Fix beta in augmenter
    
    * Add scheduler
    
    * Change normalization to none
    
    * Replace two lr schedulers with MultiStepLR
    
    * Revert change to beta
    
    * Disable early stopping default
    
    * Format config
    
    * Add opacity parameter beta to config
    blaz-r committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    a94481b View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. Adding U-Flow method (openvinotoolkit#1415)

    * Added uflow model
    
    * Added documentation (README) for uflow model
    
    * Added uflow to the list of available models, and main README updated
    
    * Added missing images for the documentation
    
    * Update src/anomalib/models/uflow/anomaly_map.py
    
    Co-authored-by: Samet Akcay <samet.akcay@intel.com>
    
    * Update src/anomalib/models/uflow/anomaly_map.py
    
    Co-authored-by: Samet Akcay <samet.akcay@intel.com>
    
    * Update src/anomalib/models/uflow/feature_extraction.py
    
    Co-authored-by: Samet Akcay <samet.akcay@intel.com>
    
    * Update src/anomalib/models/uflow/torch_model.py
    
    Co-authored-by: Samet Akcay <samet.akcay@intel.com>
    
    * Added uflow to the reference guide in docs
    
    * Added uflow to the pre-merge tests
    
    * removed the _step function, and merged the code with training_step
    
    * added as a comment the values used in the paper
    
    * re-factorized feature extractors to use the TimmFeatureExtractor class
    
    * added annotations for some functions, where the flow graph is created
    
    * updated readme to fix images loading
    
    * Added link in the README to the original code for reproducing the results
    
    * Removed unused kwargs
    
    * Added docstrigs with args explanations to UFlow classes
    
    * Added models in a github release, and linked here
    
    * Passing all pre-commit checks
    
    * Changed freia's AllInOneBlock by Anomalib's version, and converted the subnet contructor to a Class, in order to be pickable, that is needed to export the model to torch
    
    ---------
    
    Co-authored-by: Samet Akcay <samet.akcay@intel.com>
    mtailanian and samet-akcay committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    d7e7d86 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2023

  1. Update README.md

    samet-akcay committed Nov 18, 2023
    Configuration menu
    Copy the full SHA
    1f50c95 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2023

  1. 📘 Announce anomalib v1 on the main README.md (openvinotoolkit#1542)

    * Fix metadata path
    
    * Ignore hidden directories in folder dataset
    
    * Add check for mask_dir for segmentation tasks in Folder dataset
    
    * Limit the gradio version to <4
    
    * Announce anomalib v1 on readme
    
    * Add the installation instructions and update the documentation link
    samet-akcay committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    5f25510 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2024

  1. Fixed DSR (openvinotoolkit#1486)

    * fixed DSR squeeze bug
    
    * added comment
    phcarval committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    df50c0b View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2024

  1. Refactor/extensions custom dataset (openvinotoolkit#1562)

    * Explanation how to use extension names in the config file
    
    * Added information about extensions to the error message and control of the user input
    
    * Easier to read code
    
    * Replacing assert with raise
    abc-125 committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    470bb86 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. 📚 Modify the PR template (openvinotoolkit#1611)

    Update pull_request_template.md
    samet-akcay committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    f67b01d View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. Configuration menu
    Copy the full SHA
    0709caa View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2024

  1. Merge branch 'main' of github.com:openvinotoolkit/anomalib into ashwi…

    …n/merge_main
    Ashwin Vaidya committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    7c98a89 View commit details
    Browse the repository at this point in the history
  2. Fix tests

    Ashwin Vaidya committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    a5799d9 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2024

  1. refactor path + fix issues + fix linting issues

    Ashwin Vaidya committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    d23ac73 View commit details
    Browse the repository at this point in the history
  2. Migrate docs

    Ashwin Vaidya committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    88aae2e View commit details
    Browse the repository at this point in the history
  3. fix typing

    Ashwin Vaidya committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    f9f66c1 View commit details
    Browse the repository at this point in the history
  4. fix failing model tests

    Ashwin Vaidya committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    41167c4 View commit details
    Browse the repository at this point in the history
  5. Fix tests

    Ashwin Vaidya committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    7f25c05 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. Address PR comments

    Ashwin Vaidya committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    726410b View commit details
    Browse the repository at this point in the history
  2. Fixed shape error, allowing arbitary image sizes for EfficientAD (ope…

    …nvinotoolkit#1537)
    
    * Fixed shape error, allowing arbitrary image sizes. Replaced integer parsing by floor operation
    
    * Replaced calculation by ceil operation. Solution of shape error is to round up and not down for the last upsample layer
    
    * Add comment for ceil oepration
    
    * Formatting with pre-commit hook
    holzweber authored and Ashwin Vaidya committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    7a2dcf2 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'v1' of github.com:openvinotoolkit/anomalib into ashwin/…

    …merge_main
    Ashwin Vaidya committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    0162b72 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    980037c View commit details
    Browse the repository at this point in the history
  5. Clean up badge

    Ashwin Vaidya committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    089fd6d View commit details
    Browse the repository at this point in the history
  6. Merge branch 'ashwin/merge_main' of github.com:ashwinvaidya17/anomali…

    …b into ashwin/merge_main
    Ashwin Vaidya committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    e52aba3 View commit details
    Browse the repository at this point in the history