From 92a9d396dbb0dc055dfd57897b13685b393cde1b Mon Sep 17 00:00:00 2001 From: Julien Jomier <219040+jjomier@users.noreply.github.com> Date: Thu, 1 Aug 2024 11:59:14 -0400 Subject: [PATCH] Fixing readme for endoscopy_depth_estimation (#455) Signed-off-by: Julien Jomier --- .../endoscopy_depth_estimation/README.md | 32 +++---------------- 1 file changed, 4 insertions(+), 28 deletions(-) diff --git a/applications/endoscopy_depth_estimation/README.md b/applications/endoscopy_depth_estimation/README.md index 82919f4ec..6f10b1809 100644 --- a/applications/endoscopy_depth_estimation/README.md +++ b/applications/endoscopy_depth_estimation/README.md @@ -75,9 +75,6 @@ Then, the preprocessed frames are fed to the [`InferenceOp`](https://docs.nvidia and mixed with the original video in the custom [`DepthPostProcessingOp`](./endoscopy_depth_estimation.py#L87) for rendering with [Holoviz](https://docs.nvidia.com/holoscan/sdk-user-guide/holoscan_operators_extensions.html#operators). - - - ### Run Instructions To run this application, you'll need to configure your PYTHONPATH environment variable to locate the @@ -109,38 +106,17 @@ Next, run the command to run the application: cd python3 /applications/endoscopy_depth_estimation/endoscopy_depth_estimation.py --data= --model= --clahe ``` +### Container Build & Run Instructions - -### Container Build & Rud Instructions - -Build container using Holoscan 2.0.0 NGC container as base image and built OpenCV with CUDA ARCH 8.6, 8.7 and 8.9 support for IGX Orin and AGX Orin iGPU and Ampere and Ada Lovelace Architecture dGPUs. +Build container using Holoscan 2.0.0 NGC container as base image and built OpenCV with CUDA ARCH 8.6, 8.7 and 8.9 support for IGX Orin and Ampere and Ada Lovelace Architecture dGPUs. This application is currently not supported on iGPU. #### Change directory to Holohub source directory ```bash cd ``` -#### Build container - -```bash -./dev_container build --docker_file applications/endoscopy_depth_estimation/Dockerfile --img holohub:depth_estimation -``` - -#### Launch container - -```bash -./dev_container launch --img holohub:depth_estimation -``` - -#### Build app +#### Build and run the application using the development container ```bash -./run build endoscopy_depth_estimation +./dev_container build_and_run endoscopy_depth_estimation ``` - -#### Launch app - -```bash -python3 applications/endoscopy_depth_estimation/endoscopy_depth_estimation.py --data=data/endoscopy --model=data/endoscopy_depth/ -``` -