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
6d5ba6a9
Commit
6d5ba6a9
authored
Nov 30, 2017
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix a missing tensor for visualization (fix #530)
parent
16f32f40
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
examples/FasterRCNN/model.py
examples/FasterRCNN/model.py
+1
-0
No files found.
examples/FasterRCNN/model.py
View file @
6d5ba6a9
...
@@ -213,6 +213,7 @@ def generate_rpn_proposals(boxes, scores, img_shape):
...
@@ -213,6 +213,7 @@ def generate_rpn_proposals(boxes, scores, img_shape):
topk_valid_boxes
,
topk_valid_boxes
,
nms_indices
,
name
=
'boxes'
)
nms_indices
,
name
=
'boxes'
)
final_scores
=
tf
.
gather
(
topk_valid_scores
,
nms_indices
,
name
=
'scores'
)
final_scores
=
tf
.
gather
(
topk_valid_scores
,
nms_indices
,
name
=
'scores'
)
tf
.
sigmoid
(
final_scores
,
name
=
'probs'
)
# for visualization
return
final_boxes
,
final_scores
return
final_boxes
,
final_scores
...
...
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