Skip to content

Conversation

@StarPlatinum7
Copy link

πŸ“ Description

✨ Changes

Select what type of change your PR is:

  • πŸš€ New feature (non-breaking change which adds functionality)
  • 🐞 Bug fix (non-breaking change which fixes an issue)
  • πŸ”„ Refactor (non-breaking change which refactors the code base)
  • ⚑ Performance improvements
  • 🎨 Style changes (code style/formatting)
  • πŸ§ͺ Tests (adding/modifying tests)
  • πŸ“š Documentation update
  • πŸ“¦ Build system changes
  • 🚧 CI/CD configuration
  • πŸ”§ Chore (general maintenance)
  • πŸ”’ Security update
  • πŸ’₯ Breaking change (fix or feature that would cause existing functionality to not work as expected)

βœ… Checklist

Before you submit your pull request, please make sure you have completed the following steps:

  • πŸ“š I have made the necessary updates to the documentation (if applicable).
  • πŸ§ͺ I have written tests that support my changes and prove that my fix is effective or my feature works (if applicable).
  • 🏷️ My PR title follows conventional commit format.

For more information about code review checklists, see the Code Review Checklist.

alfieroddan and others added 30 commits November 6, 2025 19:32
…chCore, Padim, Dfkde (open-edge-platform#2913)

* refactor patchcore, use list instead of cat

* typo in patchcore

Signed-off-by: Alfie Roddan <51797647+alfieroddan@users.noreply.github.com>

* padim model to now use cat instead of list

Signed-off-by: Alfie Roddan <51797647+alfieroddan@users.noreply.github.com>

* dfm and padim update cat to list

Signed-off-by: Alfie Roddan <51797647+alfieroddan@users.noreply.github.com>

* add dfkde cat to list changes

Signed-off-by: Alfie Roddan <51797647+alfieroddan@users.noreply.github.com>

* change assert from memory bank to list size, fix pre-commit issues

Signed-off-by: Alfie Roddan <51797647+alfieroddan@users.noreply.github.com>

---------

Signed-off-by: Alfie Roddan <51797647+alfieroddan@users.noreply.github.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
…#2920)

* added histogram of anomaly scores

* Update src/anomalib/metrics/anomaly_score_distribution.py

Co-authored-by: Samet Akcay <samet.akcay@intel.com>
Signed-off-by: Aimira Baitieva <63813435+abc-125@users.noreply.github.com>

* Update anomaly_score_distribution.py

* Update anomaly_score_distribution.py

* Fixed pre-commit checks

---------

Signed-off-by: Aimira Baitieva <63813435+abc-125@users.noreply.github.com>
Co-authored-by: Samet Akcay <samet.akcay@intel.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
* added pg and pb metrics

* fixed typos

* Update __init__.py

* Update __init__.py - removed duplicate

* Update pg_pb.py

* Fixed pre-commit checks

---------

Co-authored-by: Samet Akcay <samet.akcay@intel.com>
Co-authored-by: Rajesh Gangireddy <rajesh.gangireddy@intel.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
…edge-platform#2937)

* πŸ› fix(huggingface): specify 'main' revision for model and processor loading.
Fixes Bandit security issue B615 (unsafe download without revision pinning)

* πŸ› fix(huggingface): add model_revision parameter for reproducible model loading

* πŸ› fix(model): add hf_model_revision parameter for specifying HuggingFace model revisions

* πŸ› fix(vlm_ad): set default values for api_key and hf_model_revision in _setup_vlm_backend method

* πŸ› fix(vlm_ad): rename huggingface_model_revision parameter to hf_model_revision for consistency

* πŸ› fix(vlm_ad): update model initialization parameters for consistency

* Update src/anomalib/models/image/vlm_ad/lightning_model.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Rajesh Gangireddy <rajesh.gangireddy@intel.com>

* πŸ› fix(vlm_ad): change ALLOWED_HF_MODELS to frozenset for immutability

* πŸ› fix(vlm_ad): use ALLOWED_HF_MODELS for model validation in hf_model_revision

Signed-off-by: rajeshgangireddy <rajesh.gangireddy@intel.com>

---------

Signed-off-by: Rajesh Gangireddy <rajesh.gangireddy@intel.com>
Signed-off-by: rajeshgangireddy <rajesh.gangireddy@intel.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
Signed-off-by: oep-renovate[bot] <212772560+oep-renovate[bot]@users.noreply.github.com>
Co-authored-by: oep-renovate[bot] <212772560+oep-renovate[bot]@users.noreply.github.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
…form#2940)

added ground truth masks to VAD dataset

Signed-off-by: StarPlatinum7 <2732981250@qq.com>
… model loading (open-edge-platform#2947)

Signed-off-by: Rajesh Gangireddy <rajesh.gangireddy@intel.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
…changes (open-edge-platform#2931)

πŸ› fix(docs): Update installation messages for missing dependencies in various modules

Signed-off-by: StarPlatinum7 <2732981250@qq.com>
…pen-edge-platform#2951)

* πŸš€ feat(workflow): add CodeQL analysis workflow for security scanning

Signed-off-by: Lipka, Kamil <kamil.lipka@intel.com>

* fix(workflow): remove whitespaces

Signed-off-by: Lipka, Kamil <kamil.lipka@intel.com>

* format codeql.yml with prettier

Signed-off-by: Lipka, Kamil <kamil.lipka@intel.com>

* refactor(workflow): update CodeQL workflow for clarity and efficiency

Signed-off-by: Lipka, Kamil <kamil.lipka@intel.com>

* fix(workflow): correct action name for CodeQL analysis step

Signed-off-by: Lipka, Kamil <kamil.lipka@intel.com>

* fix(workflow): remove unnecessary whitespace in CodeQL job permissions

Signed-off-by: Lipka, Kamil <kamil.lipka@intel.com>

---------

Signed-off-by: Lipka, Kamil <kamil.lipka@intel.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
… examples (open-edge-platform#2950)

* fix(data): enable pin_memory for DataLoader instances across the codebase

This commit updates various DataLoader instances in the project to enable the  option, enhancing performance for data loading on GPU. Changes were made in the following files:

- : Updated train and test DataLoader configurations.
- : Modified datamodule DataLoader to include .
- : Added  to evaluation DataLoader.
- : Updated DataLoader for datasets to utilize .
- : Enabled  for reference dataset DataLoader.
- : Adjusted inference DataLoader to include .

These changes aim to optimize memory usage and improve data transfer speeds during model training and inference.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* refactor(models): streamline decoder retrieval in  function

This commit refactors the  function in  to utilize a dictionary mapping for decoder architectures, improving readability and maintainability. The previous conditional checks have been replaced with a more efficient approach, enhancing the overall structure of the code.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* fix(model): update logit_scale initialization to use torch.log for consistency

This commit modifies the initialization of the logit_scale parameter in the CLIP model to utilize torch.log instead of np.log. This change ensures consistency in tensor operations and improves compatibility with PyTorch's computation graph.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* fix(model): update anomaly map generation to use torch tensors for calculations

This commit modifies the anomaly map generation logic to utilize PyTorch tensors instead of NumPy arrays for various calculations. This change enhances compatibility with the PyTorch computation graph and improves performance by leveraging GPU acceleration. Key updates include the conversion of statistical calculations and tensor operations to use PyTorch functions, ensuring consistency in tensor handling throughout the code.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* refactor(model): enhance anomaly map generation with PyTorch for statistical calculations

This commit refactors the anomaly map generation logic to replace NumPy-based statistical calculations with PyTorch equivalents, specifically using the  distribution for computing tau. Additionally, it improves precision handling by allowing the use of float64 in high precision mode. The changes streamline the computation process and maintain compatibility with the PyTorch computation graph.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* chore(license): update license year

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* fix(download): enhance URL validation and update download logic

This commit improves the URL validation in the download function to ensure only http and https schemes are allowed. Additionally, it adds comments to clarify the safety of using  under these conditions, enhancing code readability and security awareness.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* πŸ”§ chore: update copyright year and add keys method to NumpyBatch and Batch classes

This commit updates the copyright year in the Numpy and Torch base files to reflect 2024-2025. Additionally, it introduces a new `keys` method in both the `NumpyBatch` and `Batch` classes, allowing users to retrieve field names with an option to include or exclude fields with None values. The `__getitem__` method is also added to enable dictionary-like access to field values.

Signed-off-by: [Your Name] <[Your Email]>

* fix mypy

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* refactor: improve dataset name and category handling in ImageVisualizer

This commit updates the ImageVisualizer class to handle dataset name and category attributes more robustly by using None as the default value instead of empty strings. This change enhances clarity and ensures that the filename generation logic remains consistent when these attributes are not present.

Signed-off-by: Samet Akcay samet.akcay@intel.com

* refactor: unify visualization method naming in ImageVisualizer

This commit refactors the ImageVisualizer class by renaming the `visualize_image` method to `visualize`, streamlining the interface for users. The updated method signature and examples in the docstring reflect this change, ensuring consistency in how predictions are visualized. Additionally, the copyright year has been updated to 2024-2025.

Signed-off-by: Samet Akcay <samet.akcay@intel.com>

---------

Signed-off-by: samet-akcay <samet.akcay@intel.com>
Signed-off-by: [Your Name] <[Your Email]>
Signed-off-by: Samet Akcay samet.akcay@intel.com
Signed-off-by: Samet Akcay <samet.akcay@intel.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
…d model backends (open-edge-platform#2954)

* fix(data): enable pin_memory for DataLoader instances across the codebase

This commit updates various DataLoader instances in the project to enable the  option, enhancing performance for data loading on GPU. Changes were made in the following files:

- : Updated train and test DataLoader configurations.
- : Modified datamodule DataLoader to include .
- : Added  to evaluation DataLoader.
- : Updated DataLoader for datasets to utilize .
- : Enabled  for reference dataset DataLoader.
- : Adjusted inference DataLoader to include .

These changes aim to optimize memory usage and improve data transfer speeds during model training and inference.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* refactor(models): streamline decoder retrieval in  function

This commit refactors the  function in  to utilize a dictionary mapping for decoder architectures, improving readability and maintainability. The previous conditional checks have been replaced with a more efficient approach, enhancing the overall structure of the code.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* fix(model): update logit_scale initialization to use torch.log for consistency

This commit modifies the initialization of the logit_scale parameter in the CLIP model to utilize torch.log instead of np.log. This change ensures consistency in tensor operations and improves compatibility with PyTorch's computation graph.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* fix(model): update anomaly map generation to use torch tensors for calculations

This commit modifies the anomaly map generation logic to utilize PyTorch tensors instead of NumPy arrays for various calculations. This change enhances compatibility with the PyTorch computation graph and improves performance by leveraging GPU acceleration. Key updates include the conversion of statistical calculations and tensor operations to use PyTorch functions, ensuring consistency in tensor handling throughout the code.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* refactor(model): enhance anomaly map generation with PyTorch for statistical calculations

This commit refactors the anomaly map generation logic to replace NumPy-based statistical calculations with PyTorch equivalents, specifically using the  distribution for computing tau. Additionally, it improves precision handling by allowing the use of float64 in high precision mode. The changes streamline the computation process and maintain compatibility with the PyTorch computation graph.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* chore(license): update license year

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* fix(download): enhance URL validation and update download logic

This commit improves the URL validation in the download function to ensure only http and https schemes are allowed. Additionally, it adds comments to clarify the safety of using  under these conditions, enhancing code readability and security awareness.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* πŸ› fix(graph): Corrected isinstance check for logger types in GraphLogger class

* πŸ› fix(comet): Improve CometLogger import handling and provide a dummy class for missing dependency

* πŸ› fix(mlflow): Add dummy MLFlowLogger class for missing MLFlow dependency and improve import handling

* πŸ› fix(tensorboard): Improve TensorBoardLogger import handling and add dummy class for missing dependency

* πŸ› fix(wandb): Enhance WandbLogger import handling and add dummy class for missing dependency

* πŸ› fix(chat_gpt): Enhance dotenv import handling and update API key retrieval logic to account for missing dependency

* πŸ› fix(ollama): Improve import handling for Ollama dependency and add dummy class for missing package

* πŸ› fix(winclip): Improve import handling for open_clip dependency and raise informative error messages for missing package

* πŸ› fix(imports): Introduce OptionalImport class for cleaner handling of optional dependencies and update video and ollama modules to utilize it for improved error messaging.

* πŸ› fix(imports): Update error messaging in OptionalImport class to enhance clarity when dependencies are missing.

---------

Signed-off-by: samet-akcay <samet.akcay@intel.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
…#2955)

πŸ› fix(path): remove filter to remove hidden files and add a warning log for the same

Signed-off-by: StarPlatinum7 <2732981250@qq.com>
…l dependencies (open-edge-platform#2956)

* fix(data): enable pin_memory for DataLoader instances across the codebase

This commit updates various DataLoader instances in the project to enable the  option, enhancing performance for data loading on GPU. Changes were made in the following files:

- : Updated train and test DataLoader configurations.
- : Modified datamodule DataLoader to include .
- : Added  to evaluation DataLoader.
- : Updated DataLoader for datasets to utilize .
- : Enabled  for reference dataset DataLoader.
- : Adjusted inference DataLoader to include .

These changes aim to optimize memory usage and improve data transfer speeds during model training and inference.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* refactor(models): streamline decoder retrieval in  function

This commit refactors the  function in  to utilize a dictionary mapping for decoder architectures, improving readability and maintainability. The previous conditional checks have been replaced with a more efficient approach, enhancing the overall structure of the code.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* fix(model): update logit_scale initialization to use torch.log for consistency

This commit modifies the initialization of the logit_scale parameter in the CLIP model to utilize torch.log instead of np.log. This change ensures consistency in tensor operations and improves compatibility with PyTorch's computation graph.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* fix(model): update anomaly map generation to use torch tensors for calculations

This commit modifies the anomaly map generation logic to utilize PyTorch tensors instead of NumPy arrays for various calculations. This change enhances compatibility with the PyTorch computation graph and improves performance by leveraging GPU acceleration. Key updates include the conversion of statistical calculations and tensor operations to use PyTorch functions, ensuring consistency in tensor handling throughout the code.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* refactor(model): enhance anomaly map generation with PyTorch for statistical calculations

This commit refactors the anomaly map generation logic to replace NumPy-based statistical calculations with PyTorch equivalents, specifically using the  distribution for computing tau. Additionally, it improves precision handling by allowing the use of float64 in high precision mode. The changes streamline the computation process and maintain compatibility with the PyTorch computation graph.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* chore(license): update license year

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* fix(download): enhance URL validation and update download logic

This commit improves the URL validation in the download function to ensure only http and https schemes are allowed. Additionally, it adds comments to clarify the safety of using  under these conditions, enhancing code readability and security awareness.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* πŸ—‘οΈ chore(imports): remove OptionalImport class for optional dependency handling

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* πŸ› fix(imports): Replace OptionalImport with dummy classes for missing dependencies

This commit removes the OptionalImport class and introduces dummy classes for various loggers and video utilities when their respective dependencies are not installed. The changes enhance error messaging by providing clear instructions for installation, improving user experience when encountering missing packages.

Affected files:
- video.py
- comet.py
- mlflow.py
- tensorboard.py
- wandb.py
- ollama.py

Signed-off-by: samet-akcay <samet.akcay@intel.com>

---------

Signed-off-by: samet-akcay <samet.akcay@intel.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
ignore uv.lock in semgrep

Signed-off-by: Ashwin Vaidya <ashwinnitinvaidya@gmail.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
… itself will not be modified (open-edge-platform#2966)

fix in dryrun_find_featuremap_dims: run the model in eval() so the weights of the model itself will not be modified

Signed-off-by: StarPlatinum7 <2732981250@qq.com>
…#2979)

πŸ› fix(ovinferencer): update cache folder name to 'openvino_cache' and ensure string path for set_property

Signed-off-by: StarPlatinum7 <2732981250@qq.com>
…n-edge-platform#2988)

* πŸ› fix(pr.yaml): Increase unit test timeout from 15 to 30 seconds

* πŸ› fix(_reusable-test-suite.yaml): Update example timeout from 15 to 30 minutes

Signed-off-by: StarPlatinum7 <2732981250@qq.com>
* Fix synthetic masks + incorrect F1 score

Signed-off-by: Ashwin Vaidya <ashwinnitinvaidya@gmail.com>

* Renormalize instead of retry

Signed-off-by: Ashwin Vaidya <ashwinnitinvaidya@gmail.com>

* Fix imports

Signed-off-by: Ashwin Vaidya <ashwinnitinvaidya@gmail.com>

* Add rescaling around threshold

Signed-off-by: Ashwin Vaidya <ashwin.vaidya@intel.com>

---------

Signed-off-by: Ashwin Vaidya <ashwinnitinvaidya@gmail.com>
Signed-off-by: Ashwin Vaidya <ashwin.vaidya@intel.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
* Use uv commands

Signed-off-by: Ashwin Vaidya <ashwin.vaidya@intel.com>

* Add source activate step

Signed-off-by: Ashwin Vaidya <ashwin.vaidya@intel.com>

---------

Signed-off-by: Ashwin Vaidya <ashwin.vaidya@intel.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
…-platform#2968)

* πŸš€ feat(model): make improvements for patchcore on xpu

* πŸ”„ refactor(k_center_greedy): remove profiling code.

Signed-off-by: rajeshgangireddy <rajesh.gangireddy@intel.com>

* πŸš€ feat(benchmark): add seed setting for reproducibility in run_benchmark function

* πŸ”„ refactor(k_center_greedy): enhance device handling and remove unused benchmark scripts

* πŸ”„ refactor(k_center_greedy): remove the unused case of multiple centers  to simplify

* 🐞 fix(comments): update variable names

---------

Signed-off-by: rajeshgangireddy <rajesh.gangireddy@intel.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
Signed-off-by: oep-renovate[bot] <212772560+oep-renovate[bot]@users.noreply.github.com>
Co-authored-by: oep-renovate[bot] <212772560+oep-renovate[bot]@users.noreply.github.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
* πŸš€ feat(dataset): add BMAD dataset to Anomalib (open-edge-platform#2900)

* Adding BMAD dataset to Anomalib

Signed-off-by: Devansh Agarwal <devansh.agarwal.official@gmail.com>

* Fixed pre-commit hook errors

Signed-off-by: Devansh Agarwal <devansh.agarwal.official@gmail.com>

---------

Signed-off-by: Devansh Agarwal <devansh.agarwal.official@gmail.com>

* πŸ”§ refactor(data): Polish BMAD dataset (open-edge-platform#2981)

* 🧹 Polish dataset

πŸ§ͺ Add tests
πŸ“‹ Fix documentation
πŸ› οΈ  Minor fixes

Signed-off-by: Ashwin Vaidya <ashwin.vaidya@intel.com>

* Update src/anomalib/data/datamodules/image/bmad.py

Co-authored-by: Rajesh Gangireddy <rajesh.gangireddy@intel.com>
Signed-off-by: Ashwin Vaidya <ashwinnitinvaidya@gmail.com>

---------

Signed-off-by: Ashwin Vaidya <ashwin.vaidya@intel.com>
Signed-off-by: Ashwin Vaidya <ashwinnitinvaidya@gmail.com>
Co-authored-by: Rajesh Gangireddy <rajesh.gangireddy@intel.com>

* Fix mask_samples

Signed-off-by: Ashwin Vaidya <ashwin.vaidya@intel.com>

---------

Signed-off-by: Devansh Agarwal <devansh.agarwal.official@gmail.com>
Signed-off-by: Ashwin Vaidya <ashwin.vaidya@intel.com>
Signed-off-by: Ashwin Vaidya <ashwinnitinvaidya@gmail.com>
Co-authored-by: Devansh Agarwal <115637336+code-dev05@users.noreply.github.com>
Co-authored-by: Rajesh Gangireddy <rajesh.gangireddy@intel.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
…3003)

* πŸš€ feat(dataset): add 3D-ADAM dataset to Anomalib (open-edge-platform#2986)

* 🐞 fix(utils): revert `OptionalImport` class to handle missing optional dependencies (open-edge-platform#2956)

* fix(data): enable pin_memory for DataLoader instances across the codebase

This commit updates various DataLoader instances in the project to enable the  option, enhancing performance for data loading on GPU. Changes were made in the following files:

- : Updated train and test DataLoader configurations.
- : Modified datamodule DataLoader to include .
- : Added  to evaluation DataLoader.
- : Updated DataLoader for datasets to utilize .
- : Enabled  for reference dataset DataLoader.
- : Adjusted inference DataLoader to include .

These changes aim to optimize memory usage and improve data transfer speeds during model training and inference.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* refactor(models): streamline decoder retrieval in  function

This commit refactors the  function in  to utilize a dictionary mapping for decoder architectures, improving readability and maintainability. The previous conditional checks have been replaced with a more efficient approach, enhancing the overall structure of the code.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* fix(model): update logit_scale initialization to use torch.log for consistency

This commit modifies the initialization of the logit_scale parameter in the CLIP model to utilize torch.log instead of np.log. This change ensures consistency in tensor operations and improves compatibility with PyTorch's computation graph.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* fix(model): update anomaly map generation to use torch tensors for calculations

This commit modifies the anomaly map generation logic to utilize PyTorch tensors instead of NumPy arrays for various calculations. This change enhances compatibility with the PyTorch computation graph and improves performance by leveraging GPU acceleration. Key updates include the conversion of statistical calculations and tensor operations to use PyTorch functions, ensuring consistency in tensor handling throughout the code.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* refactor(model): enhance anomaly map generation with PyTorch for statistical calculations

This commit refactors the anomaly map generation logic to replace NumPy-based statistical calculations with PyTorch equivalents, specifically using the  distribution for computing tau. Additionally, it improves precision handling by allowing the use of float64 in high precision mode. The changes streamline the computation process and maintain compatibility with the PyTorch computation graph.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* chore(license): update license year

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* fix(download): enhance URL validation and update download logic

This commit improves the URL validation in the download function to ensure only http and https schemes are allowed. Additionally, it adds comments to clarify the safety of using  under these conditions, enhancing code readability and security awareness.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* πŸ—‘οΈ chore(imports): remove OptionalImport class for optional dependency handling

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* πŸ› fix(imports): Replace OptionalImport with dummy classes for missing dependencies

This commit removes the OptionalImport class and introduces dummy classes for various loggers and video utilities when their respective dependencies are not installed. The changes enhance error messaging by providing clear instructions for installation, improving user experience when encountering missing packages.

Affected files:
- video.py
- comet.py
- mlflow.py
- tensorboard.py
- wandb.py
- ollama.py

Signed-off-by: samet-akcay <samet.akcay@intel.com>

---------

Signed-off-by: samet-akcay <samet.akcay@intel.com>
Signed-off-by: Paul McHard <paulmchard@gmail.com>

* Added 3D-ADAM Dataset

Signed-off-by: Paul McHard <paulmchard@gmail.com>

* Added tests and example config

Signed-off-by: Paul McHard <paulmchard@gmail.com>

* πŸ”¨ fix(semgrep): ignore uv.lock in semgrep (open-edge-platform#2972)

ignore uv.lock in semgrep

Signed-off-by: Ashwin Vaidya <ashwinnitinvaidya@gmail.com>
Signed-off-by: Paul McHard <paulmchard@gmail.com>

* 🐞 fix(utils): Run CS Flow model in eval() so the weights of the model itself will not be modified (open-edge-platform#2966)

fix in dryrun_find_featuremap_dims: run the model in eval() so the weights of the model itself will not be modified

Signed-off-by: Paul McHard <paulmchard@gmail.com>

* πŸ› fix(ovinferencer): Fix openvino cache directory  (open-edge-platform#2979)

πŸ› fix(ovinferencer): update cache folder name to 'openvino_cache' and ensure string path for set_property

Signed-off-by: Paul McHard <paulmchard@gmail.com>

* changes per PR and pre-commit checks

Signed-off-by: Paul McHard <paulmchard@gmail.com>

* resolve circular import issue

Signed-off-by: Paul McHard <paulmchard@gmail.com>

* Resolve DownloadInfo URL issue.

Signed-off-by: Paul McHard <paulmchard@gmail.com>

* Resolve DownloadInfo URL

Signed-off-by: Paul McHard <paulmchard@gmail.com>

* restore doc images ignored in error

Signed-off-by: Paul McHard <paulmchard@gmail.com>

* Removed prettier cache included in error, re-run pre-commit hooks

Signed-off-by: Paul McHard <paulmchard@gmail.com>

* explictly resolve EOF error on docs/source/examples

Signed-off-by: Paul McHard <paulmchard@gmail.com>

* resolve filename issue in adam3d test.

Signed-off-by: Paul McHard <paulmchard@gmail.com>

* Restore uv.lock

Signed-off-by: Paul McHard <32065439+PaulMcHard@users.noreply.github.com>

---------

Signed-off-by: samet-akcay <samet.akcay@intel.com>
Signed-off-by: Paul McHard <paulmchard@gmail.com>
Signed-off-by: Ashwin Vaidya <ashwinnitinvaidya@gmail.com>
Signed-off-by: Paul McHard <32065439+PaulMcHard@users.noreply.github.com>
Co-authored-by: Samet Akcay <samet.akcay@intel.com>
Co-authored-by: Ashwin Vaidya <ashwin.vaidya@intel.com>
Co-authored-by: Rune <60315601+monzelr@users.noreply.github.com>
Co-authored-by: Rajesh Gangireddy <rajesh.gangireddy@intel.com>

* revert changes to example

Signed-off-by: Ashwin Vaidya <ashwin.vaidya@intel.com>

* revert file permissions

Signed-off-by: Ashwin Vaidya <ashwin.vaidya@intel.com>

* πŸ”§ refactor(data): Polish 3dAdam dataset  (open-edge-platform#3002)

* Add changelog + fix dataset location

Signed-off-by: Ashwin Vaidya <ashwin.vaidya@intel.com>

* revert changes to example

Signed-off-by: Ashwin Vaidya <ashwin.vaidya@intel.com>

* revert file permissions

Signed-off-by: Ashwin Vaidya <ashwin.vaidya@intel.com>

* Fix tests

Signed-off-by: Ashwin Vaidya <ashwin.vaidya@intel.com>

---------

Signed-off-by: Ashwin Vaidya <ashwin.vaidya@intel.com>

* revert examples

Signed-off-by: Ashwin Vaidya <ashwin.vaidya@intel.com>

* revert file permissions

Signed-off-by: Ashwin Vaidya <ashwin.vaidya@intel.com>

* Add imagecodecs dependency

Signed-off-by: Ashwin Vaidya <ashwin.vaidya@intel.com>

* Apply suggestion from @samet-akcay

Co-authored-by: Samet Akcay <samet.akcay@intel.com>
Signed-off-by: Ashwin Vaidya <ashwinnitinvaidya@gmail.com>

---------

Signed-off-by: samet-akcay <samet.akcay@intel.com>
Signed-off-by: Paul McHard <paulmchard@gmail.com>
Signed-off-by: Ashwin Vaidya <ashwinnitinvaidya@gmail.com>
Signed-off-by: Paul McHard <32065439+PaulMcHard@users.noreply.github.com>
Signed-off-by: Ashwin Vaidya <ashwin.vaidya@intel.com>
Co-authored-by: Paul McHard <32065439+PaulMcHard@users.noreply.github.com>
Co-authored-by: Samet Akcay <samet.akcay@intel.com>
Co-authored-by: Rune <60315601+monzelr@users.noreply.github.com>
Co-authored-by: Rajesh Gangireddy <rajesh.gangireddy@intel.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
* fix(data): enable pin_memory for DataLoader instances across the codebase

This commit updates various DataLoader instances in the project to enable the  option, enhancing performance for data loading on GPU. Changes were made in the following files:

- : Updated train and test DataLoader configurations.
- : Modified datamodule DataLoader to include .
- : Added  to evaluation DataLoader.
- : Updated DataLoader for datasets to utilize .
- : Enabled  for reference dataset DataLoader.
- : Adjusted inference DataLoader to include .

These changes aim to optimize memory usage and improve data transfer speeds during model training and inference.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* refactor(models): streamline decoder retrieval in  function

This commit refactors the  function in  to utilize a dictionary mapping for decoder architectures, improving readability and maintainability. The previous conditional checks have been replaced with a more efficient approach, enhancing the overall structure of the code.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* fix(model): update logit_scale initialization to use torch.log for consistency

This commit modifies the initialization of the logit_scale parameter in the CLIP model to utilize torch.log instead of np.log. This change ensures consistency in tensor operations and improves compatibility with PyTorch's computation graph.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* fix(model): update anomaly map generation to use torch tensors for calculations

This commit modifies the anomaly map generation logic to utilize PyTorch tensors instead of NumPy arrays for various calculations. This change enhances compatibility with the PyTorch computation graph and improves performance by leveraging GPU acceleration. Key updates include the conversion of statistical calculations and tensor operations to use PyTorch functions, ensuring consistency in tensor handling throughout the code.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* refactor(model): enhance anomaly map generation with PyTorch for statistical calculations

This commit refactors the anomaly map generation logic to replace NumPy-based statistical calculations with PyTorch equivalents, specifically using the  distribution for computing tau. Additionally, it improves precision handling by allowing the use of float64 in high precision mode. The changes streamline the computation process and maintain compatibility with the PyTorch computation graph.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* chore(license): update license year

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* fix(download): enhance URL validation and update download logic

This commit improves the URL validation in the download function to ensure only http and https schemes are allowed. Additionally, it adds comments to clarify the safety of using  under these conditions, enhancing code readability and security awareness.

Signed-off-by: samet-akcay <samet.akcay@intel.com>

* πŸ“ chore(changelog): update changelog for v2.2.0 release with added features and fixes

* πŸ› fix(version): update version from 2.2.0dev to 2.2.0

* Update CHANGELOG.md

Signed-off-by: Ashwin Vaidya <ashwinnitinvaidya@gmail.com>

* Update changelog

Signed-off-by: Ashwin Vaidya <ashwin.vaidya@intel.com>

* Use full PR links

Signed-off-by: Ashwin Vaidya <ashwin.vaidya@intel.com>

* Add authors in changelog

Signed-off-by: Ashwin Vaidya <ashwin.vaidya@intel.com>

* Update CHANGELOG.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Ashwin Vaidya <ashwinnitinvaidya@gmail.com>

---------

Signed-off-by: samet-akcay <samet.akcay@intel.com>
Signed-off-by: Ashwin Vaidya <ashwinnitinvaidya@gmail.com>
Signed-off-by: Ashwin Vaidya <ashwin.vaidya@intel.com>
Co-authored-by: Ashwin Vaidya <ashwinnitinvaidya@gmail.com>
Co-authored-by: Ashwin Vaidya <ashwin.vaidya@intel.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
* Remove duplicate entry

Signed-off-by: Ashwin Vaidya <ashwin.vaidya@intel.com>

* Add missing entry

Signed-off-by: Ashwin Vaidya <ashwin.vaidya@intel.com>

---------

Signed-off-by: Ashwin Vaidya <ashwin.vaidya@intel.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
Update version

Signed-off-by: Ashwin Vaidya <ashwin.vaidya@intel.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
…3017)

πŸ“¦ update(README): Announce v2.2.0 release with new datasets, metrics, and performance improvements

Signed-off-by: StarPlatinum7 <2732981250@qq.com>
maxxgx and others added 14 commits November 6, 2025 19:32
πŸ› fix(metrics): disable mps for torch metrics (open-edge-platform#3018)


* move to cpu when device is mps



---------

Signed-off-by: Ma, Xiangxiang <xiangxiang.ma@intel.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Rajesh Gangireddy <rajesh.gangireddy@intel.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Rajesh Gangireddy <rajesh.gangireddy@intel.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Rajesh Gangireddy <rajesh.gangireddy@intel.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
… print statement

Signed-off-by: StarPlatinum7 <2732981250@qq.com>
…er clarity

Signed-off-by: StarPlatinum7 <2732981250@qq.com>
…rity

Signed-off-by: StarPlatinum7 <2732981250@qq.com>
…check if implementation matches author's implementation

Signed-off-by: StarPlatinum7 <2732981250@qq.com>
Update CODEOWNERS

Signed-off-by: Ashwin Vaidya <ashwinnitinvaidya@gmail.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
Signed-off-by: StarPlatinum7 <2732981250@qq.com>
--error \
--timeout "$INPUTS_TIMEOUT" \
--metrics=off \
--exclude "uv.lock" \
Copy link
Contributor

Choose a reason for hiding this comment

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

Please rebase you PR as we removed this action (in #3014) and currenly use action from geti-ci.

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.

10 participants