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
b8a7f804
Commit
b8a7f804
authored
Mar 11, 2023
by
xin.wang.waytous
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tracker-threshold
parent
17c1c6df
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
7 deletions
+5
-7
c_cpp_properties.json
.vscode/c_cpp_properties.json
+1
-1
CMakeLists.txt
CMakeLists.txt
+2
-5
yolov5.yaml
configs/tasks/thermal/yolov5.yaml
+1
-0
byte_tracker.cpp
src/libs/trackers/byte_tracker.cpp
+1
-1
No files found.
.vscode/c_cpp_properties.json
View file @
b8a7f804
...
...
@@ -8,7 +8,7 @@
"/usr/local/cuda/include"
,
"/usr/local/include"
,
"/usr/include/**"
,
"/home/wangxin/projects/TensorRT-7.0.0/TensorRT/include"
,
"/home/wangxin/projects/TensorRT-7.0.0/TensorRT/include"
],
"defines"
:
[],
"compilerPath"
:
"/usr/bin/gcc"
,
...
...
CMakeLists.txt
View file @
b8a7f804
...
...
@@ -16,8 +16,6 @@ include_directories(${OpenCV_INCLUDE_DIRS})
link_directories
(
/usr/local/cuda/lib64
)
include_directories
(
/usr/local/cuda/include
)
link_directories
(
/usr/lib/x86_64-linux-gnu/
)
include_directories
(
/usr/include/x86_64-linux-gnu/
)
# eigen3
find_package
(
Eigen3 REQUIRED
)
...
...
@@ -37,9 +35,8 @@ link_directories(/root/TensorRT/TensorRT-7.0.0.11-cuda-10.0/lib)
# include_directories(/usr/include/aarch64-linux-gnu)
# yaml
include_directories
(
/usr/local/include/yaml-cpp
)
# aarch64 -- figure out
# include_directories(/usr/include/yaml-cpp)
# include_directories(/usr/local/include/yaml-cpp)
include_directories
(
/usr/include/yaml-cpp
)
# glog gflags
# sudo apt-get install libgoogle-glog*
...
...
configs/tasks/thermal/yolov5.yaml
View file @
b8a7f804
...
...
@@ -77,6 +77,7 @@ units:
match_thresh
:
0.8
# output detection after it was tracked in x frames
init_frames
:
0
out_lost_threshold
:
3
-
name
:
ByteTracker
inputNames
:
[
detections2
]
...
...
src/libs/trackers/byte_tracker.cpp
View file @
b8a7f804
...
...
@@ -19,7 +19,7 @@ bool ByteTracker::Init(YAML::Node& node)
high_thresh
=
node
[
"high_thresh"
].
as
<
float
>
();
match_thresh
=
node
[
"match_thresh"
].
as
<
float
>
();
init_frames
=
node
[
"init_frames"
].
as
<
int
>
();
if
(
!
node
[
"out_lost_threshold"
].
IsNull
()){
if
(
node
[
"out_lost_threshold"
].
IsDefined
()
&&
!
node
[
"out_lost_threshold"
].
IsNull
()){
out_lost_threshold
=
node
[
"out_lost_threshold"
].
as
<
int
>
();
}
...
...
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