-
Notifications
You must be signed in to change notification settings - Fork 836
π feat(post-processing): Add MEBin post processor from AnomalyNCD #3089
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
Closed
StarPlatinum7
wants to merge
44
commits into
open-edge-platform:main
from
StarPlatinum7:mebin_post_processor
Closed
π feat(post-processing): Add MEBin post processor from AnomalyNCD #3089
StarPlatinum7
wants to merge
44
commits into
open-edge-platform:main
from
StarPlatinum7:mebin_post_processor
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
β¦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>
π 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>
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>
| --error \ | ||
| --timeout "$INPUTS_TIMEOUT" \ | ||
| --metrics=off \ | ||
| --exclude "uv.lock" \ |
Contributor
There was a problem hiding this comment.
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
π Description
β¨ Changes
Select what type of change your PR is:
β Checklist
Before you submit your pull request, please make sure you have completed the following steps:
For more information about code review checklists, see the Code Review Checklist.