-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Cgnet #107
Cgnet #107
Conversation
Codecov Report
@@ Coverage Diff @@
## master #107 +/- ##
==========================================
+ Coverage 81.34% 81.65% +0.30%
==========================================
Files 79 83 +4
Lines 3597 3832 +235
Branches 565 611 +46
==========================================
+ Hits 2926 3129 +203
- Misses 560 578 +18
- Partials 111 125 +14
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Hi @KID-7391 |
|
||
# stage 1 | ||
self.level1 = nn.ModuleList() | ||
for i in range(0, num_blocks[0]): |
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.
for i in range(0, num_blocks[0]): | |
for i in range(num_blocks[0]): |
num_channels=[32, 64, 128], | ||
num_blocks=[3, 21], | ||
dilation=[2, 4], | ||
reduction=[8, 16], |
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.
Use tuple instead.
out_channels (int): Number of output feature channels. | ||
dilation (int): Dilation rate for surrounding context extractor. | ||
reduction (int): Reductions for global context extractor. | ||
add (bool): Add input to output or not. |
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.
Use more readable names like skip_connect
or use_residual
.
dilation (int): Dilation rate for surrounding context extractor. | ||
reduction (int): Reductions for global context extractor. | ||
add (bool): Add input to output or not. | ||
down (bool): Downsample the input to 1/2 or not. |
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.
down (bool): Downsample the input to 1/2 or not. | |
downsample (bool): Downsample the input to 1/2 or not. |
norm_cfg=norm_cfg, | ||
act_cfg=act_cfg) | ||
|
||
self.F_loc = build_conv_layer( |
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_loc
rename.
No description provided.