This repository was archived by the owner on Oct 31, 2023. It is now read-only.
remove redundant variables and lines, fix typos#904
Open
Johnqczhang wants to merge 9 commits intofacebookresearch:mainfrom
Open
remove redundant variables and lines, fix typos#904Johnqczhang wants to merge 9 commits intofacebookresearch:mainfrom
Johnqczhang wants to merge 9 commits intofacebookresearch:mainfrom
Conversation
Contributor
Author
|
Hi @fmassa, can you give a code review for my PR? Thanks! |
fmassa
suggested changes
Jul 1, 2019
Contributor
fmassa
left a comment
There was a problem hiding this comment.
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
Contributor
Author
fmassa
suggested changes
Jul 1, 2019
Closed
Johnqczhang
commented
Jul 1, 2019
Contributor
Author
|
Hi @fmassa, the review changes have been done as you requested before, can we merge this PR now? |
This file contains hidden or 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
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->keypointinkeypoint_head.py: Line30 and inroi_heads.py: Line45gor->forinmask_head/inference.py: Line90classification->segmentationinroi_mask_feature_extractors.py: Line19Add missing comment for argument
discretization_sizeinmask_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