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

Fix #699 #700

Conversation

jpcbertoldo
Copy link
Contributor

Changes

  • Bug fix (non-breaking change which fixes an issue)
  • Refactor (non-breaking change which refactors the code base)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist

  • [] My code follows the pre-commit style and check guidelines of this project.
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing tests pass locally with my changes

@jpcbertoldo jpcbertoldo changed the title Update lightning_model.py Fix #699 Nov 8, 2022
@jpcbertoldo jpcbertoldo marked this pull request as ready for review November 8, 2022 14:45
Copy link
Collaborator

@ashwinvaidya17 ashwinvaidya17 left a comment

Choose a reason for hiding this comment

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

I think the updated config is not synced with github.

anomalib/models/cflow/config.yaml Outdated Show resolved Hide resolved
anomalib/models/cflow/config.yaml Show resolved Hide resolved
@samet-akcay
Copy link
Contributor

I have the same comments

@jpcbertoldo
Copy link
Contributor Author

I think the updated config is not synced with github.

I'm not sure what you mean but i changed what you said in the line comments.

Copy link
Collaborator

@ashwinvaidya17 ashwinvaidya17 left a comment

Choose a reason for hiding this comment

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

Thanks

@ashwinvaidya17
Copy link
Collaborator

I think the updated config is not synced with github.

I'm not sure what you mean but i changed what you said in the line comments.

I meant maybe you made the changes locally but forgot to push them.

Copy link
Contributor

@samet-akcay samet-akcay left a comment

Choose a reason for hiding this comment

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

Thanks

@jpcbertoldo
Copy link
Contributor Author

The error is not the usual coverage upload but I'm not sure it is related to the PR.

image

@samet-akcay
Copy link
Contributor

The error is not the usual coverage upload but I'm not sure it is related to the PR.

image

Based on the logs, looks like there is something wrong with this tests.
tests/pre_merge/utils/callbacks/normalization_callback/test_normalization_callback.py F [ 95%]

@jpcbertoldo
Copy link
Contributor Author

The error is not the usual coverage upload but I'm not sure it is related to the PR.
image

Based on the logs, looks like there is something wrong with this tests. tests/pre_merge/utils/callbacks/normalization_callback/test_normalization_callback.py F [ 95%]

Thanks!
Will check it locally.

@jpcbertoldo
Copy link
Contributor Author

pre_merge_pytest run-test: commands[0] | python -m pytest /cluster/CMM/home/jcasagrandebertoldo/repos/anomalib/tests/pre_merge/utils/callbacks/normalization_callback/test_normalization_callback.py --showlocals
==================================================================================== test session starts ====================================================================================
platform linux -- Python 3.8.13, pytest-7.2.0, pluggy-1.0.0
cachedir: .tox/pre_merge_pytest/.pytest_cache
rootdir: /cluster/CMM/home/jcasagrandebertoldo/repos/anomalib
plugins: flaky-3.7.0, anyio-3.6.2
collected 1 item                                                                                                                                                                            

tests/pre_merge/utils/callbacks/normalization_callback/test_normalization_callback.py .                                                                                               [100%]

======================================================================== 1 passed, 33 warnings in 123.98s (0:02:03) =========================================================================
__________________________________________________________________________________________ summary __________________________________________________________________________________________
  pre_merge_pytest: commands succeeded
  congratulations :)
 *  Terminal will be reused by tasks, press any key to close it. 

No problems in my local tox 🤔

@jpcbertoldo
Copy link
Contributor Author

Maybe some flaky effect? Is there a way to relaunch it @samet-akcay ?

@samet-akcay
Copy link
Contributor

Maybe some flaky effect? Is there a way to relaunch it @samet-akcay ?

Re-running the tests now...

@jpcbertoldo
Copy link
Contributor Author

jpcbertoldo commented Nov 9, 2022

test_normalization_callback

Maybe some flaky effect? Is there a way to relaunch it @samet-akcay ?

Re-running the tests now...

Yeah, still.

I'm clueless here atm. I tried to search for "cflow" in the logs and there is nothing 🤔

Rebasing to see what happens.

@jpcbertoldo jpcbertoldo force-pushed the jpcbertoldo/correct-cflow-parametrization branch from c45085d to 5bae657 Compare November 9, 2022 18:26
@samet-akcay
Copy link
Contributor

test_normalization_callback

Maybe some flaky effect? Is there a way to relaunch it @samet-akcay ?

Re-running the tests now...

Yeah, still.

I'm clueless here atm. I tried to search for "cflow" in the logs and there is nothing 🤔

Rebasing to see what happens.

Looks like there is something wrong with the tests. I'm observing a similar behaviour on another PR as well. Something seems to be broken.

@jpcbertoldo
Copy link
Contributor Author

test_normalization_callback

Maybe some flaky effect? Is there a way to relaunch it @samet-akcay ?

Re-running the tests now...

Yeah, still.
I'm clueless here atm. I tried to search for "cflow" in the logs and there is nothing thinking
Rebasing to see what happens.

Looks like there is something wrong with the tests. I'm observing a similar behaviour on another PR as well. Something seems to be broken.

There are also some badly configured tests I could not pass locally but they pass in the CI apparently.
See #704.
But it's another test: tests/pre_merge/utils/callbacks/visualizer_callback/test_visualizer.py

@jpcbertoldo
Copy link
Contributor Author

I think it's mergeable now?
The error now is the usual coverage report.

@samet-akcay
Copy link
Contributor

I think it's mergeable now? The error now is the usual coverage report.

Yes, let's merge it! Thanks for the effort!

@samet-akcay samet-akcay merged commit e66a17c into openvinotoolkit:main Nov 21, 2022
NagatoYuki0943 added a commit to NagatoYuki0943/anomalib that referenced this pull request Nov 22, 2022
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.

Wrong config reading in cflow?
3 participants