Skip to content

Commit

Permalink
Fixing readme for endoscopy_depth_estimation (#455)
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Jomier <jjomier@nvidia.com>
  • Loading branch information
jjomier authored Aug 1, 2024
1 parent 7a36149 commit 92a9d39
Showing 1 changed file with 4 additions and 28 deletions.
32 changes: 4 additions & 28 deletions applications/endoscopy_depth_estimation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -109,38 +106,17 @@ Next, run the command to run the application:
cd <HOLOHUB_BUILD_DIR>
python3 <HOLOHUB_SOURCE_DIR>/applications/endoscopy_depth_estimation/endoscopy_depth_estimation.py --data=<DATA_DIR> --model=<MODEL_DIR> --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 <HOLOHUB_SOURCE_DIR>
```
#### 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/
```

0 comments on commit 92a9d39

Please sign in to comment.