77# distribution of this software and related documentation without an express
88# license agreement from NVIDIA CORPORATION is strictly prohibited.
99
10- # Download and tao-convert ESS models.
10+ # Download and TRT-compile PeopleSemSeg-ShuffleSeg models.
1111# * Models will be stored in the isaac_ros_assets dir
1212# * The script must be called with the --eula argument prior to downloading.
1313
1414set -e
1515
16- ASSET_NAME=" deployable_shuffleseg_unet_amr_v1 .0"
17- EULA_URL=" https://catalog.ngc.nvidia.com/orgs/nvidia/teams/tao /models/peoplesemsegnet_amr "
16+ ASSET_NAME=" optimized_deployable_shuffleseg_unet_amr_v1 .0"
17+ EULA_URL=" https://catalog.ngc.nvidia.com/orgs/nvidia/teams/isaac /models/optimized-peoplesemseg-amr "
1818ASSET_DIR=" ${ISAAC_ROS_WS} /isaac_ros_assets/models/peoplesemsegnet/${ASSET_NAME} "
1919ASSET_INSTALL_PATHS=" ${ASSET_DIR} /1/model.plan"
20- MODEL_URL=" https://api.ngc.nvidia.com/v2/models/org/nvidia/team/tao/peoplesemsegnet_amr/deployable_v1.1 /files?redirect=true&path=peoplesemsegnet_amr_rel .onnx"
20+ MODEL_URL=" https://api.ngc.nvidia.com/v2/models/org/nvidia/team/isaac/optimized-peoplesemseg-amr/v1.0 /files?redirect=true&path=model .onnx"
2121
2222source " isaac_ros_asset_eula.sh"
2323
@@ -27,9 +27,9 @@ wget "${MODEL_URL}" -O "${ASSET_DIR}/model.onnx"
2727
2828echo " Converting PeopleSemSegnet shuffleseg amr onnx file to plan file."
2929/usr/src/tensorrt/bin/trtexec \
30- --maxShapes=" input_2:0 " :1x3x544x960 \
31- --minShapes=" input_2:0 " :1x3x544x960 \
32- --optShapes=" input_2:0 " :1x3x544x960 \
30+ --maxShapes=" input_2" :1x544x960x3 \
31+ --minShapes=" input_2" :1x544x960x3 \
32+ --optShapes=" input_2" :1x544x960x3 \
3333 --fp16 \
3434 --saveEngine=" ${ASSET_INSTALL_PATHS} " \
3535 --onnx=" ${ASSET_DIR} /model.onnx"
@@ -41,9 +41,9 @@ platform: "tensorrt_plan"
4141max_batch_size: 0
4242input [
4343 {
44- name: "input_2:0 "
44+ name: "input_2"
4545 data_type: TYPE_FP32
46- dims: [ 1, 3, 544, 960 ]
46+ dims: [ 1, 544, 960, 3 ]
4747 }
4848]
4949output [
0 commit comments