Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
maskrcnn
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
人工智能
maskrcnn
Commits
e7edc294
Commit
e7edc294
authored
Nov 05, 2018
by
Hadrien Mary
Committed by
Francisco Massa
Nov 05, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Return results and predictions after inference (#105)
parent
0527726b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
inference.py
maskrcnn_benchmark/engine/inference.py
+3
-0
No files found.
maskrcnn_benchmark/engine/inference.py
View file @
e7edc294
...
@@ -426,3 +426,6 @@ def inference(
...
@@ -426,3 +426,6 @@ def inference(
check_expected_results
(
results
,
expected_results
,
expected_results_sigma_tol
)
check_expected_results
(
results
,
expected_results
,
expected_results_sigma_tol
)
if
output_folder
:
if
output_folder
:
torch
.
save
(
results
,
os
.
path
.
join
(
output_folder
,
"coco_results.pth"
))
torch
.
save
(
results
,
os
.
path
.
join
(
output_folder
,
"coco_results.pth"
))
return
results
,
coco_results
,
predictions
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