Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
Swin-Transformer-Object-Detection
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wanggh
Swin-Transformer-Object-Detection
Commits
e71e01bb
Commit
e71e01bb
authored
3 years ago
by
wanggh
Browse files
Options
Downloads
Patches
Plain Diff
fix bugs
parent
59d8aef4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
configs/distillers/mimic_backbone/mb_faster_rcnn_r152_fpn_1x_distill_faster_rcnn_r50_fpn_1x_coco.py
+2
-2
2 additions, 2 deletions
...r_rcnn_r152_fpn_1x_distill_faster_rcnn_r50_fpn_1x_coco.py
tools/gen_checkpoint.py
+1
-1
1 addition, 1 deletion
tools/gen_checkpoint.py
with
3 additions
and
3 deletions
configs/distillers/mimic_backbone/mb_faster_rcnn_r152_fpn_1x_distill_faster_rcnn_r50_fpn_1x_coco.py
+
2
−
2
View file @
e71e01bb
...
...
@@ -51,5 +51,5 @@ distiller = dict(
]
)
student_cfg
=
'
configs/faster_rcnn/faster_rcnn_r
152
_fpn_1x_coco.py
'
teacher_cfg
=
'
configs/faster_rcnn/faster_rcnn_r
50
_fpn_1x_coco.py
'
student_cfg
=
'
configs/faster_rcnn/faster_rcnn_r
50
_fpn_1x_coco.py
'
teacher_cfg
=
'
configs/faster_rcnn/faster_rcnn_r
152
_fpn_1x_coco.py
'
This diff is collapsed.
Click to expand it.
tools/gen_checkpoint.py
+
1
−
1
View file @
e71e01bb
...
...
@@ -28,7 +28,7 @@ def merge(backbone, neck, head):
target
[
'
state_dict
'
]
=
dict
()
tsd
=
target
[
'
state_dict
'
]
bsd
=
backbone
[
'
state_dict
'
]
nsd
=
backbo
ne
[
'
state_dict
'
]
nsd
=
ne
ck
[
'
state_dict
'
]
hsd
=
head
[
'
state_dict
'
]
for
key
in
bsd
.
keys
():
if
'
backbone
'
in
key
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment