Skip to content

Commit 64983e4

Browse files
committed
Rename links and launch profiles
Signed-off-by: Victor Chang <[email protected]>
1 parent 05c0caf commit 64983e4

File tree

7 files changed

+142
-142
lines changed

7 files changed

+142
-142
lines changed

.vscode/launch.json

Lines changed: 94 additions & 94 deletions
Large diffs are not rendered by default.

.vscode/tasks.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -206,11 +206,11 @@
206206
},
207207
{
208208
"type": "shell",
209-
"label": "Build endoscopy_tool_tracking_distributed",
209+
"label": "Build ucx_endoscopy_tool_tracking",
210210
"command": "./run",
211211
"args": [
212212
"build",
213-
"endoscopy_tool_tracking_distributed",
213+
"ucx_endoscopy_tool_tracking",
214214
"--type",
215215
"debug"
216216
],
@@ -227,17 +227,17 @@
227227
"panel": "dedicated",
228228
"showReuseMessage": false,
229229
"clear": true,
230-
"group": "endoscopy_tool_tracking_distributed"
230+
"group": "ucx_endoscopy_tool_tracking"
231231
}
232232
},
233233
{
234234
"type": "shell",
235-
"label": "Build endoscopy_tool_tracking_distributed (delay 3s)",
235+
"label": "Build ucx_endoscopy_tool_tracking (delay 3s)",
236236
"command": "sleep 3",
237237
"options": {
238238
"cwd": "${env:WORKSPACE_DIR}"
239239
},
240-
"dependsOn": "Build endoscopy_tool_tracking_distributed",
240+
"dependsOn": "Build ucx_endoscopy_tool_tracking",
241241
"group": "build",
242242
"problemMatcher": [],
243243
"detail": "CMake template build task",
@@ -248,17 +248,17 @@
248248
"panel": "dedicated",
249249
"showReuseMessage": false,
250250
"clear": true,
251-
"group": "endoscopy_tool_tracking_distributed"
251+
"group": "ucx_endoscopy_tool_tracking"
252252
}
253253
},
254254
{
255255
"type": "shell",
256-
"label": "Build endoscopy_tool_tracking_distributed (delay 5s)",
256+
"label": "Build ucx_endoscopy_tool_tracking (delay 5s)",
257257
"command": "sleep 5",
258258
"options": {
259259
"cwd": "${env:WORKSPACE_DIR}"
260260
},
261-
"dependsOn": "Build endoscopy_tool_tracking_distributed",
261+
"dependsOn": "Build ucx_endoscopy_tool_tracking",
262262
"group": "build",
263263
"problemMatcher": [],
264264
"detail": "CMake template build task",
@@ -269,7 +269,7 @@
269269
"panel": "dedicated",
270270
"showReuseMessage": false,
271271
"clear": true,
272-
"group": "endoscopy_tool_tracking_distributed"
272+
"group": "ucx_endoscopy_tool_tracking"
273273
}
274274
},
275275
{
@@ -291,11 +291,11 @@
291291
},
292292
{
293293
"type": "shell",
294-
"label": "Build h264_endoscopy_tool_tracking_distributed",
294+
"label": "Build ucx_h264_endoscopy_tool_tracking",
295295
"command": "./run",
296296
"args": [
297297
"build",
298-
"h264_endoscopy_tool_tracking_distributed",
298+
"ucx_h264_endoscopy_tool_tracking",
299299
"--type",
300300
"debug"
301301
],
@@ -312,7 +312,7 @@
312312
"panel": "dedicated",
313313
"showReuseMessage": false,
314314
"clear": true,
315-
"group": "h264_endoscopy_tool_tracking_distributed"
315+
"group": "ucx_h264_endoscopy_tool_tracking"
316316
}
317317
},
318318
{

applications/distributed/grpc/grpc_h264_endoscopy_tool_tracking/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The client application reads a pre-recorded h.264 video file and streams the enc
1111
![Overview](static/overview.png)
1212
*h.264 Endoscopy Tool Tracking Application with gRPC*
1313

14-
From the diagram above, we can see that both the App Cloud (the server) and the App Edge (the client) are very similar to the standalone [Endoscopy Tool Tracking](../../endoscopy_tool_tracking/) application. This section will only describe the differences; for details on inference and post-processing, please refer to the link above.
14+
From the diagram above, we can see that both the App Cloud (the server) and the App Edge (the client) are very similar to the standalone [Endoscopy Tool Tracking](../../../endoscopy_tool_tracking/) application. This section will only describe the differences; for details on inference and post-processing, please refer to the link above.
1515

1616
On the client side, the differences are the queues and the gRPC client. In the *Video Input Fragment*, we added the following:
1717
- **Outgoing Requests** operator (`GrpcClientRequestOp`): It converts the video frames (GXF entities) received from the *Video Read Stream* operator into `EntityRequest` protobuf messages and queues each frame in the *Request Queue*.

applications/distributed/ucx/ucx_endoscopy_tool_tracking/README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Fig. 1 Endoscopy (laparoscopy) image from a cholecystectomy (gallbladder removal
1010

1111
The Distributed Endoscopy Tool Tracking application provides an example of how an endoscopy data stream can be captured and processed using the C++ or Python APIs on multiple hardware platforms.
1212

13-
The Distributed Endoscopy Tool Tracking application is very similar to the [Endoscopy Tool Tracking application](../endoscopy_tool_tracking/) but divides all operators into three fragments as depicted below.
13+
The Distributed Endoscopy Tool Tracking application is very similar to the [Endoscopy Tool Tracking application](../../../endoscopy_tool_tracking/) but divides all operators into three fragments as depicted below.
1414
This allows fragments to run on different systems. For example, one can run the *Video Input Fragment* and the *Visualization Fragment* on a radiology workstation while the *Inference Fragment* runs on a more powerful system with multiple GPUs. Refer to the [Holoscan SDK User Guide](https://docs.nvidia.com/holoscan/sdk-user-guide/holoscan_core.html) for more information on distributed applications.
1515

1616
### Video Stream Replayer Input
@@ -37,24 +37,24 @@ To start the the Dev Container, run the following command from the root director
3737

3838
There are several launch profiles configured for the C++ version of this application:
3939

40-
1. **(gdb) endoscopy_tool_tracking_distributed/cpp (all fragments)**: Launches all fragments in a single process in debug mode.
41-
2. **(gdb) endoscopy_tool_tracking_distributed/cpp - video_in fragment**: Starts the `video_in` fragment in debug mode.
42-
3. **(gdb) endoscopy_tool_tracking_distributed/cpp - inference fragment**: Starts the `inference` fragment in debug mode.
43-
4. **(gdb) endoscopy_tool_tracking_distributed/cpp - viz fragment**: Starts the `viz` fragment in debug mode.
44-
5. **(compound) endoscopy_tool_tracking_distributed/cpp**: Starts #2, #3, #4 in sequence.
40+
1. **(gdb) ucx_endoscopy_tool_tracking/cpp (all fragments)**: Launches all fragments in a single process in debug mode.
41+
2. **(gdb) ucx_endoscopy_tool_tracking/cpp - video_in fragment**: Starts the `video_in` fragment in debug mode.
42+
3. **(gdb) ucx_endoscopy_tool_tracking/cpp - inference fragment**: Starts the `inference` fragment in debug mode.
43+
4. **(gdb) ucx_endoscopy_tool_tracking/cpp - viz fragment**: Starts the `viz` fragment in debug mode.
44+
5. **(compound) ucx_endoscopy_tool_tracking/cpp**: Starts #2, #3, #4 in sequence.
4545

4646

4747
#### Python
4848

4949
There are several launch profiles configured for this application:
5050

51-
1. **(debugpy) endoscopy_tool_tracking_distributed/python (all fragments)**: Launches all fragments in a single process in debug mode.
52-
2. **(debugpy) endoscopy_tool_tracking_distributed/python - video_in fragment)**: Launches all fragments in a single process in debug mode.
53-
3. **(pythoncpp) endoscopy_tool_tracking_distributed/python - video_in fragment**: Starts the `video_in` fragment in debug mode.
54-
4. **(debugpy) endoscopy_tool_tracking_distributed/python - inference fragment**: Starts the `video_in` fragment in debug mode.
55-
5. **(pythoncpp) endoscopy_tool_tracking_distributed/python - inference fragment**: Starts the `inference` fragment in debug mode.
56-
6. **(debugpy) endoscopy_tool_tracking_distributed/python - viz fragment**: Starts the `inference` fragment in debug mode.
57-
4. **(pythoncpp) endoscopy_tool_tracking_distributed/python - viz fragment**: Starts the `viz` fragment in debug mode.
58-
5. **(compound) endoscopy_tool_tracking_distributed/python**: Starts #2, #4, #6 in sequence.
51+
1. **(debugpy) ucx_endoscopy_tool_tracking/python (all fragments)**: Launches all fragments in a single process in debug mode.
52+
2. **(debugpy) ucx_endoscopy_tool_tracking/python - video_in fragment)**: Launches all fragments in a single process in debug mode.
53+
3. **(pythoncpp) ucx_endoscopy_tool_tracking/python - video_in fragment**: Starts the `video_in` fragment in debug mode.
54+
4. **(debugpy) ucx_endoscopy_tool_tracking/python - inference fragment**: Starts the `video_in` fragment in debug mode.
55+
5. **(pythoncpp) ucx_endoscopy_tool_tracking/python - inference fragment**: Starts the `inference` fragment in debug mode.
56+
6. **(debugpy) ucx_endoscopy_tool_tracking/python - viz fragment**: Starts the `inference` fragment in debug mode.
57+
4. **(pythoncpp) ucx_endoscopy_tool_tracking/python - viz fragment**: Starts the `viz` fragment in debug mode.
58+
5. **(compound) ucx_endoscopy_tool_tracking/python**: Starts #2, #4, #6 in sequence.
5959

6060
Note: Launch profiles prefixed with `debugpy` enables debugging of Python code only. Use `pythoncpp` to debug both C++ and Python code.

applications/distributed/ucx/ucx_endoscopy_tool_tracking/cpp/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,27 +24,27 @@ If you want to manually convert the video data, please refer to the instructions
2424

2525
```sh
2626
# Build the Holohub container for the Distributed Endoscopy Tool Tracking application
27-
./dev_container build --docker_file applications/endoscopy_tool_tracking_distributed/Dockerfile --img holohub:endoscopy_tool_tracking_distributed
27+
./dev_container build --docker_file applications/distributed/ucx/ucx_endoscopy_tool_tracking/Dockerfile --img holohub:ucx_endoscopy_tool_tracking
2828

2929
# Launch the container
30-
./dev_container launch --img holohub:endoscopy_tool_tracking_distributed
30+
./dev_container launch --img holohub:ucx_endoscopy_tool_tracking
3131

3232
# Build the Distributed Endoscopy Tool Tracking application
33-
./run build endoscopy_tool_tracking_distributed
33+
./run build ucx_endoscopy_tool_tracking
3434

3535
# Generate the TRT engine file from onnx
3636
python3 utilities/generate_trt_engine.py --input data/endoscopy/tool_loc_convlstm.onnx --output data/endoscopy/engines/ --fp16
3737

3838
# Start the application with all three fragments
39-
./run launch endoscopy_tool_tracking_distributed cpp
39+
./run launch ucx_endoscopy_tool_tracking cpp
4040

4141
# Once you have completed the step to generate the TRT engine file, you may exit the container and
4242
# use the following commands to run the application in distributed mode:
4343

4444
# Start the application with the video_in fragment
45-
./dev_container build_and_run endoscopy_tool_tracking_distributed --language cpp --run_args "--driver --worker --fragments video_in --address :10000"
45+
./dev_container build_and_run ucx_endoscopy_tool_tracking --language cpp --run_args "--driver --worker --fragments video_in --address :9999"
4646
# Start the application with the inference fragment
47-
./dev_container build_and_run endoscopy_tool_tracking_distributed --language cpp --run_args "--worker --fragments inference --address :10000"
47+
./dev_container build_and_run ucx_endoscopy_tool_tracking --language cpp --run_args "--worker --fragments inference --address :9999"
4848
# Start the application with the visualization fragment
49-
./dev_container build_and_run endoscopy_tool_tracking_distributed --language cpp --run_args "--worker --fragments viz --address :10000"
49+
./dev_container build_and_run ucx_endoscopy_tool_tracking --language cpp --run_args "--worker --fragments viz --address :9999"
5050
```

applications/distributed/ucx/ucx_endoscopy_tool_tracking/python/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ If you want to manually convert the video data, please refer to the instructions
2424

2525
```sh
2626
# Start the application with all three fragments
27-
./dev_container build_and_run endoscopy_tool_tracking_distributed --language python
27+
./dev_container build_and_run ucx_endoscopy_tool_tracking --language python
2828

2929
# Use the following commands to run the same application three processes:
3030
# Start the application with the video_in fragment
31-
./dev_container build_and_run endoscopy_tool_tracking_distributed --language python --run_args "--driver --worker --fragments video_in --address :10000"
31+
./dev_container build_and_run ucx_endoscopy_tool_tracking --language python --run_args "--driver --worker --fragments video_in --address :10000"
3232
# Start the application with the inference fragment
33-
./dev_container build_and_run endoscopy_tool_tracking_distributed --language python --run_args "--worker --fragments inference --address :10000"
33+
./dev_container build_and_run ucx_endoscopy_tool_tracking --language python --run_args "--worker --fragments inference --address :10000"
3434
# Start the application with the visualization fragment
35-
./dev_container build_and_run endoscopy_tool_tracking_distributed --language python --run_args "--worker --fragments viz --address :10000"
35+
./dev_container build_and_run ucx_endoscopy_tool_tracking --language python --run_args "--worker --fragments viz --address :10000"
3636
```

applications/distributed/ucx/ucx_h264_endoscopy_tool_tracking/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,30 +25,30 @@ The data is automatically downloaded when building the application.
2525

2626
```bash
2727
# Start the application with all three fragments
28-
./dev_container build_and_run h264_endoscopy_tool_tracking_distributed --language cpp
28+
./dev_container build_and_run ucx_h264_endoscopy_tool_tracking --language cpp
2929

3030
# Use the following commands to run the same application three processes:
3131
# Start the application with the video_in fragment
32-
./dev_container build_and_run h264_endoscopy_tool_tracking_distributed --language cpp --run_args "--driver --worker --fragments video_in --address :10000 --worker-address :10001"
32+
./dev_container build_and_run ucx_h264_endoscopy_tool_tracking --language cpp --run_args "--driver --worker --fragments video_in --address :10000 --worker-address :10001"
3333
# Start the application with the inference fragment
34-
./dev_container build_and_run h264_endoscopy_tool_tracking_distributed --language cpp --run_args "--worker --fragments inference --address :10000 --worker-address :10002"
34+
./dev_container build_and_run ucx_h264_endoscopy_tool_tracking --language cpp --run_args "--worker --fragments inference --address :10000 --worker-address :10002"
3535
# Start the application with the visualization fragment
36-
./dev_container build_and_run h264_endoscopy_tool_tracking_distributed --language cpp --run_args "--worker --fragments viz --address :10000 --worker-address :10003"
36+
./dev_container build_and_run ucx_h264_endoscopy_tool_tracking --language cpp --run_args "--worker --fragments viz --address :10000 --worker-address :10003"
3737
```
3838

3939
### Python
4040

4141
```bash
4242
# Start the application with all three fragments
43-
./dev_container build_and_run h264_endoscopy_tool_tracking_distributed --language python
43+
./dev_container build_and_run ucx_h264_endoscopy_tool_tracking --language python
4444

4545
# Use the following commands to run the same application three processes:
4646
# Start the application with the video_in fragment
47-
./dev_container build_and_run h264_endoscopy_tool_tracking_distributed --language python --run_args "--driver --worker --fragments video_in --address :10000 --worker-address :10001"
47+
./dev_container build_and_run ucx_h264_endoscopy_tool_tracking --language python --run_args "--driver --worker --fragments video_in --address :10000 --worker-address :10001"
4848
# Start the application with the inference fragment
49-
./dev_container build_and_run h264_endoscopy_tool_tracking_distributed --language python --run_args "--worker --fragments inference --address :10000 --worker-address :10002"
49+
./dev_container build_and_run ucx_h264_endoscopy_tool_tracking --language python --run_args "--worker --fragments inference --address :10000 --worker-address :10002"
5050
# Start the application with the visualization fragment
51-
./dev_container build_and_run h264_endoscopy_tool_tracking_distributed --language python --run_args "--worker --fragments viz --address :10000 --worker-address :10003"
51+
./dev_container build_and_run ucx_h264_endoscopy_tool_tracking --language python --run_args "--worker --fragments viz --address :10000 --worker-address :10003"
5252
```
5353

5454
Important: on aarch64, applications also need tegra folder mounted inside the container and
@@ -75,8 +75,8 @@ To start the VS Code Dev Container, run the following command from the root dire
7575

7676
#### C++
7777

78-
Use the **(gdb) h264_endoscopy_tool_tracking_distributed/cpp (all fragments)** launch profile to run and debug the C++ application.
78+
Use the **(gdb) ucx_h264_endoscopy_tool_tracking/cpp (all fragments)** launch profile to run and debug the C++ application.
7979

8080
#### Python
8181

82-
Use the **(pythoncpp) h264_endoscopy_tool_tracking_distributed/python (all fragments)** launch profile to run and debug the Python application.
82+
Use the **(pythoncpp) ucx_h264_endoscopy_tool_tracking/python (all fragments)** launch profile to run and debug the Python application.

0 commit comments

Comments
 (0)