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

Revise function of is_init flag in BaseModule #898

Merged
merged 1 commit into from
Mar 18, 2021

Conversation

MeowZheng
Copy link
Collaborator

Hi,

In this pr, I change the is_init flag function. When it is True means that init_weight has been called.

Thank you @jshilong for your kind suggestion.

@codecov
Copy link

codecov bot commented Mar 18, 2021

Codecov Report

Merging #898 (292cdc5) into master (73bff4e) will increase coverage by 0.00%.
The diff coverage is 73.33%.

❗ Current head 292cdc5 differs from pull request most recent head ad1b264. Consider uploading reports for the commit ad1b264 to get more accurate results
Impacted file tree graph

@@           Coverage Diff           @@
##           master     #898   +/-   ##
=======================================
  Coverage   66.58%   66.58%           
=======================================
  Files         145      145           
  Lines        8828     8841   +13     
  Branches     1605     1606    +1     
=======================================
+ Hits         5878     5887    +9     
- Misses       2633     2637    +4     
  Partials      317      317           
Flag Coverage Δ
unittests 66.58% <73.33%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
mmcv/runner/base_module.py 79.41% <71.42%> (-6.31%) ⬇️
mmcv/runner/__init__.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 967d9d5...ad1b264. Read the comment docs.

@ZwwWayne ZwwWayne merged commit 00870b9 into open-mmlab:master Mar 18, 2021
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.

2 participants