From 603ea22bd6966c8047b4b2c0c08228e9ae2409d3 Mon Sep 17 00:00:00 2001 From: Vivek Ankit Date: Tue, 5 Mar 2024 10:07:55 +0530 Subject: [PATCH 1/4] Changes in the prerequisites in the Readme Documentation --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d86482c..dcba545 100644 --- a/README.md +++ b/README.md @@ -80,13 +80,19 @@ NanoOWL runs real-time on Jetson Orin Nano. 1. Install PyTorch 2. Install [torch2trt](https://github.com/NVIDIA-AI-IOT/torch2trt) - 3. Install NVIDIA TensorRT + 3. Install NVIDIA [TensorRT](https://github.com/NVIDIA/TensorRT) 4. Install the Transformers library ```bash python3 -m pip install transformers ``` 5. (optional) Install NanoSAM (for the instance segmentation example) + 6. Install the Clip Package + + ```conda install --yes -c pytorch pytorch=1.7.1 torchvision cudatoolkit=11.0 + pip install ftfy regex tqdm + pip install git+https://github.com/openai/CLIP.git + ``` 2. Install the NanoOWL package. From 383bd6021f6bcdf80bad140539dc05f66100b8ea Mon Sep 17 00:00:00 2001 From: Vivek Ankit Date: Tue, 5 Mar 2024 10:19:57 +0530 Subject: [PATCH 2/4] Changes to readme --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index dcba545..024d0c9 100644 --- a/README.md +++ b/README.md @@ -89,9 +89,10 @@ NanoOWL runs real-time on Jetson Orin Nano. 5. (optional) Install NanoSAM (for the instance segmentation example) 6. Install the Clip Package - ```conda install --yes -c pytorch pytorch=1.7.1 torchvision cudatoolkit=11.0 - pip install ftfy regex tqdm - pip install git+https://github.com/openai/CLIP.git + ```bash + conda install --yes -c pytorch pytorch=1.7.1 torchvision cudatoolkit=11.0 + pip install ftfy regex tqdm + pip install git+https://github.com/openai/CLIP.git ``` 2. Install the NanoOWL package. @@ -117,7 +118,7 @@ NanoOWL runs real-time on Jetson Orin Nano. cd examples python3 owl_predict.py \ --prompt="[an owl, a glove]" \ - --threshold=0.1 \ + --threshold="0.1. 0.1" \ --image_encoder_engine=../data/owl_image_encoder_patch32.engine ``` @@ -144,7 +145,7 @@ Then run the example ```bash python3 owl_predict.py \ --prompt="[an owl, a glove]" \ - --threshold=0.1 \ + --threshold="0.1, 0.1" \ --image_encoder_engine=../data/owl_image_encoder_patch32.engine ``` From a9782943df3e5cefc760be13b9af070e9c076829 Mon Sep 17 00:00:00 2001 From: Vivek Ankit Date: Tue, 5 Mar 2024 10:22:31 +0530 Subject: [PATCH 3/4] Changes in readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 024d0c9..14be656 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ NanoOWL runs real-time on Jetson Orin Nano. cd examples python3 owl_predict.py \ --prompt="[an owl, a glove]" \ - --threshold="0.1. 0.1" \ + --threshold=0.1 \ --image_encoder_engine=../data/owl_image_encoder_patch32.engine ``` @@ -145,7 +145,7 @@ Then run the example ```bash python3 owl_predict.py \ --prompt="[an owl, a glove]" \ - --threshold="0.1, 0.1" \ + --threshold=0.1 \ --image_encoder_engine=../data/owl_image_encoder_patch32.engine ``` From 8f1946c476a2e445f36ca99760c1a09edef1f21b Mon Sep 17 00:00:00 2001 From: Vivek Ankit Date: Tue, 5 Mar 2024 11:55:09 +0530 Subject: [PATCH 4/4] aiohttp module needed for live feed --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 14be656..62e3553 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,11 @@ NanoOWL runs real-time on Jetson Orin Nano. pip install ftfy regex tqdm pip install git+https://github.com/openai/CLIP.git ``` + 7. Install the aiohttp module + + ```bash + python3 -m pip install aiohttp + ``` 2. Install the NanoOWL package.