Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
seminar-breakout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shashank Suhas
seminar-breakout
Commits
12ad257c
Commit
12ad257c
authored
Jan 22, 2020
by
Photon
Committed by
Yuxin Wu
Jan 22, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Faster-RCNN d2_convert error. (#1389)
parent
882f8584
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
examples/FasterRCNN/convert_d2/convert_d2.py
examples/FasterRCNN/convert_d2/convert_d2.py
+5
-4
No files found.
examples/FasterRCNN/convert_d2/convert_d2.py
View file @
12ad257c
...
...
@@ -109,6 +109,7 @@ def convert_weights(d, cfg):
_convert_box_predictor
(
"roi_heads.box_predictor"
,
"fastrcnn/outputs"
if
has_fpn
else
"fastrcnn"
)
# mask head
if
cfg
.
MODEL
.
MASK_ON
:
for
fcn
in
range
(
cfg
.
MODEL
.
ROI_MASK_HEAD
.
NUM_CONV
):
_convert_conv
(
f
"roi_heads.mask_head.mask_fcn{fcn+1}"
,
f
"maskrcnn/fcn{fcn}"
)
_convert_conv
(
"roi_heads.mask_head.deconv"
,
"maskrcnn/deconv"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment