Skip to content

Commit

Permalink
Set address and worker-address with port only. (nvidia-holoscan#487)
Browse files Browse the repository at this point in the history
Reconfigure build tasks for DETT app

Signed-off-by: Victor Chang <[email protected]>
  • Loading branch information
mocsharp authored Aug 29, 2024
1 parent 66769c4 commit 0a4093a
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 43 deletions.
48 changes: 30 additions & 18 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -437,11 +437,15 @@
"--fragments",
"video_in",
"--address",
"127.0.0.1:10000",
"--nic",
"lo",
":10000",
"--worker-address",
":10001",
],
"environment": [
{
"name": "HOLOSCAN_LOG_LEVEL",
"value": "DEBUG"
},
{
"name": "HOLOSCAN_INPUT_PATH",
"value": "${env:HOLOHUB_DATA_DIR}/endoscopy"
Expand Down Expand Up @@ -475,11 +479,15 @@
"--fragments",
"inference",
"--address",
"127.0.0.1:10000",
"--nic",
"lo",
":10000",
"--worker-address",
":10002",
],
"environment": [
{
"name": "HOLOSCAN_LOG_LEVEL",
"value": "DEBUG"
},
{
"name": "HOLOSCAN_INPUT_PATH",
"value": "${env:HOLOHUB_DATA_DIR}/endoscopy"
Expand Down Expand Up @@ -513,11 +521,15 @@
"--fragments",
"viz",
"--address",
"127.0.0.1:10000",
"--nic",
"lo",
":10000",
"--worker-address",
":10003",
],
"environment": [
{
"name": "HOLOSCAN_LOG_LEVEL",
"value": "DEBUG"
},
{
"name": "HOLOSCAN_INPUT_PATH",
"value": "${env:HOLOHUB_DATA_DIR}/endoscopy"
Expand Down Expand Up @@ -590,9 +602,9 @@
"--fragments",
"video_in",
"--address",
"127.0.0.1:10000",
"--nic",
"lo",
":10000",
"--worker-address",
":10001",
],
"presentation": {
"hidden": true,
Expand Down Expand Up @@ -626,9 +638,9 @@
"--fragments",
"inference",
"--address",
"127.0.0.1:10000",
"--nic",
"lo",
":10000",
"--worker-address",
":10002",
],
"presentation": {
"hidden": true,
Expand Down Expand Up @@ -662,9 +674,9 @@
"--fragments",
"viz",
"--address",
"127.0.0.1:10000",
"--nic",
"lo",
":10000",
"--worker-address",
":10003",
],
"presentation": {
"hidden": true,
Expand Down
30 changes: 6 additions & 24 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,17 +66,11 @@
{
"type": "shell",
"label": "Build basic_networking_ping (delay 3s)",
"command": "./run",
"args": [
"build",
"basic_networking_ping",
"--type",
"debug"
],
"command": "sleep 3",
"options": {
"cwd": "${env:WORKSPACE_DIR}"
},
"dependsOn": "Delay Task (3s)",
"dependsOn": "Build basic_networking_ping",
"group": "build",
"problemMatcher": [],
"detail": "CMake template build task",
Expand Down Expand Up @@ -255,17 +249,11 @@
{
"type": "shell",
"label": "Build endoscopy_tool_tracking_distributed (delay 3s)",
"command": "./run",
"args": [
"build",
"endoscopy_tool_tracking_distributed",
"--type",
"debug"
],
"command": "sleep 3",
"options": {
"cwd": "${env:WORKSPACE_DIR}"
},
"dependsOn": "Delay Task (3s)",
"dependsOn": "Build endoscopy_tool_tracking_distributed",
"group": "build",
"problemMatcher": [],
"detail": "CMake template build task",
Expand All @@ -282,17 +270,11 @@
{
"type": "shell",
"label": "Build endoscopy_tool_tracking_distributed (delay 5s)",
"command": "./run",
"args": [
"build",
"endoscopy_tool_tracking_distributed",
"--type",
"debug"
],
"command": "sleep 5",
"options": {
"cwd": "${env:WORKSPACE_DIR}"
},
"dependsOn": "Delay Task (5s)",
"dependsOn": "Build endoscopy_tool_tracking_distributed",
"group": "build",
"problemMatcher": [],
"detail": "CMake template build task",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ def parse_args() -> argparse.Namespace:
if __name__ == "__main__":
args = parse_args()

print(f"==========================> data={args.data}")
if args.data is None:
logger.error(
"Input data not provided. Use --data or set HOLOSCAN_INPUT_PATH environment variable."
Expand Down

0 comments on commit 0a4093a

Please sign in to comment.