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

[enhance]: Update tutorials for changing training settings #3778

Merged
merged 12 commits into from
Sep 24, 2020

Conversation

ZwwWayne
Copy link
Collaborator

This PR adds tutorials for changing training settings, including optimization, learning rate scheduler.

@hellock
Copy link
Member

hellock commented Sep 16, 2020

Task linked: CU-49ta06 Creating hooks

@codecov
Copy link

codecov bot commented Sep 16, 2020

Codecov Report

Merging #3778 into master will increase coverage by 0.49%.
The diff coverage is 75.94%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3778      +/-   ##
==========================================
+ Coverage   60.93%   61.42%   +0.49%     
==========================================
  Files         217      216       -1     
  Lines       15374    15514     +140     
  Branches     2628     2634       +6     
==========================================
+ Hits         9368     9530     +162     
+ Misses       5537     5507      -30     
- Partials      469      477       +8     
Flag Coverage Δ
#unittests 61.42% <75.94%> (+0.49%) ⬆️

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

Impacted Files Coverage Δ
mmdet/models/dense_heads/reppoints_head.py 22.34% <0.00%> (ø)
mmdet/models/dense_heads/rpn_test_mixin.py 83.87% <0.00%> (ø)
mmdet/models/detectors/reppoints_detector.py 100.00% <ø> (+75.00%) ⬆️
mmdet/models/detectors/single_stage.py 84.61% <0.00%> (-3.39%) ⬇️
mmdet/models/dense_heads/dense_test_mixins.py 15.00% <15.00%> (ø)
mmdet/models/dense_heads/gfl_head.py 27.39% <20.00%> (+0.08%) ⬆️
mmdet/models/dense_heads/atss_head.py 28.44% <40.00%> (+0.37%) ⬆️
mmdet/core/fp16/deprecated_fp16_utils.py 46.66% <46.66%> (ø)
mmdet/models/dense_heads/anchor_head.py 85.04% <58.33%> (-1.85%) ⬇️
mmdet/utils/collect_env.py 40.00% <66.66%> (+17.08%) ⬆️
... and 32 more

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 11b1ef8...5b4fc23. Read the comment docs.

docs/tutorials/customize_runtime.md Outdated Show resolved Hide resolved
docs/tutorials/customize_runtime.md Outdated Show resolved Hide resolved
docs/tutorials/customize_runtime.md Outdated Show resolved Hide resolved
docs/tutorials/customize_runtime.md Outdated Show resolved Hide resolved
docs/tutorials/customize_runtime.md Outdated Show resolved Hide resolved
docs/tutorials/customize_runtime.md Outdated Show resolved Hide resolved
docs/tutorials/customize_runtime.md Outdated Show resolved Hide resolved
docs/tutorials/customize_runtime.md Outdated Show resolved Hide resolved
docs/tutorials/customize_runtime.md Outdated Show resolved Hide resolved
@hellock hellock merged commit 8e29b95 into open-mmlab:master Sep 24, 2020

### Modify default runtime hooks

There are some common hooks that are not registerd through `custom_hooks`, they are
Copy link
Contributor

Choose a reason for hiding this comment

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

typo here registered


## Customize optimization settings

### Customize optimizer supported by Pytorch
Copy link
Contributor

Choose a reason for hiding this comment

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

PyTorch

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.

5 participants