This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
remove redundant variables and lines, fix typos #904
Open
Johnqczhang
wants to merge
9
commits into
facebookresearch:main
Choose a base branch
from
Johnqczhang:roi_heads
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi @fmassa, can you give a code review for my PR? Thanks! |
fmassa
suggested changes
Jul 1, 2019
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.
Sorry for the delay in reviewing.
It generally looks good, but there are a few things that should be reverted as they deserve more discussion
fmassa
suggested changes
Jul 1, 2019
Closed
Johnqczhang
commented
Jul 1, 2019
Hi @fmassa, the review changes have been done as you requested before, can we merge this PR now? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Remove unused variables and unused (or repeatedly imported) modules
Fix typos:
mask
->keypoint
inkeypoint_head.py
: Line30 and inroi_heads.py
: Line45gor
->for
inmask_head/inference.py
: Line90classification
->segmentation
inroi_mask_feature_extractors.py
: Line19Add missing comment for argument
discretization_size
inmask_head/loss.py
: Line22maskrcnn-benchmark/maskrcnn_benchmark/modeling/roi_heads/mask_head/loss.py
Lines 11 to 23 in 19f6bb2
Remove incorrect comments in
roi_mask_feature_extractors.py
: Line23-28maskrcnn-benchmark/maskrcnn_benchmark/modeling/roi_heads/mask_head/roi_mask_feature_extractors.py
Lines 22 to 28 in 6dfb4db
Add two assertions when enabling sharing features from box_head for mask/keypoint head in
roi_heads.py
: Line19 and Line22maskrcnn-benchmark/maskrcnn_benchmark/modeling/roi_heads/roi_heads.py
Lines 18 to 23 in 19f6bb2