Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
deepinfer
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
yangxue
deepinfer
Commits
e19f8c81
Commit
e19f8c81
authored
Oct 13, 2023
by
xin.wang.waytous
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
multi-task-v2(instance+semantic)
parent
3290100a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
76 additions
and
0 deletions
+76
-0
multi_post_v2.cpp
src/libs/postprocessors/multi_post_v2.cpp
+0
-0
multi_post_v2.h
src/libs/postprocessors/multi_post_v2.h
+76
-0
No files found.
src/libs/postprocessors/multi_post_v2.cpp
0 → 100644
View file @
e19f8c81
This diff is collapsed.
Click to expand it.
src/libs/postprocessors/multi_post_v2.h
0 → 100644
View file @
e19f8c81
#ifndef DEEPINFER_POSTPROCESS_MULTI_H_
#define DEEPINFER_POSTPROCESS_MULTI_H_
#include "interfaces/base_unit.h"
#include "base/image.h"
#include "libs/ios/normal_ios.h"
#include "libs/ios/camera_ios.h"
#include "libs/ios/detection.h"
#include "libs/ios/semantic.h"
#include "libs/ios/depth.h"
#include "libs/postprocessors/multi_post_gpu.h"
#include "libs/postprocessors/nms.h"
namespace
waytous
{
namespace
deepinfer
{
namespace
postprocess
{
class
MultiPostProcessV2
:
public
interfaces
::
BaseUnit
{
public
:
bool
Init
(
YAML
::
Node
&
node
,
interfaces
::
BaseIOMapPtr
pmap
)
override
;
bool
Exec
()
override
;
std
::
string
Name
()
override
;
public
:
base
::
BlobPtr
<
int
>
output_length_ptr
;
base
::
BlobPtr
<
float
>
bboxes_ptr
;
int
inputHeight
,
inputWidth
;
int
inferBatchSize
=
1
;
bool
fixAspectRatio
=
true
;
float
nmsThreshold
,
scoreThreshold
,
truncatedThreshold
;
int
rawDetectionLength
;
int
maxOutputNum
=
1000
;
int
keepTopK
=
100
;
int
segProtoDim
=
32
;
int
instanceDownScale
=
4
;
int
instanceClassNumber
;
std
::
vector
<
std
::
string
>
instanceClassNames
;
int
detectionStep
;
int
semanticDownScale
=
4
,
semanticClassNumber
;
std
::
vector
<
std
::
string
>
semanticClassNames
;
// int depthDownScale = 4, depthDistanceScale = 256;
};
DEEPINFER_REGISTER_UNIT
(
MultiPostProcessV2
);
}
// namespace postprocess
}
// namespace deepinfer
}
// namespace waytous
#endif
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