Skip to content

Commit

Permalink
Add section index page for ViT and set up redirects for pages moved
Browse files Browse the repository at this point in the history
  • Loading branch information
tokk-nv committed Jan 9, 2024
1 parent b3776f9 commit 0064235
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 18 deletions.
6 changes: 3 additions & 3 deletions docs/overrides/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -406,10 +406,10 @@ <h3 class="mb-3 mt-0">Distillation</h3>
</a>
</div>
<div class="col-lg-4 col-sm-6 mb-4">
<a href="tutorial_nanosam.html" class="bg-white shadow padding-v1h1rem5 text-center d-block match-height" style="height: 300px;">
<a href="vit/index.html" class="bg-white shadow padding-v1h1rem5 text-center d-block match-height" style="height: 300px;">
<img src="./images/iconnv_nanosam_512x512.jpg" width="120" height="120">
<h3 class="mb-3 mt-0">NanoSAM</h3>
<p class="mb-0">SAM (Segment Anything Model) and other Vision Transformers optimized to run in realtime</p>
<h3 class="mb-3 mt-0">Vision Transformer (ViT)</h3>
<p class="mb-0">Vision Transformer examples, with some models optimized to run in realtime on Jetson</p>
</a>
</div>
<div class="col-lg-4 col-sm-6 mb-4">
Expand Down
23 changes: 23 additions & 0 deletions docs/vit/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Vision Transformers

You can run following Vision Transfer models and applications quickly on Jetson by using `jetson-containers`.

## [Efficient ViT](./tutorial_efficientvit.md)

![](../images/efficientvit_sam_demo.png){ width="300" }

## [NanoSAM](./tutorial_nanosam.md)

![](https://raw.githubusercontent.com/NVIDIA-AI-IOT/nanosam/main/assets/basic_usage_out.jpg){ width="300" }

## [NanoOWL](./tutorial_nanoowl.md)

![](https://github.com/NVIDIA-AI-IOT/nanoowl/raw/main/assets/jetson_person_2x.gif){ width="300" }

## [SAM](./tutorial_sam.md)

![](../images/sam_notebook.png){ width="300" }

## [TAM](./tutorial_tam.md)

![](../images/TAM_screenshot_cat.png){ width="300" }
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ So you can go back to your host machine, and check `./jetson-containers/data/ben

You should find the output like this.

![](./images/efficientvit_sam_demo.png)
![](../images/efficientvit_sam_demo.png)
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ cd jetson-containers
### Result
![](./images/nanoowl_chrome_window.png)
![](../images/nanoowl_chrome_window.png)
File renamed without changes.
4 changes: 2 additions & 2 deletions docs/tutorial_sam.md β†’ docs/vit/tutorial_sam.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Let's run Meta's [`SAM`](https://github.com/facebookresearch/segment-anything) on NVIDIA Jetson.

![](./images/sam_notebook.png)
![](../images/sam_notebook.png)

!!! abstract "What you need"

Expand Down Expand Up @@ -69,4 +69,4 @@ Then go through executing all the cells below **Set-up**.

## Results

![](./images/sam_notebook.png)
![](../images/sam_notebook.png)
6 changes: 3 additions & 3 deletions docs/tutorial_tam.md β†’ docs/vit/tutorial_tam.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Let's run [`TAM`](https://github.com/gaomingqi/Track-Anything) to perform Segment Anything on videos on NVIDIA Jetson.

![](./images/TAM_screenshot_cat.png)
![](../images/TAM_screenshot_cat.png)

!!! abstract "What you need"

Expand Down Expand Up @@ -53,11 +53,11 @@ Open your browser and access `http://<IP_ADDRESS>:12212`.
Check out the [official tutorial](https://github.com/gaomingqi/Track-Anything/blob/master/doc/tutorials.md) to learn how to operate the web UI.

<video controls>
<source src="./images/TAM_screencast_cat_720p-80pcnt.mp4" type="video/mp4">
<source src="../images/TAM_screencast_cat_720p-80pcnt.mp4" type="video/mp4">
</video>

## Results

<video controls autoplay>
<source src="./images/TAM_15s_1080p.mp4" type="video/mp4">
<source src="../images/TAM_15s_1080p.mp4" type="video/mp4">
</video>
23 changes: 15 additions & 8 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ theme:
scheme: nv-black-green

features:
# - navigation.indexes
- navigation.indexes
- navigation.expand
- navigation.tabs
- navigation.tabs.sticky
Expand All @@ -28,7 +28,13 @@ theme:

plugins:
- search

- redirects:
redirect_maps:
'tutorial_efficientvit.md': 'vit/tutorial_efficientvit.md'
'tutorial_nanosam.md': 'vit/tutorial_nanosam.md'
'tutorial_nanoowl.md': 'vit/tutorial_nanoowl.md'
'tutorial_sam.md': 'vit/tutorial_sam.md'
'tutorial_tam.md': 'vit/tutorial_tam.md'

use_directory_urls: false

Expand Down Expand Up @@ -77,12 +83,13 @@ nav:
- Image Generation:
- Stable Diffusion: tutorial_stable-diffusion.md
- Stable Diffusion XL: tutorial_stable-diffusion-xl.md
- Vision Transformers (ViT):
- EfficientViT πŸ†•: tutorial_efficientvit.md
- NanoSAM: tutorial_nanosam.md
- NanoOWL πŸ†•: tutorial_nanoowl.md
- SAM: tutorial_sam.md
- TAM: tutorial_tam.md
- Vision Transformers (ViT):
- vit/index.md
- EfficientViT πŸ†•: vit/tutorial_efficientvit.md
- NanoSAM: vit/tutorial_nanosam.md
- NanoOWL πŸ†•: vit/tutorial_nanoowl.md
- SAM: vit/tutorial_sam.md
- TAM: vit/tutorial_tam.md
# - NanoOWL: tutorial_nanoowl.md
- Vector Database:
- NanoDB: tutorial_nanodb.md
Expand Down

0 comments on commit 0064235

Please sign in to comment.