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

registries update #936

Merged
merged 11 commits into from Sep 11, 2020
Merged

registries update #936

merged 11 commits into from Sep 11, 2020

Conversation

Scitator
Copy link
Member

Before submitting

  • Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
  • Did you read the contribution guide?
  • Did you check the code style? catalyst-make-codestyle && catalyst-check-codestyle (pip install -U catalyst-codestyle).
  • Did you make sure to update the docs? We use Google format for all the methods and classes.
  • Did you check the docs with make check-docs?
  • Did you write any new necessary tests?
  • Did you add your new functionality to the docs?
  • Did you update the CHANGELOG?
  • You can use 'Login as guest' to see Teamcity build logs.

Description

Related Issue

Type of Change

  • Examples / docs / tutorials / contributors update
  • Bug fix (non-breaking change which fixes an issue)
  • Improvement (non-breaking change which improves an existing feature)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to 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.

bagxi
bagxi previously approved these changes Sep 10, 2020
Copy link
Member

@bagxi bagxi left a 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.

@mergify mergify bot dismissed bagxi’s stale review September 10, 2020 07:20

Pull request has been modified.

bagxi
bagxi previously requested changes Sep 10, 2020

logger = logging.getLogger(__name__)

from catalyst.tools import settings
Copy link
Member

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

def _get_logger(logdir):
logger = logging.getLogger("metrics_logger")
def _get_logger():
logger = logging.getLogger(f"metrics_logger")
Copy link
Member

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

@mergify mergify bot dismissed bagxi’s stale review September 10, 2020 17:35

Pull request has been modified.


experiment_params = config.get("experiment_params", {})
experiment_from_config = experiment_params.get("experiment", None)
assert any(

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.


runner_params = config.get("runner_params", {})
runner_from_config = runner_params.get("runner", None)
assert any(

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.

bagxi
bagxi previously requested changes Sep 10, 2020
catalyst/dl/scripts/run.py Outdated Show resolved Hide resolved
catalyst/dl/scripts/run.py Outdated Show resolved Hide resolved
@mergify mergify bot dismissed bagxi’s stale review September 10, 2020 19:15

Pull request has been modified.

@Scitator Scitator merged commit bb34bdd into master Sep 11, 2020
@mergify mergify bot deleted the update/experiment-runners-registries branch September 11, 2020 16:21
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.

None yet

2 participants