Repository navigation
Commit 4181da1
authored
Add external Vision Transformer sample (#570)
Adds an external sample that runs DeiT-Tiny Vision Transformer inference
in WebGPU compute shaders and visualizes attention maps as interactive
heatmap overlays.
This follows the external sample path suggested in #569, and is related
to #350.
External sample: https://lyonsno.github.io/webgpu-vit-attention/
Repository: https://github.com/lyonsno/webgpu-vit-attention
I'm happy to make any changes that may be needed. Please let me know
whether this sample is appropriate for inclusion.1 parent 904fe34 commit 4181da1
2 files changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
173 | 174 | | |
174 | 175 | | |
175 | 176 | | |
| 177 | + | |
176 | 178 | | |
177 | 179 | | |
178 | 180 | | |
| |||
0 commit comments