jetson-examples 0.1.5__tar.gz → 0.1.7__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.
Files changed (125) hide show
  1. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/LICENSE +0 -0
  2. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/PKG-INFO +35 -15
  3. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/README.md +34 -14
  4. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/jetson_examples.egg-info/PKG-INFO +35 -15
  5. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/jetson_examples.egg-info/SOURCES.txt +39 -15
  6. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/pyproject.toml +1 -1
  7. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/main.py +1 -1
  8. jetson_examples-0.1.7/reComputer/scripts/MoveNet-Lightning/clean.sh +8 -0
  9. jetson_examples-0.1.7/reComputer/scripts/MoveNet-Lightning/getVersion.sh +59 -0
  10. jetson_examples-0.1.7/reComputer/scripts/MoveNet-Lightning/init.sh +6 -0
  11. jetson_examples-0.1.7/reComputer/scripts/MoveNet-Lightning/readme.md +30 -0
  12. jetson_examples-0.1.7/reComputer/scripts/MoveNet-Lightning/run.sh +19 -0
  13. jetson_examples-0.1.7/reComputer/scripts/MoveNet-Thunder/clean.sh +7 -0
  14. jetson_examples-0.1.7/reComputer/scripts/MoveNet-Thunder/getVersion.sh +59 -0
  15. jetson_examples-0.1.7/reComputer/scripts/MoveNet-Thunder/init.sh +6 -0
  16. jetson_examples-0.1.7/reComputer/scripts/MoveNet-Thunder/readme.md +31 -0
  17. jetson_examples-0.1.7/reComputer/scripts/MoveNet-Thunder/run.sh +18 -0
  18. jetson_examples-0.1.7/reComputer/scripts/MoveNetJS/clean.sh +4 -0
  19. jetson_examples-0.1.7/reComputer/scripts/MoveNetJS/readme.md +56 -0
  20. jetson_examples-0.1.7/reComputer/scripts/MoveNetJS/run.sh +13 -0
  21. jetson_examples-0.1.7/reComputer/scripts/comfyui/README.md +127 -0
  22. jetson_examples-0.1.7/reComputer/scripts/comfyui/clean.sh +7 -0
  23. jetson_examples-0.1.7/reComputer/scripts/comfyui/config.yaml +29 -0
  24. jetson_examples-0.1.7/reComputer/scripts/comfyui/init.sh +163 -0
  25. jetson_examples-0.1.7/reComputer/scripts/comfyui/run.sh +30 -0
  26. jetson_examples-0.1.7/reComputer/scripts/depth-anything/Dockerfile +6 -0
  27. jetson_examples-0.1.7/reComputer/scripts/depth-anything/LICENSE +21 -0
  28. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/depth-anything/README.md +33 -0
  29. jetson_examples-0.1.7/reComputer/scripts/depth-anything/clean.sh +8 -0
  30. jetson_examples-0.1.7/reComputer/scripts/depth-anything/config.yaml +31 -0
  31. jetson_examples-0.1.7/reComputer/scripts/depth-anything/init.sh +164 -0
  32. jetson_examples-0.1.7/reComputer/scripts/depth-anything/run.sh +22 -0
  33. jetson_examples-0.1.7/reComputer/scripts/depth-anything-v2/README.md +135 -0
  34. jetson_examples-0.1.7/reComputer/scripts/depth-anything-v2/clean.sh +8 -0
  35. jetson_examples-0.1.7/reComputer/scripts/depth-anything-v2/config.yaml +31 -0
  36. jetson_examples-0.1.7/reComputer/scripts/depth-anything-v2/init.sh +164 -0
  37. jetson_examples-0.1.7/reComputer/scripts/depth-anything-v2/run.sh +22 -0
  38. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/llama-factory/README.md +5 -4
  39. jetson_examples-0.1.5/reComputer/scripts/ultralytics-yolo/images/Ultralytics-yolo.gif → jetson_examples-0.1.7/reComputer/scripts/llama-factory/assets/training.gif +0 -0
  40. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/llama-factory/init.sh +0 -0
  41. jetson_examples-0.1.7/reComputer/scripts/llama3/clean.sh +22 -0
  42. jetson_examples-0.1.7/reComputer/scripts/ollama/clean.sh +22 -0
  43. jetson_examples-0.1.7/reComputer/scripts/parler-tts/clean.sh +7 -0
  44. jetson_examples-0.1.7/reComputer/scripts/parler-tts/getVersion.sh +59 -0
  45. jetson_examples-0.1.7/reComputer/scripts/parler-tts/init.sh +8 -0
  46. jetson_examples-0.1.7/reComputer/scripts/parler-tts/readme.md +63 -0
  47. jetson_examples-0.1.7/reComputer/scripts/parler-tts/run.sh +17 -0
  48. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/run.sh +5 -0
  49. jetson_examples-0.1.7/reComputer/scripts/ultralytics-yolo/LICENSE +21 -0
  50. jetson_examples-0.1.7/reComputer/scripts/ultralytics-yolo/README.md +124 -0
  51. jetson_examples-0.1.7/reComputer/scripts/ultralytics-yolo/clean.sh +7 -0
  52. jetson_examples-0.1.7/reComputer/scripts/ultralytics-yolo/config.yaml +32 -0
  53. jetson_examples-0.1.7/reComputer/scripts/ultralytics-yolo/init.sh +176 -0
  54. jetson_examples-0.1.7/reComputer/scripts/ultralytics-yolo/run.sh +25 -0
  55. jetson_examples-0.1.5/reComputer/scripts/depth-anything/clean.sh +0 -3
  56. jetson_examples-0.1.5/reComputer/scripts/depth-anything/images/Autonomous Driving.png +0 -0
  57. jetson_examples-0.1.5/reComputer/scripts/depth-anything/images/Indoor Scenes.png +0 -0
  58. jetson_examples-0.1.5/reComputer/scripts/depth-anything/images/Opr.png +0 -0
  59. jetson_examples-0.1.5/reComputer/scripts/depth-anything/images/Security.png +0 -0
  60. jetson_examples-0.1.5/reComputer/scripts/depth-anything/images/Underwater Scenes.png +0 -0
  61. jetson_examples-0.1.5/reComputer/scripts/depth-anything/images/WebUI.png +0 -0
  62. jetson_examples-0.1.5/reComputer/scripts/depth-anything/images/teaser.png +0 -0
  63. jetson_examples-0.1.5/reComputer/scripts/depth-anything/run.sh +0 -12
  64. jetson_examples-0.1.5/reComputer/scripts/ultralytics-yolo/README.md +0 -50
  65. jetson_examples-0.1.5/reComputer/scripts/ultralytics-yolo/clean.sh +0 -3
  66. jetson_examples-0.1.5/reComputer/scripts/ultralytics-yolo/images/tasks.png +0 -0
  67. jetson_examples-0.1.5/reComputer/scripts/ultralytics-yolo/run.sh +0 -12
  68. jetson_examples-0.1.5/reComputer/scripts/yolov8:detect/Dockerfile +0 -9
  69. jetson_examples-0.1.5/reComputer/scripts/yolov8:detect/README.txt +0 -32
  70. jetson_examples-0.1.5/reComputer/scripts/yolov8:detect/app.py +0 -47
  71. jetson_examples-0.1.5/reComputer/scripts/yolov8:detect/run.sh +0 -3
  72. jetson_examples-0.1.5/reComputer/scripts/yolov8:detect/templates/index.html +0 -27
  73. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/jetson_examples.egg-info/dependency_links.txt +0 -0
  74. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/jetson_examples.egg-info/entry_points.txt +0 -0
  75. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/jetson_examples.egg-info/top_level.txt +0 -0
  76. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/__init__.py +0 -0
  77. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/Sheared-LLaMA-2.7B-ShareGPT/init.sh +0 -0
  78. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/Sheared-LLaMA-2.7B-ShareGPT/run.sh +0 -0
  79. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/audiocraft/README.md +0 -0
  80. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/audiocraft/clean.sh +0 -0
  81. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/audiocraft/init.sh +0 -0
  82. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/audiocraft/run.sh +0 -0
  83. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/check.sh +0 -0
  84. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/clean.sh +0 -0
  85. {jetson_examples-0.1.5/reComputer/scripts/depth-anything → jetson_examples-0.1.7/reComputer/scripts/comfyui}/LICENSE +0 -0
  86. {jetson_examples-0.1.5/reComputer/scripts/depth-anything → jetson_examples-0.1.7/reComputer/scripts/depth-anything-v2}/Dockerfile +0 -0
  87. {jetson_examples-0.1.5/reComputer/scripts/ultralytics-yolo → jetson_examples-0.1.7/reComputer/scripts/depth-anything-v2}/LICENSE +0 -0
  88. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/live-llava/init.sh +0 -0
  89. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/live-llava/run.sh +0 -0
  90. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/llama-factory/assets/llama-factory-Jetson.png +0 -0
  91. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/llama-factory/assets/webui.png +0 -0
  92. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/llama-factory/clean.sh +0 -0
  93. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/llama-factory/run.sh +0 -0
  94. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/llama3/init.sh +0 -0
  95. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/llama3/run.sh +0 -0
  96. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/llava/clean.sh +0 -0
  97. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/llava/init.sh +0 -0
  98. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/llava/run.sh +0 -0
  99. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/llava-v1.5-7b/init.sh +0 -0
  100. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/llava-v1.5-7b/run.sh +0 -0
  101. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/llava-v1.6-vicuna-7b/init.sh +0 -0
  102. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/llava-v1.6-vicuna-7b/run.sh +0 -0
  103. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/nanodb/init.sh +0 -0
  104. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/nanodb/readme.md +0 -0
  105. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/nanodb/run.sh +0 -0
  106. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/nanoowl/init.sh +0 -0
  107. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/nanoowl/run.sh +0 -0
  108. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/ollama/init.sh +0 -0
  109. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/ollama/run.sh +0 -0
  110. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/stable-diffusion-webui/init.sh +0 -0
  111. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/stable-diffusion-webui/run.sh +0 -0
  112. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/text-generation-webui/init.sh +0 -0
  113. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/text-generation-webui/run.sh +0 -0
  114. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/update.sh +0 -0
  115. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/whisper/init.sh +0 -0
  116. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/whisper/run.sh +0 -0
  117. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/yolov10/Dockerfile +0 -0
  118. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/yolov10/README.md +0 -0
  119. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/yolov10/assets/webui.png +0 -0
  120. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/yolov10/clean.sh +0 -0
  121. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/yolov10/init.sh +0 -0
  122. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/yolov10/run.sh +0 -0
  123. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/yolov8-rail-inspection/readme.md +0 -0
  124. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/reComputer/scripts/yolov8-rail-inspection/run.sh +0 -0
  125. {jetson_examples-0.1.5 → jetson_examples-0.1.7}/setup.cfg +0 -0
