-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Feature] Support TAM [WIP] #304
Conversation
Codecov Report
@@ Coverage Diff @@
## master #304 +/- ##
==========================================
+ Coverage 85.05% 85.41% +0.35%
==========================================
Files 88 100 +12
Lines 5994 7019 +1025
Branches 983 1131 +148
==========================================
+ Hits 5098 5995 +897
- Misses 709 807 +98
- Partials 187 217 +30
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
mmaction/models/backbones/tanet.py
Outdated
def __init__(self, block, num_segments, tam_cfg=None): | ||
super().__init__() | ||
if tam_cfg is None: | ||
tam_cfg = dict() |
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.
Actually, the mutable value can be set as default values, as long as you use copy.deepcopy()
to protect it. The method is also approved by @innerlee
No description provided.