-
Notifications
You must be signed in to change notification settings - Fork 709
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
π Fix Rich Progress with Patchcore Training #2062
π Fix Rich Progress with Patchcore Training #2062
Conversation
Signed-off-by: Ashwin Vaidya <[email protected]>
@@ -406,7 +406,7 @@ def _setup_transform( | |||
|
|||
def _setup_anomalib_callbacks(self) -> None: | |||
"""Set up callbacks for the trainer.""" | |||
_callbacks: list[Callback] = [] | |||
_callbacks: list[Callback] = [RichProgressBar(), RichModelSummary()] |
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.
This change is not directly related to the bug but I am now using RichProgressBar
in the trainer. I don't mind if we drop this as it is not necessary
@blaz-r I can't reproduce the error with Padim but maybe the fix in this PR might work for you. |
I'll check it out now. |
I tried to run it on ubuntu through wsl and on windows directly. While I didn't manage to get it working on ubuntu, It work on windows now. The only problem is with filename, that is not valid on windows. I left a comment with a suggestion on how it can be addressed on #2060 . |
What's the error on ubuntu? |
Same as before, I think it's a wsl, not an ubuntu problem but I'm not sure. |
Alright in that case I'll merge it as is as I am using Ubuntu and I can't reproduce it. We can always revisit this in-case more people face this issue. |
Okay |
849de79
into
openvinotoolkit:feature/pipelines
* π Anomalib Pipelines (#2005) * Add initial design Signed-off-by: Ashwin Vaidya <[email protected]> * Refactor + add to CLI Signed-off-by: Ashwin Vaidya <[email protected]> * Support grid search on class path Signed-off-by: Ashwin Vaidya <[email protected]> * redirect outputs Signed-off-by: Ashwin Vaidya <[email protected]> * design v2 Signed-off-by: Ashwin Vaidya <[email protected]> * remove commented code Signed-off-by: Ashwin Vaidya <[email protected]> * add dummy experiment Signed-off-by: Ashwin Vaidya <[email protected]> * add config Signed-off-by: Ashwin Vaidya <[email protected]> * Refactor Signed-off-by: Ashwin Vaidya <[email protected]> * Add tests Signed-off-by: Ashwin Vaidya <[email protected]> * Apply suggestions from code review Co-authored-by: Samet Akcay <[email protected]> * address pr comments Signed-off-by: Ashwin Vaidya <[email protected]> * Apply suggestions from code review Co-authored-by: Samet Akcay <[email protected]> * refactor Signed-off-by: Ashwin Vaidya <[email protected]> * Simplify argparse Signed-off-by: Ashwin Vaidya <[email protected]> * modify logger redirect Signed-off-by: Ashwin Vaidya <[email protected]> * update docstrings Signed-off-by: Ashwin Vaidya <[email protected]> --------- Signed-off-by: Ashwin Vaidya <[email protected]> Co-authored-by: Samet Akcay <[email protected]> * π Fix Rich Progress with Patchcore Training (#2062) Add safe track Signed-off-by: Ashwin Vaidya <[email protected]> * [Pipelines] π¨ Intra-stage result passing (#2061) * Add initial design Signed-off-by: Ashwin Vaidya <[email protected]> * Refactor + add to CLI Signed-off-by: Ashwin Vaidya <[email protected]> * Support grid search on class path Signed-off-by: Ashwin Vaidya <[email protected]> * redirect outputs Signed-off-by: Ashwin Vaidya <[email protected]> * design v2 Signed-off-by: Ashwin Vaidya <[email protected]> * remove commented code Signed-off-by: Ashwin Vaidya <[email protected]> * add dummy experiment Signed-off-by: Ashwin Vaidya <[email protected]> * add config Signed-off-by: Ashwin Vaidya <[email protected]> * Refactor Signed-off-by: Ashwin Vaidya <[email protected]> * Add tests Signed-off-by: Ashwin Vaidya <[email protected]> * Apply suggestions from code review Co-authored-by: Samet Akcay <[email protected]> * address pr comments Signed-off-by: Ashwin Vaidya <[email protected]> * Apply suggestions from code review Co-authored-by: Samet Akcay <[email protected]> * refactor Signed-off-by: Ashwin Vaidya <[email protected]> * Simplify argparse Signed-off-by: Ashwin Vaidya <[email protected]> * modify logger redirect Signed-off-by: Ashwin Vaidya <[email protected]> * update docstrings Signed-off-by: Ashwin Vaidya <[email protected]> * Add proposal Signed-off-by: Ashwin Vaidya <[email protected]> --------- Signed-off-by: Ashwin Vaidya <[email protected]> Co-authored-by: Samet Akcay <[email protected]> * Update src/anomalib/pipelines/benchmark/job.py --------- Signed-off-by: Ashwin Vaidya <[email protected]> Co-authored-by: Samet Akcay <[email protected]>
π Description
track
fromrich
, it breaks when we use any other progress bar. This caches theLiveDisplay
before usingtrack
in subsampling.β¨ 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.