File without changes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: jetson-examples
3
- Version: 0.1.5
3
+ Version: 0.1.7
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="center">
18
+ <div align="">
19
19
  <img alt="jetson" width="1200px" src="https://files.seeedstudio.com/wiki/reComputer-Jetson/jetson-examples/Jetson1200x300.png">
20
- </div>
20
+ </dev>
21
21
 
22
22
  [![Discord](https://dcbadge.vercel.app/api/server/5BQCkty7vN?style=flat&compact=true)](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
- | 🆕 [depth-anything](/reComputer/scripts/depth-anything/README.md) |Computer Vision | | 12.9GB | `reComputer run depth-anything` |
65
- | [yolov10](/reComputer/scripts/yolov10/README.md) | Computer Vision | 7.2M | 5.74 GB | `reComputer run yolov10` |
66
- | llama3 | Text (LLM) | 4.9GB | 10.5GB | `reComputer run llama3` |
67
- | [ollama](https://github.com/ollama/ollama) | Inference Server | * | 10.5GB | `reComputer run ollama` |
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
- | stable-diffusion-webui | Image Generation | 3.97G | 7.3GB | `reComputer run stable-diffusion-webui` |
71
- | nanoowl | Vision Transformers(ViT) | 613MB | 15.1GB | `reComputer run nanoowl` |
72
- | [nanodb](../reComputer/scripts/nanodb/readme.md) | Vector Database | 76GB | 7.0GB | `reComputer run nanodb` |
73
- | whisper | Audio | 1.5GB | 6.0GB | `reComputer run whisper` |
74
- | [yolov8-rail-inspection](/reComputer/scripts/yolov8-rail-inspection/readme.md) |Computer Vision | 6M | 13.8GB | `reComputer run yolov8-rail-inspection` |
75
- | [ultralytics-yolo](/reComputer/scripts/ultralytics-yolo/README.md) |Computer Vision | | 15.4GB | `reComputer run ultralytics-yolo` |
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
- ## Development
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="center">
3
+ <div align="">
4
4
  <img alt="jetson" width="1200px" src="https://files.seeedstudio.com/wiki/reComputer-Jetson/jetson-examples/Jetson1200x300.png">
5
- </div>
5
+ </dev>
6
6
 
7
7
  [![Discord](https://dcbadge.vercel.app/api/server/5BQCkty7vN?style=flat&compact=true)](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
- | 🆕 [depth-anything](/reComputer/scripts/depth-anything/README.md) |Computer Vision | | 12.9GB | `reComputer run depth-anything` |
50
- | [yolov10](/reComputer/scripts/yolov10/README.md) | Computer Vision | 7.2M | 5.74 GB | `reComputer run yolov10` |
51
- | llama3 | Text (LLM) | 4.9GB | 10.5GB | `reComputer run llama3` |
52
- | [ollama](https://github.com/ollama/ollama) | Inference Server | * | 10.5GB | `reComputer run ollama` |
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
- | stable-diffusion-webui | Image Generation | 3.97G | 7.3GB | `reComputer run stable-diffusion-webui` |
56
- | nanoowl | Vision Transformers(ViT) | 613MB | 15.1GB | `reComputer run nanoowl` |
57
- | [nanodb](../reComputer/scripts/nanodb/readme.md) | Vector Database | 76GB | 7.0GB | `reComputer run nanodb` |
58
- | whisper | Audio | 1.5GB | 6.0GB | `reComputer run whisper` |
59
- | [yolov8-rail-inspection](/reComputer/scripts/yolov8-rail-inspection/readme.md) |Computer Vision | 6M | 13.8GB | `reComputer run yolov8-rail-inspection` |
60
- | [ultralytics-yolo](/reComputer/scripts/ultralytics-yolo/README.md) |Computer Vision | | 15.4GB | `reComputer run ultralytics-yolo` |
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
- ## Development
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.5
3
+ Version: 0.1.7
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="center">
18
+ <div align="">
19
19
  <img alt="jetson" width="1200px" src="https://files.seeedstudio.com/wiki/reComputer-Jetson/jetson-examples/Jetson1200x300.png">
20
- </div>
20
+ </dev>
21
21
 
22
22
  [![Discord](https://dcbadge.vercel.app/api/server/5BQCkty7vN?style=flat&compact=true)](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
- | 🆕 [depth-anything](/reComputer/scripts/depth-anything/README.md) |Computer Vision | | 12.9GB | `reComputer run depth-anything` |
65
- | [yolov10](/reComputer/scripts/yolov10/README.md) | Computer Vision | 7.2M | 5.74 GB | `reComputer run yolov10` |
66
- | llama3 | Text (LLM) | 4.9GB | 10.5GB | `reComputer run llama3` |
67
- | [ollama](https://github.com/ollama/ollama) | Inference Server | * | 10.5GB | `reComputer run ollama` |
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
- | stable-diffusion-webui | Image Generation | 3.97G | 7.3GB | `reComputer run stable-diffusion-webui` |
71
- | nanoowl | Vision Transformers(ViT) | 613MB | 15.1GB | `reComputer run nanoowl` |
72
- | [nanodb](../reComputer/scripts/nanodb/readme.md) | Vector Database | 76GB | 7.0GB | `reComputer run nanodb` |
73
- | whisper | Audio | 1.5GB | 6.0GB | `reComputer run whisper` |
74
- | [yolov8-rail-inspection](/reComputer/scripts/yolov8-rail-inspection/readme.md) |Computer Vision | 6M | 13.8GB | `reComputer run yolov8-rail-inspection` |
75
- | [ultralytics-yolo](/reComputer/scripts/ultralytics-yolo/README.md) |Computer Vision | | 15.4GB | `reComputer run ultralytics-yolo` |
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
- ## Development
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,24 +12,45 @@ 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-Thunder/clean.sh
21
+ reComputer/scripts/MoveNet-Thunder/getVersion.sh
22
+ reComputer/scripts/MoveNet-Thunder/init.sh
23
+ reComputer/scripts/MoveNet-Thunder/readme.md
24
+ reComputer/scripts/MoveNet-Thunder/run.sh
25
+ reComputer/scripts/MoveNetJS/clean.sh
26
+ reComputer/scripts/MoveNetJS/readme.md
27
+ reComputer/scripts/MoveNetJS/run.sh
15
28
  reComputer/scripts/Sheared-LLaMA-2.7B-ShareGPT/init.sh
16
29
  reComputer/scripts/Sheared-LLaMA-2.7B-ShareGPT/run.sh
17
30
  reComputer/scripts/audiocraft/README.md
18
31
  reComputer/scripts/audiocraft/clean.sh
19
32
  reComputer/scripts/audiocraft/init.sh
20
33
  reComputer/scripts/audiocraft/run.sh
34
+ reComputer/scripts/comfyui/LICENSE
35
+ reComputer/scripts/comfyui/README.md
36
+ reComputer/scripts/comfyui/clean.sh
37
+ reComputer/scripts/comfyui/config.yaml
38
+ reComputer/scripts/comfyui/init.sh
39
+ reComputer/scripts/comfyui/run.sh
21
40
  reComputer/scripts/depth-anything/Dockerfile
22
41
  reComputer/scripts/depth-anything/LICENSE
23
42
  reComputer/scripts/depth-anything/README.md
24
43
  reComputer/scripts/depth-anything/clean.sh
44
+ reComputer/scripts/depth-anything/config.yaml
45
+ reComputer/scripts/depth-anything/init.sh
25
46
  reComputer/scripts/depth-anything/run.sh
26
- reComputer/scripts/depth-anything/images/Autonomous Driving.png
27
- reComputer/scripts/depth-anything/images/Indoor Scenes.png
28
- reComputer/scripts/depth-anything/images/Opr.png
29
- reComputer/scripts/depth-anything/images/Security.png
30
- reComputer/scripts/depth-anything/images/Underwater Scenes.png
31
- reComputer/scripts/depth-anything/images/WebUI.png
32
- reComputer/scripts/depth-anything/images/teaser.png
47
+ reComputer/scripts/depth-anything-v2/Dockerfile
48
+ reComputer/scripts/depth-anything-v2/LICENSE
49
+ reComputer/scripts/depth-anything-v2/README.md
50
+ reComputer/scripts/depth-anything-v2/clean.sh
51
+ reComputer/scripts/depth-anything-v2/config.yaml
52
+ reComputer/scripts/depth-anything-v2/init.sh
53
+ reComputer/scripts/depth-anything-v2/run.sh
33
54
  reComputer/scripts/live-llava/init.sh
34
55
  reComputer/scripts/live-llava/run.sh
35
56
  reComputer/scripts/llama-factory/README.md
@@ -37,7 +58,9 @@ reComputer/scripts/llama-factory/clean.sh
37
58
  reComputer/scripts/llama-factory/init.sh
38
59
  reComputer/scripts/llama-factory/run.sh
39
60
  reComputer/scripts/llama-factory/assets/llama-factory-Jetson.png
61
+ reComputer/scripts/llama-factory/assets/training.gif
40
62
  reComputer/scripts/llama-factory/assets/webui.png
63
+ reComputer/scripts/llama3/clean.sh
41
64
  reComputer/scripts/llama3/init.sh
42
65
  reComputer/scripts/llama3/run.sh
43
66
  reComputer/scripts/llava/clean.sh
@@ -52,8 +75,14 @@ reComputer/scripts/nanodb/readme.md
52
75
  reComputer/scripts/nanodb/run.sh
53
76
  reComputer/scripts/nanoowl/init.sh
54
77
  reComputer/scripts/nanoowl/run.sh
78
+ reComputer/scripts/ollama/clean.sh
55
79
  reComputer/scripts/ollama/init.sh
56
80
  reComputer/scripts/ollama/run.sh
81
+ reComputer/scripts/parler-tts/clean.sh
82
+ reComputer/scripts/parler-tts/getVersion.sh
83
+ reComputer/scripts/parler-tts/init.sh
84
+ reComputer/scripts/parler-tts/readme.md
85
+ reComputer/scripts/parler-tts/run.sh
57
86
  reComputer/scripts/stable-diffusion-webui/init.sh
58
87
  reComputer/scripts/stable-diffusion-webui/run.sh
59
88
  reComputer/scripts/text-generation-webui/init.sh
@@ -61,9 +90,9 @@ reComputer/scripts/text-generation-webui/run.sh
61
90
  reComputer/scripts/ultralytics-yolo/LICENSE
62
91
  reComputer/scripts/ultralytics-yolo/README.md
63
92
  reComputer/scripts/ultralytics-yolo/clean.sh
93
+ reComputer/scripts/ultralytics-yolo/config.yaml
94
+ reComputer/scripts/ultralytics-yolo/init.sh
64
95
  reComputer/scripts/ultralytics-yolo/run.sh
65
- reComputer/scripts/ultralytics-yolo/images/Ultralytics-yolo.gif
66
- reComputer/scripts/ultralytics-yolo/images/tasks.png
67
96
  reComputer/scripts/whisper/init.sh
68
97
  reComputer/scripts/whisper/run.sh
69
98
  reComputer/scripts/yolov10/Dockerfile
@@ -73,9 +102,4 @@ reComputer/scripts/yolov10/init.sh
73
102
  reComputer/scripts/yolov10/run.sh
74
103
  reComputer/scripts/yolov10/assets/webui.png
75
104
  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
105
+ 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.5"
7
+ version = "0.1.7"
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
- if sys.argv[1] == "clean":
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,8 @@
1
+ #!/bin/bash
2
+
3
+
4
+ # get image
5
+ source ./getVersion.sh
6
+
7
+ # remove docker image
8
+ sudo docker rmi feiticeir0/movenet:tf2-${IMAGE_TAG}
@@ -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,6 @@
1
+ #!/bin/bash
2
+
3
+ # Let's allow connections
4
+ xhost +local:docker
5
+
6
+
@@ -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
+ ![movenet working](images/dance_movenet.gif)
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,7 @@
1
+ #!/bin/bash
2
+
3
+ # get image
4
+ source ./getVersion.sh
5
+
6
+ # remove docker image
7
+ sudo docker rmi feiticeir0/movenet:tf2-${TAG_IMAGE}
@@ -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,6 @@
1
+ #!/bin/bash
2
+
3
+ # Let's allow connections
4
+ xhost +local:docker
5
+
6
+
@@ -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
+ ![movenet working](images/dance_movenet.gif)
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
+
@@ -0,0 +1,4 @@
1
+ #!/bin/bash
2
+
3
+ # remove docker image
4
+ sudo docker rmi feiticeir0/movenetjs:latest