jetson-examples 0.1.5__tar.gz → 0.1.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/PKG-INFO +35 -15
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/README.md +34 -14
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/jetson_examples.egg-info/PKG-INFO +35 -15
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/jetson_examples.egg-info/SOURCES.txt +54 -6
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/pyproject.toml +1 -1
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/main.py +1 -1
- jetson_examples-0.1.6/reComputer/scripts/MoveNet-Lightning/clean.sh +8 -0
- jetson_examples-0.1.6/reComputer/scripts/MoveNet-Lightning/getVersion.sh +59 -0
- jetson_examples-0.1.5/reComputer/scripts/ultralytics-yolo/images/Ultralytics-yolo.gif → jetson_examples-0.1.6/reComputer/scripts/MoveNet-Lightning/images/dance_movenet.gif +0 -0
- jetson_examples-0.1.6/reComputer/scripts/MoveNet-Lightning/init.sh +6 -0
- jetson_examples-0.1.6/reComputer/scripts/MoveNet-Lightning/readme.md +30 -0
- jetson_examples-0.1.6/reComputer/scripts/MoveNet-Lightning/run.sh +19 -0
- jetson_examples-0.1.6/reComputer/scripts/MoveNet-Thunder/clean.sh +7 -0
- jetson_examples-0.1.6/reComputer/scripts/MoveNet-Thunder/getVersion.sh +59 -0
- jetson_examples-0.1.6/reComputer/scripts/MoveNet-Thunder/images/dance_movenet.gif +0 -0
- jetson_examples-0.1.6/reComputer/scripts/MoveNet-Thunder/init.sh +6 -0
- jetson_examples-0.1.6/reComputer/scripts/MoveNet-Thunder/readme.md +31 -0
- jetson_examples-0.1.6/reComputer/scripts/MoveNet-Thunder/run.sh +18 -0
- jetson_examples-0.1.6/reComputer/scripts/MoveNetJS/clean.sh +4 -0
- jetson_examples-0.1.6/reComputer/scripts/MoveNetJS/images/dance.gif +0 -0
- jetson_examples-0.1.6/reComputer/scripts/MoveNetJS/readme.md +56 -0
- jetson_examples-0.1.6/reComputer/scripts/MoveNetJS/run.sh +13 -0
- jetson_examples-0.1.6/reComputer/scripts/comfyui/README.md +127 -0
- jetson_examples-0.1.6/reComputer/scripts/comfyui/clean.sh +7 -0
- jetson_examples-0.1.6/reComputer/scripts/comfyui/config.yaml +29 -0
- jetson_examples-0.1.6/reComputer/scripts/comfyui/images/comfyui.png +0 -0
- jetson_examples-0.1.6/reComputer/scripts/comfyui/init.sh +163 -0
- jetson_examples-0.1.6/reComputer/scripts/comfyui/run.sh +30 -0
- jetson_examples-0.1.6/reComputer/scripts/depth-anything/Dockerfile +6 -0
- jetson_examples-0.1.6/reComputer/scripts/depth-anything/LICENSE +21 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/depth-anything/README.md +33 -0
- jetson_examples-0.1.6/reComputer/scripts/depth-anything/clean.sh +8 -0
- jetson_examples-0.1.6/reComputer/scripts/depth-anything/config.yaml +31 -0
- jetson_examples-0.1.6/reComputer/scripts/depth-anything/images/Autonomous Driving.png +0 -0
- jetson_examples-0.1.6/reComputer/scripts/depth-anything/images/Indoor Scenes.png +0 -0
- jetson_examples-0.1.6/reComputer/scripts/depth-anything/images/Security.png +0 -0
- jetson_examples-0.1.6/reComputer/scripts/depth-anything/images/Underwater Scenes.png +0 -0
- jetson_examples-0.1.6/reComputer/scripts/depth-anything/images/teaser.png +0 -0
- jetson_examples-0.1.6/reComputer/scripts/depth-anything/init.sh +164 -0
- jetson_examples-0.1.6/reComputer/scripts/depth-anything/run.sh +22 -0
- jetson_examples-0.1.6/reComputer/scripts/depth-anything-v2/README.md +135 -0
- jetson_examples-0.1.6/reComputer/scripts/depth-anything-v2/clean.sh +8 -0
- jetson_examples-0.1.6/reComputer/scripts/depth-anything-v2/config.yaml +31 -0
- jetson_examples-0.1.6/reComputer/scripts/depth-anything-v2/images/Opr.png +0 -0
- jetson_examples-0.1.6/reComputer/scripts/depth-anything-v2/images/WebUI.png +0 -0
- jetson_examples-0.1.6/reComputer/scripts/depth-anything-v2/init.sh +164 -0
- jetson_examples-0.1.6/reComputer/scripts/depth-anything-v2/run.sh +22 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/llama-factory/README.md +5 -4
- jetson_examples-0.1.6/reComputer/scripts/llama-factory/assets/training.gif +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/llama-factory/init.sh +0 -0
- jetson_examples-0.1.6/reComputer/scripts/llama3/clean.sh +22 -0
- jetson_examples-0.1.6/reComputer/scripts/ollama/clean.sh +22 -0
- jetson_examples-0.1.6/reComputer/scripts/parler-tts/clean.sh +7 -0
- jetson_examples-0.1.6/reComputer/scripts/parler-tts/getVersion.sh +59 -0
- jetson_examples-0.1.6/reComputer/scripts/parler-tts/images/audio1.png +0 -0
- jetson_examples-0.1.6/reComputer/scripts/parler-tts/images/audio2.png +0 -0
- jetson_examples-0.1.6/reComputer/scripts/parler-tts/init.sh +8 -0
- jetson_examples-0.1.6/reComputer/scripts/parler-tts/readme.md +63 -0
- jetson_examples-0.1.6/reComputer/scripts/parler-tts/run.sh +17 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/run.sh +5 -0
- jetson_examples-0.1.6/reComputer/scripts/ultralytics-yolo/LICENSE +21 -0
- jetson_examples-0.1.6/reComputer/scripts/ultralytics-yolo/README.md +124 -0
- jetson_examples-0.1.6/reComputer/scripts/ultralytics-yolo/clean.sh +7 -0
- jetson_examples-0.1.6/reComputer/scripts/ultralytics-yolo/config.yaml +32 -0
- jetson_examples-0.1.6/reComputer/scripts/ultralytics-yolo/images/Ultralytics-yolo.gif +0 -0
- jetson_examples-0.1.6/reComputer/scripts/ultralytics-yolo/images/ultralytics_fig1.png +0 -0
- jetson_examples-0.1.6/reComputer/scripts/ultralytics-yolo/images/ultralytics_fig2.png +0 -0
- jetson_examples-0.1.6/reComputer/scripts/ultralytics-yolo/init.sh +163 -0
- jetson_examples-0.1.6/reComputer/scripts/ultralytics-yolo/run.sh +25 -0
- jetson_examples-0.1.5/reComputer/scripts/depth-anything/clean.sh +0 -3
- jetson_examples-0.1.5/reComputer/scripts/depth-anything/run.sh +0 -12
- jetson_examples-0.1.5/reComputer/scripts/ultralytics-yolo/README.md +0 -50
- jetson_examples-0.1.5/reComputer/scripts/ultralytics-yolo/clean.sh +0 -3
- jetson_examples-0.1.5/reComputer/scripts/ultralytics-yolo/run.sh +0 -12
- jetson_examples-0.1.5/reComputer/scripts/yolov8:detect/Dockerfile +0 -9
- jetson_examples-0.1.5/reComputer/scripts/yolov8:detect/README.txt +0 -32
- jetson_examples-0.1.5/reComputer/scripts/yolov8:detect/app.py +0 -47
- jetson_examples-0.1.5/reComputer/scripts/yolov8:detect/run.sh +0 -3
- jetson_examples-0.1.5/reComputer/scripts/yolov8:detect/templates/index.html +0 -27
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/LICENSE +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/jetson_examples.egg-info/dependency_links.txt +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/jetson_examples.egg-info/entry_points.txt +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/jetson_examples.egg-info/top_level.txt +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/__init__.py +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/Sheared-LLaMA-2.7B-ShareGPT/init.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/Sheared-LLaMA-2.7B-ShareGPT/run.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/audiocraft/README.md +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/audiocraft/clean.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/audiocraft/init.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/audiocraft/run.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/check.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/clean.sh +0 -0
- {jetson_examples-0.1.5/reComputer/scripts/depth-anything → jetson_examples-0.1.6/reComputer/scripts/comfyui}/LICENSE +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/depth-anything/images/Opr.png +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/depth-anything/images/WebUI.png +0 -0
- {jetson_examples-0.1.5/reComputer/scripts/depth-anything → jetson_examples-0.1.6/reComputer/scripts/depth-anything-v2}/Dockerfile +0 -0
- {jetson_examples-0.1.5/reComputer/scripts/ultralytics-yolo → jetson_examples-0.1.6/reComputer/scripts/depth-anything-v2}/LICENSE +0 -0
- {jetson_examples-0.1.5/reComputer/scripts/depth-anything → jetson_examples-0.1.6/reComputer/scripts/depth-anything-v2}/images/Autonomous Driving.png +0 -0
- {jetson_examples-0.1.5/reComputer/scripts/depth-anything → jetson_examples-0.1.6/reComputer/scripts/depth-anything-v2}/images/Indoor Scenes.png +0 -0
- {jetson_examples-0.1.5/reComputer/scripts/depth-anything → jetson_examples-0.1.6/reComputer/scripts/depth-anything-v2}/images/Security.png +0 -0
- {jetson_examples-0.1.5/reComputer/scripts/depth-anything → jetson_examples-0.1.6/reComputer/scripts/depth-anything-v2}/images/Underwater Scenes.png +0 -0
- {jetson_examples-0.1.5/reComputer/scripts/depth-anything → jetson_examples-0.1.6/reComputer/scripts/depth-anything-v2}/images/teaser.png +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/live-llava/init.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/live-llava/run.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/llama-factory/assets/llama-factory-Jetson.png +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/llama-factory/assets/webui.png +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/llama-factory/clean.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/llama-factory/run.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/llama3/init.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/llama3/run.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/llava/clean.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/llava/init.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/llava/run.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/llava-v1.5-7b/init.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/llava-v1.5-7b/run.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/llava-v1.6-vicuna-7b/init.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/llava-v1.6-vicuna-7b/run.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/nanodb/init.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/nanodb/readme.md +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/nanodb/run.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/nanoowl/init.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/nanoowl/run.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/ollama/init.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/ollama/run.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/stable-diffusion-webui/init.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/stable-diffusion-webui/run.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/text-generation-webui/init.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/text-generation-webui/run.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/ultralytics-yolo/images/tasks.png +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/update.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/whisper/init.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/whisper/run.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/yolov10/Dockerfile +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/yolov10/README.md +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/yolov10/assets/webui.png +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/yolov10/clean.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/yolov10/init.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/yolov10/run.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/yolov8-rail-inspection/readme.md +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/reComputer/scripts/yolov8-rail-inspection/run.sh +0 -0
- {jetson_examples-0.1.5 → jetson_examples-0.1.6}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: jetson-examples
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.6
|
4
4
|
Summary: Running Gen AI models and applications on NVIDIA Jetson devices with one-line command
|
5
5
|
Author-email: luozhixin <zhixin.luo@seeed.cc>
|
6
6
|
Project-URL: Homepage, https://github.com/Seeed-Projects/jetson-examples
|
@@ -15,9 +15,9 @@ License-File: LICENSE
|
|
15
15
|
|
16
16
|
# jetson-examples
|
17
17
|
|
18
|
-
<div align="
|
18
|
+
<div align="">
|
19
19
|
<img alt="jetson" width="1200px" src="https://files.seeedstudio.com/wiki/reComputer-Jetson/jetson-examples/Jetson1200x300.png">
|
20
|
-
</
|
20
|
+
</dev>
|
21
21
|
|
22
22
|
[](https://discord.gg/5BQCkty7vN)
|
23
23
|
|
@@ -61,28 +61,48 @@ Here are some examples that can be run:
|
|
61
61
|
| Example | Type | Model/Data Size | Docker Image Size | Command |
|
62
62
|
| ------------------------------------------------ | ------------------------ | --------------- | ---------- | --------------------------------------- |
|
63
63
|
| 🆕 llama-factory | Finetune LLM | | 13.5GB | `reComputer run llama-factory` |
|
64
|
-
| 🆕 [
|
65
|
-
| [
|
66
|
-
|
|
67
|
-
| [
|
64
|
+
| 🆕 [ComfyUI](/reComputer/scripts/comfyui/README.md) |Computer Vision | | 20GB | `reComputer run comfyui` |
|
65
|
+
| 🆕 [Depth-Anything-V2](/reComputer/scripts/depth-anything-v2/README.md) |Computer Vision | | 15GB | `reComputer run depth-anything-v2` |
|
66
|
+
| [Depth-Anything](/reComputer/scripts/depth-anything/README.md) |Computer Vision | | 12.9GB | `reComputer run depth-anything` |
|
67
|
+
| [Yolov10](/reComputer/scripts/yolov10/README.md) | Computer Vision | 7.2M | 5.74 GB | `reComputer run yolov10` |
|
68
|
+
| Llama3 | Text (LLM) | 4.9GB | 10.5GB | `reComputer run llama3` |
|
69
|
+
| [Ollama](https://github.com/ollama/ollama) | Inference Server | * | 10.5GB | `reComputer run ollama` |
|
68
70
|
| LLaVA | Text + Vision (VLM) | 13GB | 14.4GB | `reComputer run llava` |
|
69
71
|
| Live LLaVA | Text + Vision (VLM) | 13GB | 20.3GB | `reComputer run live-llava` |
|
70
|
-
|
|
71
|
-
|
|
72
|
-
| [
|
73
|
-
|
|
74
|
-
| [
|
75
|
-
|
72
|
+
| Stable-diffusion-webui | Image Generation | 3.97G | 7.3GB | `reComputer run stable-diffusion-webui` |
|
73
|
+
| Nanoowl | Vision Transformers(ViT) | 613MB | 15.1GB | `reComputer run nanoowl` |
|
74
|
+
| [Nanodb](../reComputer/scripts/nanodb/readme.md) | Vector Database | 76GB | 7.0GB | `reComputer run nanodb` |
|
75
|
+
| Whisper | Audio | 1.5GB | 6.0GB | `reComputer run whisper` |
|
76
|
+
| [Yolov8-rail-inspection](/reComputer/scripts/yolov8-rail-inspection/readme.md) | Computer Vision | 6M | 13.8GB | `reComputer run yolov8-rail-inspection` |
|
77
|
+
|🆕 [Ultralytics-yolo](/reComputer/scripts/ultralytics-yolo/README.md) | Computer Vision | | 15.4GB | `reComputer run ultralytics-yolo` |
|
78
|
+
| 🆕 [TensorFlow MoveNet Thunder](/reComputer/scripts/MoveNet-Thunder/readme.md) |Computer Vision | | 7.7GB | `reComputer run MoveNet-Thunder` |
|
79
|
+
| 🆕 [Parler-TTS mini: expresso](/reComputer/scripts/parler-tts/readme.md) | Audio | | 6.9GB | `reComputer run parler-tts` |
|
76
80
|
|
77
81
|
|
78
82
|
> Note: You should have enough space to run example, like `LLaVA`, at least `27.4GB` totally
|
79
83
|
|
80
84
|
More Examples can be found [examples.md](./docs/examples.md)
|
81
85
|
|
82
|
-
##
|
86
|
+
## Calling Contributors Join Us!
|
87
|
+
|
88
|
+
### How to work with us?
|
89
|
+
|
83
90
|
Want to add your own example? Check out the [development guide](./docs/develop.md).
|
84
91
|
|
85
|
-
We welcome contributions to improve jetson-examples! If you have an example you'd like to share, please submit a pull request. Thank you to all of our contributors! 🙏
|
92
|
+
We welcome contributions to improve jetson-examples! If you have an example you'd like to share, please submit a pull request. Thank you to all of our contributors! 🙏
|
93
|
+
|
94
|
+
This open call is listed in our [Contributor Project](https://github.com/orgs/Seeed-Studio/projects/6/views/1?filterQuery=jetson&pane=issue&itemId=64891723). If this is your first time joining us, [click here](https://github.com/orgs/Seeed-Studio/projects/6/views/1?pane=issue&itemId=30957479) to learn how the project works. We follow the steps with:
|
95
|
+
|
96
|
+
|
97
|
+
- Assignments: We offer a variety of assignments to enhance wiki content, each with a detailed description.
|
98
|
+
- Submission: Contributors can submit their content via a Pull Request after completing the assignments.
|
99
|
+
- Review: Maintainers will merge the submission and record the contributions.
|
100
|
+
|
101
|
+
**Contributors receive a $250 cash bonus as a token of appreciation.**
|
102
|
+
|
103
|
+
For any questions or further information, feel free to reach out via the GitHub issues page or contact edgeai@seeed.cc
|
104
|
+
|
105
|
+
|
86
106
|
|
87
107
|
## TODO List
|
88
108
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# jetson-examples
|
2
2
|
|
3
|
-
<div align="
|
3
|
+
<div align="">
|
4
4
|
<img alt="jetson" width="1200px" src="https://files.seeedstudio.com/wiki/reComputer-Jetson/jetson-examples/Jetson1200x300.png">
|
5
|
-
</
|
5
|
+
</dev>
|
6
6
|
|
7
7
|
[](https://discord.gg/5BQCkty7vN)
|
8
8
|
|
@@ -46,28 +46,48 @@ Here are some examples that can be run:
|
|
46
46
|
| Example | Type | Model/Data Size | Docker Image Size | Command |
|
47
47
|
| ------------------------------------------------ | ------------------------ | --------------- | ---------- | --------------------------------------- |
|
48
48
|
| 🆕 llama-factory | Finetune LLM | | 13.5GB | `reComputer run llama-factory` |
|
49
|
-
| 🆕 [
|
50
|
-
| [
|
51
|
-
|
|
52
|
-
| [
|
49
|
+
| 🆕 [ComfyUI](/reComputer/scripts/comfyui/README.md) |Computer Vision | | 20GB | `reComputer run comfyui` |
|
50
|
+
| 🆕 [Depth-Anything-V2](/reComputer/scripts/depth-anything-v2/README.md) |Computer Vision | | 15GB | `reComputer run depth-anything-v2` |
|
51
|
+
| [Depth-Anything](/reComputer/scripts/depth-anything/README.md) |Computer Vision | | 12.9GB | `reComputer run depth-anything` |
|
52
|
+
| [Yolov10](/reComputer/scripts/yolov10/README.md) | Computer Vision | 7.2M | 5.74 GB | `reComputer run yolov10` |
|
53
|
+
| Llama3 | Text (LLM) | 4.9GB | 10.5GB | `reComputer run llama3` |
|
54
|
+
| [Ollama](https://github.com/ollama/ollama) | Inference Server | * | 10.5GB | `reComputer run ollama` |
|
53
55
|
| LLaVA | Text + Vision (VLM) | 13GB | 14.4GB | `reComputer run llava` |
|
54
56
|
| Live LLaVA | Text + Vision (VLM) | 13GB | 20.3GB | `reComputer run live-llava` |
|
55
|
-
|
|
56
|
-
|
|
57
|
-
| [
|
58
|
-
|
|
59
|
-
| [
|
60
|
-
|
57
|
+
| Stable-diffusion-webui | Image Generation | 3.97G | 7.3GB | `reComputer run stable-diffusion-webui` |
|
58
|
+
| Nanoowl | Vision Transformers(ViT) | 613MB | 15.1GB | `reComputer run nanoowl` |
|
59
|
+
| [Nanodb](../reComputer/scripts/nanodb/readme.md) | Vector Database | 76GB | 7.0GB | `reComputer run nanodb` |
|
60
|
+
| Whisper | Audio | 1.5GB | 6.0GB | `reComputer run whisper` |
|
61
|
+
| [Yolov8-rail-inspection](/reComputer/scripts/yolov8-rail-inspection/readme.md) | Computer Vision | 6M | 13.8GB | `reComputer run yolov8-rail-inspection` |
|
62
|
+
|🆕 [Ultralytics-yolo](/reComputer/scripts/ultralytics-yolo/README.md) | Computer Vision | | 15.4GB | `reComputer run ultralytics-yolo` |
|
63
|
+
| 🆕 [TensorFlow MoveNet Thunder](/reComputer/scripts/MoveNet-Thunder/readme.md) |Computer Vision | | 7.7GB | `reComputer run MoveNet-Thunder` |
|
64
|
+
| 🆕 [Parler-TTS mini: expresso](/reComputer/scripts/parler-tts/readme.md) | Audio | | 6.9GB | `reComputer run parler-tts` |
|
61
65
|
|
62
66
|
|
63
67
|
> Note: You should have enough space to run example, like `LLaVA`, at least `27.4GB` totally
|
64
68
|
|
65
69
|
More Examples can be found [examples.md](./docs/examples.md)
|
66
70
|
|
67
|
-
##
|
71
|
+
## Calling Contributors Join Us!
|
72
|
+
|
73
|
+
### How to work with us?
|
74
|
+
|
68
75
|
Want to add your own example? Check out the [development guide](./docs/develop.md).
|
69
76
|
|
70
|
-
We welcome contributions to improve jetson-examples! If you have an example you'd like to share, please submit a pull request. Thank you to all of our contributors! 🙏
|
77
|
+
We welcome contributions to improve jetson-examples! If you have an example you'd like to share, please submit a pull request. Thank you to all of our contributors! 🙏
|
78
|
+
|
79
|
+
This open call is listed in our [Contributor Project](https://github.com/orgs/Seeed-Studio/projects/6/views/1?filterQuery=jetson&pane=issue&itemId=64891723). If this is your first time joining us, [click here](https://github.com/orgs/Seeed-Studio/projects/6/views/1?pane=issue&itemId=30957479) to learn how the project works. We follow the steps with:
|
80
|
+
|
81
|
+
|
82
|
+
- Assignments: We offer a variety of assignments to enhance wiki content, each with a detailed description.
|
83
|
+
- Submission: Contributors can submit their content via a Pull Request after completing the assignments.
|
84
|
+
- Review: Maintainers will merge the submission and record the contributions.
|
85
|
+
|
86
|
+
**Contributors receive a $250 cash bonus as a token of appreciation.**
|
87
|
+
|
88
|
+
For any questions or further information, feel free to reach out via the GitHub issues page or contact edgeai@seeed.cc
|
89
|
+
|
90
|
+
|
71
91
|
|
72
92
|
## TODO List
|
73
93
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: jetson-examples
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.6
|
4
4
|
Summary: Running Gen AI models and applications on NVIDIA Jetson devices with one-line command
|
5
5
|
Author-email: luozhixin <zhixin.luo@seeed.cc>
|
6
6
|
Project-URL: Homepage, https://github.com/Seeed-Projects/jetson-examples
|
@@ -15,9 +15,9 @@ License-File: LICENSE
|
|
15
15
|
|
16
16
|
# jetson-examples
|
17
17
|
|
18
|
-
<div align="
|
18
|
+
<div align="">
|
19
19
|
<img alt="jetson" width="1200px" src="https://files.seeedstudio.com/wiki/reComputer-Jetson/jetson-examples/Jetson1200x300.png">
|
20
|
-
</
|
20
|
+
</dev>
|
21
21
|
|
22
22
|
[](https://discord.gg/5BQCkty7vN)
|
23
23
|
|
@@ -61,28 +61,48 @@ Here are some examples that can be run:
|
|
61
61
|
| Example | Type | Model/Data Size | Docker Image Size | Command |
|
62
62
|
| ------------------------------------------------ | ------------------------ | --------------- | ---------- | --------------------------------------- |
|
63
63
|
| 🆕 llama-factory | Finetune LLM | | 13.5GB | `reComputer run llama-factory` |
|
64
|
-
| 🆕 [
|
65
|
-
| [
|
66
|
-
|
|
67
|
-
| [
|
64
|
+
| 🆕 [ComfyUI](/reComputer/scripts/comfyui/README.md) |Computer Vision | | 20GB | `reComputer run comfyui` |
|
65
|
+
| 🆕 [Depth-Anything-V2](/reComputer/scripts/depth-anything-v2/README.md) |Computer Vision | | 15GB | `reComputer run depth-anything-v2` |
|
66
|
+
| [Depth-Anything](/reComputer/scripts/depth-anything/README.md) |Computer Vision | | 12.9GB | `reComputer run depth-anything` |
|
67
|
+
| [Yolov10](/reComputer/scripts/yolov10/README.md) | Computer Vision | 7.2M | 5.74 GB | `reComputer run yolov10` |
|
68
|
+
| Llama3 | Text (LLM) | 4.9GB | 10.5GB | `reComputer run llama3` |
|
69
|
+
| [Ollama](https://github.com/ollama/ollama) | Inference Server | * | 10.5GB | `reComputer run ollama` |
|
68
70
|
| LLaVA | Text + Vision (VLM) | 13GB | 14.4GB | `reComputer run llava` |
|
69
71
|
| Live LLaVA | Text + Vision (VLM) | 13GB | 20.3GB | `reComputer run live-llava` |
|
70
|
-
|
|
71
|
-
|
|
72
|
-
| [
|
73
|
-
|
|
74
|
-
| [
|
75
|
-
|
72
|
+
| Stable-diffusion-webui | Image Generation | 3.97G | 7.3GB | `reComputer run stable-diffusion-webui` |
|
73
|
+
| Nanoowl | Vision Transformers(ViT) | 613MB | 15.1GB | `reComputer run nanoowl` |
|
74
|
+
| [Nanodb](../reComputer/scripts/nanodb/readme.md) | Vector Database | 76GB | 7.0GB | `reComputer run nanodb` |
|
75
|
+
| Whisper | Audio | 1.5GB | 6.0GB | `reComputer run whisper` |
|
76
|
+
| [Yolov8-rail-inspection](/reComputer/scripts/yolov8-rail-inspection/readme.md) | Computer Vision | 6M | 13.8GB | `reComputer run yolov8-rail-inspection` |
|
77
|
+
|🆕 [Ultralytics-yolo](/reComputer/scripts/ultralytics-yolo/README.md) | Computer Vision | | 15.4GB | `reComputer run ultralytics-yolo` |
|
78
|
+
| 🆕 [TensorFlow MoveNet Thunder](/reComputer/scripts/MoveNet-Thunder/readme.md) |Computer Vision | | 7.7GB | `reComputer run MoveNet-Thunder` |
|
79
|
+
| 🆕 [Parler-TTS mini: expresso](/reComputer/scripts/parler-tts/readme.md) | Audio | | 6.9GB | `reComputer run parler-tts` |
|
76
80
|
|
77
81
|
|
78
82
|
> Note: You should have enough space to run example, like `LLaVA`, at least `27.4GB` totally
|
79
83
|
|
80
84
|
More Examples can be found [examples.md](./docs/examples.md)
|
81
85
|
|
82
|
-
##
|
86
|
+
## Calling Contributors Join Us!
|
87
|
+
|
88
|
+
### How to work with us?
|
89
|
+
|
83
90
|
Want to add your own example? Check out the [development guide](./docs/develop.md).
|
84
91
|
|
85
|
-
We welcome contributions to improve jetson-examples! If you have an example you'd like to share, please submit a pull request. Thank you to all of our contributors! 🙏
|
92
|
+
We welcome contributions to improve jetson-examples! If you have an example you'd like to share, please submit a pull request. Thank you to all of our contributors! 🙏
|
93
|
+
|
94
|
+
This open call is listed in our [Contributor Project](https://github.com/orgs/Seeed-Studio/projects/6/views/1?filterQuery=jetson&pane=issue&itemId=64891723). If this is your first time joining us, [click here](https://github.com/orgs/Seeed-Studio/projects/6/views/1?pane=issue&itemId=30957479) to learn how the project works. We follow the steps with:
|
95
|
+
|
96
|
+
|
97
|
+
- Assignments: We offer a variety of assignments to enhance wiki content, each with a detailed description.
|
98
|
+
- Submission: Contributors can submit their content via a Pull Request after completing the assignments.
|
99
|
+
- Review: Maintainers will merge the submission and record the contributions.
|
100
|
+
|
101
|
+
**Contributors receive a $250 cash bonus as a token of appreciation.**
|
102
|
+
|
103
|
+
For any questions or further information, feel free to reach out via the GitHub issues page or contact edgeai@seeed.cc
|
104
|
+
|
105
|
+
|
86
106
|
|
87
107
|
## TODO List
|
88
108
|
|
@@ -12,17 +12,56 @@ reComputer/scripts/check.sh
|
|
12
12
|
reComputer/scripts/clean.sh
|
13
13
|
reComputer/scripts/run.sh
|
14
14
|
reComputer/scripts/update.sh
|
15
|
+
reComputer/scripts/MoveNet-Lightning/clean.sh
|
16
|
+
reComputer/scripts/MoveNet-Lightning/getVersion.sh
|
17
|
+
reComputer/scripts/MoveNet-Lightning/init.sh
|
18
|
+
reComputer/scripts/MoveNet-Lightning/readme.md
|
19
|
+
reComputer/scripts/MoveNet-Lightning/run.sh
|
20
|
+
reComputer/scripts/MoveNet-Lightning/images/dance_movenet.gif
|
21
|
+
reComputer/scripts/MoveNet-Thunder/clean.sh
|
22
|
+
reComputer/scripts/MoveNet-Thunder/getVersion.sh
|
23
|
+
reComputer/scripts/MoveNet-Thunder/init.sh
|
24
|
+
reComputer/scripts/MoveNet-Thunder/readme.md
|
25
|
+
reComputer/scripts/MoveNet-Thunder/run.sh
|
26
|
+
reComputer/scripts/MoveNet-Thunder/images/dance_movenet.gif
|
27
|
+
reComputer/scripts/MoveNetJS/clean.sh
|
28
|
+
reComputer/scripts/MoveNetJS/readme.md
|
29
|
+
reComputer/scripts/MoveNetJS/run.sh
|
30
|
+
reComputer/scripts/MoveNetJS/images/dance.gif
|
15
31
|
reComputer/scripts/Sheared-LLaMA-2.7B-ShareGPT/init.sh
|
16
32
|
reComputer/scripts/Sheared-LLaMA-2.7B-ShareGPT/run.sh
|
17
33
|
reComputer/scripts/audiocraft/README.md
|
18
34
|
reComputer/scripts/audiocraft/clean.sh
|
19
35
|
reComputer/scripts/audiocraft/init.sh
|
20
36
|
reComputer/scripts/audiocraft/run.sh
|
37
|
+
reComputer/scripts/comfyui/LICENSE
|
38
|
+
reComputer/scripts/comfyui/README.md
|
39
|
+
reComputer/scripts/comfyui/clean.sh
|
40
|
+
reComputer/scripts/comfyui/config.yaml
|
41
|
+
reComputer/scripts/comfyui/init.sh
|
42
|
+
reComputer/scripts/comfyui/run.sh
|
43
|
+
reComputer/scripts/comfyui/images/comfyui.png
|
21
44
|
reComputer/scripts/depth-anything/Dockerfile
|
22
45
|
reComputer/scripts/depth-anything/LICENSE
|
23
46
|
reComputer/scripts/depth-anything/README.md
|
24
47
|
reComputer/scripts/depth-anything/clean.sh
|
48
|
+
reComputer/scripts/depth-anything/config.yaml
|
49
|
+
reComputer/scripts/depth-anything/init.sh
|
25
50
|
reComputer/scripts/depth-anything/run.sh
|
51
|
+
reComputer/scripts/depth-anything-v2/Dockerfile
|
52
|
+
reComputer/scripts/depth-anything-v2/LICENSE
|
53
|
+
reComputer/scripts/depth-anything-v2/README.md
|
54
|
+
reComputer/scripts/depth-anything-v2/clean.sh
|
55
|
+
reComputer/scripts/depth-anything-v2/config.yaml
|
56
|
+
reComputer/scripts/depth-anything-v2/init.sh
|
57
|
+
reComputer/scripts/depth-anything-v2/run.sh
|
58
|
+
reComputer/scripts/depth-anything-v2/images/Autonomous Driving.png
|
59
|
+
reComputer/scripts/depth-anything-v2/images/Indoor Scenes.png
|
60
|
+
reComputer/scripts/depth-anything-v2/images/Opr.png
|
61
|
+
reComputer/scripts/depth-anything-v2/images/Security.png
|
62
|
+
reComputer/scripts/depth-anything-v2/images/Underwater Scenes.png
|
63
|
+
reComputer/scripts/depth-anything-v2/images/WebUI.png
|
64
|
+
reComputer/scripts/depth-anything-v2/images/teaser.png
|
26
65
|
reComputer/scripts/depth-anything/images/Autonomous Driving.png
|
27
66
|
reComputer/scripts/depth-anything/images/Indoor Scenes.png
|
28
67
|
reComputer/scripts/depth-anything/images/Opr.png
|
@@ -37,7 +76,9 @@ reComputer/scripts/llama-factory/clean.sh
|
|
37
76
|
reComputer/scripts/llama-factory/init.sh
|
38
77
|
reComputer/scripts/llama-factory/run.sh
|
39
78
|
reComputer/scripts/llama-factory/assets/llama-factory-Jetson.png
|
79
|
+
reComputer/scripts/llama-factory/assets/training.gif
|
40
80
|
reComputer/scripts/llama-factory/assets/webui.png
|
81
|
+
reComputer/scripts/llama3/clean.sh
|
41
82
|
reComputer/scripts/llama3/init.sh
|
42
83
|
reComputer/scripts/llama3/run.sh
|
43
84
|
reComputer/scripts/llava/clean.sh
|
@@ -52,8 +93,16 @@ reComputer/scripts/nanodb/readme.md
|
|
52
93
|
reComputer/scripts/nanodb/run.sh
|
53
94
|
reComputer/scripts/nanoowl/init.sh
|
54
95
|
reComputer/scripts/nanoowl/run.sh
|
96
|
+
reComputer/scripts/ollama/clean.sh
|
55
97
|
reComputer/scripts/ollama/init.sh
|
56
98
|
reComputer/scripts/ollama/run.sh
|
99
|
+
reComputer/scripts/parler-tts/clean.sh
|
100
|
+
reComputer/scripts/parler-tts/getVersion.sh
|
101
|
+
reComputer/scripts/parler-tts/init.sh
|
102
|
+
reComputer/scripts/parler-tts/readme.md
|
103
|
+
reComputer/scripts/parler-tts/run.sh
|
104
|
+
reComputer/scripts/parler-tts/images/audio1.png
|
105
|
+
reComputer/scripts/parler-tts/images/audio2.png
|
57
106
|
reComputer/scripts/stable-diffusion-webui/init.sh
|
58
107
|
reComputer/scripts/stable-diffusion-webui/run.sh
|
59
108
|
reComputer/scripts/text-generation-webui/init.sh
|
@@ -61,9 +110,13 @@ reComputer/scripts/text-generation-webui/run.sh
|
|
61
110
|
reComputer/scripts/ultralytics-yolo/LICENSE
|
62
111
|
reComputer/scripts/ultralytics-yolo/README.md
|
63
112
|
reComputer/scripts/ultralytics-yolo/clean.sh
|
113
|
+
reComputer/scripts/ultralytics-yolo/config.yaml
|
114
|
+
reComputer/scripts/ultralytics-yolo/init.sh
|
64
115
|
reComputer/scripts/ultralytics-yolo/run.sh
|
65
116
|
reComputer/scripts/ultralytics-yolo/images/Ultralytics-yolo.gif
|
66
117
|
reComputer/scripts/ultralytics-yolo/images/tasks.png
|
118
|
+
reComputer/scripts/ultralytics-yolo/images/ultralytics_fig1.png
|
119
|
+
reComputer/scripts/ultralytics-yolo/images/ultralytics_fig2.png
|
67
120
|
reComputer/scripts/whisper/init.sh
|
68
121
|
reComputer/scripts/whisper/run.sh
|
69
122
|
reComputer/scripts/yolov10/Dockerfile
|
@@ -73,9 +126,4 @@ reComputer/scripts/yolov10/init.sh
|
|
73
126
|
reComputer/scripts/yolov10/run.sh
|
74
127
|
reComputer/scripts/yolov10/assets/webui.png
|
75
128
|
reComputer/scripts/yolov8-rail-inspection/readme.md
|
76
|
-
reComputer/scripts/yolov8-rail-inspection/run.sh
|
77
|
-
reComputer/scripts/yolov8:detect/Dockerfile
|
78
|
-
reComputer/scripts/yolov8:detect/README.txt
|
79
|
-
reComputer/scripts/yolov8:detect/app.py
|
80
|
-
reComputer/scripts/yolov8:detect/run.sh
|
81
|
-
reComputer/scripts/yolov8:detect/templates/index.html
|
129
|
+
reComputer/scripts/yolov8-rail-inspection/run.sh
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "jetson-examples"
|
7
|
-
version = "0.1.
|
7
|
+
version = "0.1.6"
|
8
8
|
authors = [{ name = "luozhixin", email = "zhixin.luo@seeed.cc" }]
|
9
9
|
description = "Running Gen AI models and applications on NVIDIA Jetson devices with one-line command"
|
10
10
|
readme = "README.md"
|
@@ -24,7 +24,7 @@ def run_script():
|
|
24
24
|
example_name = sys.argv[2]
|
25
25
|
# TODO: maybe use python instead of shell is better
|
26
26
|
subprocess.run(["bash", path_of_script("run.sh"), example_name])
|
27
|
-
|
27
|
+
elif sys.argv[1] == "clean":
|
28
28
|
example_name = sys.argv[2]
|
29
29
|
subprocess.run(["bash", path_of_script("clean.sh"), example_name])
|
30
30
|
else:
|
@@ -0,0 +1,59 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
# based on dusty - https://github.com/dusty-nv/jetson-containers/blob/master/jetson_containers/l4t_version.sh
|
3
|
+
# and llama-factory init script
|
4
|
+
|
5
|
+
# we only have images for these - 36.2.0 works on 36.3.0
|
6
|
+
L4T_VERSIONS=("35.3.1", "35.4.1", "36.2.0", "36.3.0")
|
7
|
+
|
8
|
+
ARCH=$(uname -i)
|
9
|
+
# echo "ARCH: $ARCH"
|
10
|
+
|
11
|
+
if [ $ARCH = "aarch64" ]; then
|
12
|
+
L4T_VERSION_STRING=$(head -n 1 /etc/nv_tegra_release)
|
13
|
+
|
14
|
+
if [ -z "$L4T_VERSION_STRING" ]; then
|
15
|
+
#echo "reading L4T version from \"dpkg-query --show nvidia-l4t-core\""
|
16
|
+
|
17
|
+
L4T_VERSION_STRING=$(dpkg-query --showformat='${Version}' --show nvidia-l4t-core)
|
18
|
+
L4T_VERSION_ARRAY=(${L4T_VERSION_STRING//./ })
|
19
|
+
|
20
|
+
#echo ${L4T_VERSION_ARRAY[@]}
|
21
|
+
#echo ${#L4T_VERSION_ARRAY[@]}
|
22
|
+
|
23
|
+
L4T_RELEASE=${L4T_VERSION_ARRAY[0]}
|
24
|
+
L4T_REVISION=${L4T_VERSION_ARRAY[1]}
|
25
|
+
else
|
26
|
+
#echo "reading L4T version from /etc/nv_tegra_release"
|
27
|
+
|
28
|
+
L4T_RELEASE=$(echo $L4T_VERSION_STRING | cut -f 2 -d ' ' | grep -Po '(?<=R)[^;]+')
|
29
|
+
L4T_REVISION=$(echo $L4T_VERSION_STRING | cut -f 2 -d ',' | grep -Po '(?<=REVISION: )[^;]+')
|
30
|
+
fi
|
31
|
+
|
32
|
+
L4T_REVISION_MAJOR=${L4T_REVISION:0:1}
|
33
|
+
L4T_REVISION_MINOR=${L4T_REVISION:2:1}
|
34
|
+
|
35
|
+
L4T_VERSION="$L4T_RELEASE.$L4T_REVISION"
|
36
|
+
|
37
|
+
IMAGE_TAG=$L4T_VERSION
|
38
|
+
|
39
|
+
#echo "L4T_VERSION : $L4T_VERSION"
|
40
|
+
#echo "L4T_RELEASE : $L4T_RELEASE"
|
41
|
+
#echo "L4T_REVISION: $L4T_REVISION"
|
42
|
+
|
43
|
+
elif [ $ARCH != "x86_64" ]; then
|
44
|
+
echo "unsupported architecture: $ARCH"
|
45
|
+
exit 1
|
46
|
+
fi
|
47
|
+
|
48
|
+
|
49
|
+
if [[ ! " ${L4T_VERSIONS[@]} " =~ " ${L4T_VERSION} " ]]; then
|
50
|
+
echo "L4T_VERSION is not in the allowed versions list. Exiting."
|
51
|
+
exit 1
|
52
|
+
fi
|
53
|
+
|
54
|
+
# check if 36 to change IMAGE_TAG
|
55
|
+
if [ ${L4T_RELEASE} -eq "36" ]; then
|
56
|
+
# image tag will be 2.0
|
57
|
+
IMAGE_TAG="36.2.0"
|
58
|
+
fi
|
59
|
+
|
Binary file
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# MoveNet
|
2
|
+
|
3
|
+
MoveNet is a ultra fast and accurate pose detection model.
|
4
|
+
|
5
|
+
We're demonstrating here using reComputer J402 and with MoveNet Lightning version
|
6
|
+
|
7
|
+

|
8
|
+
|
9
|
+
You can get more information on MoveNet from [TensorFlow](https://www.tensorflow.org/hub/tutorials/movenet)
|
10
|
+
|
11
|
+
## Getting started
|
12
|
+
#### Prerequisites
|
13
|
+
* SeeedStudio reComputer J402 [Buy one](https://www.seeedstudio.com/reComputer-J4012-p-5586.html)
|
14
|
+
* Webcam connected to reComputer
|
15
|
+
* Graphical desktop
|
16
|
+
* Docker installed
|
17
|
+
|
18
|
+
## Instalation
|
19
|
+
PyPI (best)
|
20
|
+
|
21
|
+
```bash
|
22
|
+
pip install jetson-examples
|
23
|
+
```
|
24
|
+
|
25
|
+
## Usage
|
26
|
+
1. Type the following command in a terminal
|
27
|
+
```bash
|
28
|
+
reComputer run MoveNet-Lightning
|
29
|
+
```
|
30
|
+
2. Start moving in front of the camera
|
@@ -0,0 +1,19 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
|
3
|
+
# get L4T version
|
4
|
+
# it exports a variable IMAGE_TAG
|
5
|
+
source ./getVersion.sh
|
6
|
+
|
7
|
+
# pull docker image
|
8
|
+
|
9
|
+
docker pull feiticeir0/movenet-lightning:tf2-${IMAGE_TAG}"
|
10
|
+
|
11
|
+
docker run \
|
12
|
+
-e DISPLAY=$DISPLAY \
|
13
|
+
--runtime=nvidia \
|
14
|
+
--rm \
|
15
|
+
--device /dev/video0 \
|
16
|
+
-v /tmp/.X11-unix:/tmp/.X11-unix \
|
17
|
+
feiticeir0/movenet-lightning:tf2-${IMAGE_TAG}"
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,59 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
# based on dusty - https://github.com/dusty-nv/jetson-containers/blob/master/jetson_containers/l4t_version.sh
|
3
|
+
# and llama-factory init script
|
4
|
+
|
5
|
+
# we only have images for these - 36.2.0 works on 36.3.0
|
6
|
+
L4T_VERSIONS=("35.3.1", "35.4.1", "36.2.0", "36.3.0")
|
7
|
+
|
8
|
+
ARCH=$(uname -i)
|
9
|
+
# echo "ARCH: $ARCH"
|
10
|
+
|
11
|
+
if [ $ARCH = "aarch64" ]; then
|
12
|
+
L4T_VERSION_STRING=$(head -n 1 /etc/nv_tegra_release)
|
13
|
+
|
14
|
+
if [ -z "$L4T_VERSION_STRING" ]; then
|
15
|
+
#echo "reading L4T version from \"dpkg-query --show nvidia-l4t-core\""
|
16
|
+
|
17
|
+
L4T_VERSION_STRING=$(dpkg-query --showformat='${Version}' --show nvidia-l4t-core)
|
18
|
+
L4T_VERSION_ARRAY=(${L4T_VERSION_STRING//./ })
|
19
|
+
|
20
|
+
#echo ${L4T_VERSION_ARRAY[@]}
|
21
|
+
#echo ${#L4T_VERSION_ARRAY[@]}
|
22
|
+
|
23
|
+
L4T_RELEASE=${L4T_VERSION_ARRAY[0]}
|
24
|
+
L4T_REVISION=${L4T_VERSION_ARRAY[1]}
|
25
|
+
else
|
26
|
+
#echo "reading L4T version from /etc/nv_tegra_release"
|
27
|
+
|
28
|
+
L4T_RELEASE=$(echo $L4T_VERSION_STRING | cut -f 2 -d ' ' | grep -Po '(?<=R)[^;]+')
|
29
|
+
L4T_REVISION=$(echo $L4T_VERSION_STRING | cut -f 2 -d ',' | grep -Po '(?<=REVISION: )[^;]+')
|
30
|
+
fi
|
31
|
+
|
32
|
+
L4T_REVISION_MAJOR=${L4T_REVISION:0:1}
|
33
|
+
L4T_REVISION_MINOR=${L4T_REVISION:2:1}
|
34
|
+
|
35
|
+
L4T_VERSION="$L4T_RELEASE.$L4T_REVISION"
|
36
|
+
|
37
|
+
IMAGE_TAG=$L4T_VERSION
|
38
|
+
|
39
|
+
#echo "L4T_VERSION : $L4T_VERSION"
|
40
|
+
#echo "L4T_RELEASE : $L4T_RELEASE"
|
41
|
+
#echo "L4T_REVISION: $L4T_REVISION"
|
42
|
+
|
43
|
+
elif [ $ARCH != "x86_64" ]; then
|
44
|
+
echo "unsupported architecture: $ARCH"
|
45
|
+
exit 1
|
46
|
+
fi
|
47
|
+
|
48
|
+
|
49
|
+
if [[ ! " ${L4T_VERSIONS[@]} " =~ " ${L4T_VERSION} " ]]; then
|
50
|
+
echo "L4T_VERSION is not in the allowed versions list. Exiting."
|
51
|
+
exit 1
|
52
|
+
fi
|
53
|
+
|
54
|
+
# check if 36 to change IMAGE_TAG
|
55
|
+
if [ ${L4T_RELEASE} -eq "36" ]; then
|
56
|
+
# image tag will be 2.0
|
57
|
+
IMAGE_TAG="36.2.0"
|
58
|
+
fi
|
59
|
+
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# MoveNet
|
2
|
+
|
3
|
+
MoveNet is a ultra fast and accurate pose detection model.
|
4
|
+
|
5
|
+
We're demonstrating here using reComputer J402 and with MoveNet Thunder version
|
6
|
+
|
7
|
+

|
8
|
+
|
9
|
+
You can get more information on MoveNet from [TensorFlow](https://www.tensorflow.org/hub/tutorials/movenet)
|
10
|
+
|
11
|
+
## Getting started
|
12
|
+
#### Prerequisites
|
13
|
+
* SeeedStudio reComputer J402 [Buy one](https://www.seeedstudio.com/reComputer-J4012-p-5586.html)
|
14
|
+
* Webcam connected to reComputer
|
15
|
+
* Graphical desktop
|
16
|
+
* Docker installed
|
17
|
+
|
18
|
+
## Instalation
|
19
|
+
PyPI (best)
|
20
|
+
|
21
|
+
```bash
|
22
|
+
pip install jetson-examples
|
23
|
+
```
|
24
|
+
|
25
|
+
## Usage
|
26
|
+
1. Type the following command in a terminal
|
27
|
+
```bash
|
28
|
+
reComputer run MoveNet-Thunder
|
29
|
+
```
|
30
|
+
2. Start moving in front of the camera
|
31
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
|
3
|
+
# get L4T version
|
4
|
+
# it exports a variable IMAGE_TAG
|
5
|
+
source ./getVersion.sh
|
6
|
+
|
7
|
+
# pull docker image
|
8
|
+
docker pull feiticeir0/movenet-thunder:tf2-${IMAGE_TAG}
|
9
|
+
|
10
|
+
docker run \
|
11
|
+
-e DISPLAY=$DISPLAY \
|
12
|
+
--runtime=nvidia \
|
13
|
+
--rm \
|
14
|
+
--device /dev/video0 \
|
15
|
+
-v /tmp/.X11-unix:/tmp/.X11-unix \
|
16
|
+
feiticeir0/movenet-thunder:tf2-${IMAGE_TAG}
|
17
|
+
|
18
|
+
|
Binary file
|