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
registries update #936
registries update #936
Conversation
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.
I'd appreciate it if you also could add a config API example.
catalyst/contrib/utils/__init__.py
Outdated
|
||
logger = logging.getLogger(__name__) | ||
|
||
from catalyst.tools import settings |
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.
settings
module is needed for "plotly no available" warning
catalyst/core/callbacks/logging.py
Outdated
def _get_logger(logdir): | ||
logger = logging.getLogger("metrics_logger") | ||
def _get_logger(): | ||
logger = logging.getLogger(f"metrics_logger") |
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.
f-string is unnecessary here
catalyst/dl/scripts/run.py
Outdated
|
||
experiment_params = config.get("experiment_params", {}) | ||
experiment_from_config = experiment_params.get("experiment", None) | ||
assert any( |
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.
[pep8] reported by reviewdog 🐶
C407 Unnecessary list comprehension - 'any' can take a generator.
catalyst/dl/scripts/run.py
Outdated
|
||
runner_params = config.get("runner_params", {}) | ||
runner_from_config = runner_params.get("runner", None) | ||
assert any( |
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.
[pep8] reported by reviewdog 🐶
C407 Unnecessary list comprehension - 'any' can take a generator.
Before submitting
catalyst-make-codestyle && catalyst-check-codestyle
(pip install -U catalyst-codestyle
).make check-docs
?Description
Related Issue
Type of Change
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.