forked from autowarefoundation/autoware.universe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(autoware_tensorrt_yolox): add GPU - CUDA device option (autoware…
…foundation#8245) * init CUDA device option Signed-off-by: ismetatabay <ismet@leodrive.ai> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Signed-off-by: Batuhan Beytekin <batuhanbeytekin@gmail.com>
- Loading branch information
1 parent
43694f0
commit 1a8038c
Showing
11 changed files
with
87 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 0 additions & 24 deletions
24
perception/autoware_tensorrt_yolox/launch/multiple_yolox.launch.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,45 @@ | ||
<launch> | ||
<arg name="image_raw0" default="/image_raw0"/> | ||
<arg name="gpu_id_image_raw0" default="0"/> | ||
|
||
<arg name="image_raw1" default=""/> | ||
<arg name="gpu_id_image_raw1" default="0"/> | ||
|
||
<arg name="image_raw2" default=""/> | ||
<arg name="gpu_id_image_raw2" default="0"/> | ||
|
||
<arg name="image_raw3" default=""/> | ||
<arg name="gpu_id_image_raw3" default="0"/> | ||
|
||
<arg name="image_raw4" default=""/> | ||
<arg name="gpu_id_image_raw4" default="0"/> | ||
|
||
<arg name="image_raw5" default=""/> | ||
<arg name="gpu_id_image_raw5" default="0"/> | ||
|
||
<arg name="image_raw6" default=""/> | ||
<arg name="gpu_id_image_raw6" default="0"/> | ||
|
||
<arg name="image_raw7" default=""/> | ||
<arg name="gpu_id_image_raw7" default="0"/> | ||
|
||
<arg name="image_number" default="1"/> | ||
<arg name="output_topic" default="rois"/> | ||
|
||
<include if="$(eval "'$(var image_number)'>='1'")" file="$(find-pkg-share autoware_tensorrt_yolox)/launch/yolox.launch.xml"> | ||
<arg name="input/image" value="$(var image_raw0)"/> | ||
<arg name="output/objects" value="rois0"/> | ||
<arg name="gpu_id" value="$(var gpu_id_image_raw0)"/> | ||
</include> | ||
<include if="$(eval "'$(var image_number)'>='2'")" file="$(find-pkg-share autoware_tensorrt_yolox)/launch/yolox.launch.xml"> | ||
<arg name="input/image" value="$(var image_raw1)"/> | ||
<arg name="output/objects" value="rois1"/> | ||
<arg name="gpu_id" value="$(var gpu_id_image_raw1)"/> | ||
</include> | ||
<include if="$(eval "'$(var image_number)'>='3'")" file="$(find-pkg-share autoware_tensorrt_yolox)/launch/yolox.launch.xml"> | ||
<arg name="input/image" value="$(var image_raw2)"/> | ||
<arg name="output/objects" value="rois2"/> | ||
<arg name="gpu_id" value="$(var gpu_id_image_raw2)"/> | ||
</include> | ||
<include if="$(eval "'$(var image_number)'>='4'")" file="$(find-pkg-share autoware_tensorrt_yolox)/launch/yolox.launch.xml"> | ||
<arg name="input/image" value="$(var image_raw3)"/> | ||
<arg name="output/objects" value="rois3"/> | ||
<arg name="gpu_id" value="$(var gpu_id_image_raw3)"/> | ||
</include> | ||
<include if="$(eval "'$(var image_number)'>='5'")" file="$(find-pkg-share autoware_tensorrt_yolox)/launch/yolox.launch.xml"> | ||
<arg name="input/image" value="$(var image_raw4)"/> | ||
<arg name="output/objects" value="rois4"/> | ||
<arg name="gpu_id" value="$(var gpu_id_image_raw4)"/> | ||
</include> | ||
<include if="$(eval "'$(var image_number)'>='6'")" file="$(find-pkg-share autoware_tensorrt_yolox)/launch/yolox.launch.xml"> | ||
<arg name="input/image" value="$(var image_raw5)"/> | ||
<arg name="output/objects" value="rois5"/> | ||
<arg name="gpu_id" value="$(var gpu_id_image_raw5)"/> | ||
</include> | ||
<include if="$(eval "'$(var image_number)'>='7'")" file="$(find-pkg-share autoware_tensorrt_yolox)/launch/yolox.launch.xml"> | ||
<arg name="input/image" value="$(var image_raw6)"/> | ||
<arg name="output/objects" value="rois6"/> | ||
<arg name="gpu_id" value="$(var gpu_id_image_raw6)"/> | ||
</include> | ||
<include if="$(eval "'$(var image_number)'>='8'")" file="$(find-pkg-share autoware_tensorrt_yolox)/launch/yolox.launch.xml"> | ||
<arg name="input/image" value="$(var image_raw7)"/> | ||
<arg name="output/objects" value="rois7"/> | ||
<arg name="gpu_id" value="$(var gpu_id_image_raw7)"/> | ||
</include> | ||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ | |
fine_detector_precision: fp16 | ||
fine_detector_score_thresh: 0.3 | ||
fine_detector_nms_thresh: 0.65 | ||
gpu_id: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters