jetson-examples 0.1.7__py3-none-any.whl → 0.1.8__py3-none-any.whl

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 (104) hide show
  1. {jetson_examples-0.1.7.dist-info → jetson_examples-0.1.8.dist-info}/LICENSE +21 -21
  2. {jetson_examples-0.1.7.dist-info → jetson_examples-0.1.8.dist-info}/METADATA +8 -8
  3. jetson_examples-0.1.8.dist-info/RECORD +107 -0
  4. {jetson_examples-0.1.7.dist-info → jetson_examples-0.1.8.dist-info}/WHEEL +1 -1
  5. reComputer/__init__.py +1 -1
  6. reComputer/main.py +60 -60
  7. reComputer/scripts/MoveNet-Lightning/clean.sh +8 -8
  8. reComputer/scripts/MoveNet-Lightning/getVersion.sh +59 -59
  9. reComputer/scripts/MoveNet-Lightning/init.sh +6 -6
  10. reComputer/scripts/MoveNet-Lightning/readme.md +30 -30
  11. reComputer/scripts/MoveNet-Lightning/run.sh +19 -19
  12. reComputer/scripts/MoveNet-Thunder/clean.sh +7 -7
  13. reComputer/scripts/MoveNet-Thunder/getVersion.sh +59 -59
  14. reComputer/scripts/MoveNet-Thunder/init.sh +6 -6
  15. reComputer/scripts/MoveNet-Thunder/readme.md +31 -31
  16. reComputer/scripts/MoveNet-Thunder/run.sh +18 -18
  17. reComputer/scripts/MoveNetJS/clean.sh +4 -4
  18. reComputer/scripts/MoveNetJS/readme.md +56 -56
  19. reComputer/scripts/MoveNetJS/run.sh +13 -13
  20. reComputer/scripts/Sheared-LLaMA-2.7B-ShareGPT/init.sh +16 -16
  21. reComputer/scripts/Sheared-LLaMA-2.7B-ShareGPT/run.sh +8 -8
  22. reComputer/scripts/audiocraft/README.md +35 -35
  23. reComputer/scripts/audiocraft/clean.sh +5 -5
  24. reComputer/scripts/audiocraft/init.sh +16 -16
  25. reComputer/scripts/audiocraft/run.sh +7 -7
  26. reComputer/scripts/check.sh +4 -4
  27. reComputer/scripts/clean.sh +33 -33
  28. reComputer/scripts/comfyui/LICENSE +21 -21
  29. reComputer/scripts/comfyui/README.md +127 -127
  30. reComputer/scripts/comfyui/clean.sh +6 -6
  31. reComputer/scripts/comfyui/config.yaml +29 -29
  32. reComputer/scripts/comfyui/init.sh +163 -163
  33. reComputer/scripts/comfyui/run.sh +30 -30
  34. reComputer/scripts/depth-anything/Dockerfile +5 -5
  35. reComputer/scripts/depth-anything/LICENSE +21 -21
  36. reComputer/scripts/depth-anything/README.md +135 -135
  37. reComputer/scripts/depth-anything/clean.sh +7 -7
  38. reComputer/scripts/depth-anything/config.yaml +31 -31
  39. reComputer/scripts/depth-anything/init.sh +164 -164
  40. reComputer/scripts/depth-anything/run.sh +22 -22
  41. reComputer/scripts/depth-anything-v2/Dockerfile +5 -5
  42. reComputer/scripts/depth-anything-v2/LICENSE +21 -21
  43. reComputer/scripts/depth-anything-v2/README.md +135 -135
  44. reComputer/scripts/depth-anything-v2/clean.sh +7 -7
  45. reComputer/scripts/depth-anything-v2/config.yaml +31 -31
  46. reComputer/scripts/depth-anything-v2/init.sh +164 -164
  47. reComputer/scripts/depth-anything-v2/run.sh +22 -22
  48. reComputer/scripts/live-llava/init.sh +16 -16
  49. reComputer/scripts/live-llava/run.sh +278 -278
  50. reComputer/scripts/llama-factory/README.md +68 -68
  51. reComputer/scripts/llama-factory/clean.sh +4 -4
  52. reComputer/scripts/llama-factory/init.sh +52 -52
  53. reComputer/scripts/llama-factory/run.sh +10 -10
  54. reComputer/scripts/llama3/clean.sh +22 -22
  55. reComputer/scripts/llama3/init.sh +16 -16
  56. reComputer/scripts/llama3/run.sh +13 -13
  57. reComputer/scripts/llava/clean.sh +3 -3
  58. reComputer/scripts/llava/init.sh +16 -16
  59. reComputer/scripts/llava/run.sh +9 -9
  60. reComputer/scripts/llava-v1.5-7b/init.sh +16 -16
  61. reComputer/scripts/llava-v1.5-7b/run.sh +9 -9
  62. reComputer/scripts/llava-v1.6-vicuna-7b/init.sh +16 -16
  63. reComputer/scripts/llava-v1.6-vicuna-7b/run.sh +10 -10
  64. reComputer/scripts/nanodb/init.sh +16 -16
  65. reComputer/scripts/nanodb/readme.md +10 -10
  66. reComputer/scripts/nanodb/run.sh +90 -90
  67. reComputer/scripts/nanoowl/init.sh +16 -16
  68. reComputer/scripts/nanoowl/run.sh +7 -7
  69. reComputer/scripts/ollama/clean.sh +22 -22
  70. reComputer/scripts/ollama/init.sh +16 -16
  71. reComputer/scripts/ollama/run.sh +10 -10
  72. reComputer/scripts/parler-tts/clean.sh +7 -7
  73. reComputer/scripts/parler-tts/getVersion.sh +59 -59
  74. reComputer/scripts/parler-tts/init.sh +8 -8
  75. reComputer/scripts/parler-tts/readme.md +63 -63
  76. reComputer/scripts/parler-tts/run.sh +17 -17
  77. reComputer/scripts/run.sh +48 -48
  78. reComputer/scripts/stable-diffusion-webui/init.sh +16 -16
  79. reComputer/scripts/stable-diffusion-webui/run.sh +6 -6
  80. reComputer/scripts/text-generation-webui/init.sh +16 -16
  81. reComputer/scripts/text-generation-webui/run.sh +11 -11
  82. reComputer/scripts/ultralytics-yolo/LICENSE +21 -21
  83. reComputer/scripts/ultralytics-yolo/README.md +124 -124
  84. reComputer/scripts/ultralytics-yolo/clean.sh +6 -6
  85. reComputer/scripts/ultralytics-yolo/config.yaml +31 -32
  86. reComputer/scripts/ultralytics-yolo/init.sh +4 -176
  87. reComputer/scripts/ultralytics-yolo/run.sh +26 -25
  88. reComputer/scripts/update.sh +26 -26
  89. reComputer/scripts/utils.sh +166 -0
  90. reComputer/scripts/whisper/init.sh +16 -16
  91. reComputer/scripts/whisper/run.sh +7 -7
  92. reComputer/scripts/yolov10/Dockerfile +13 -13
  93. reComputer/scripts/yolov10/README.md +71 -71
  94. reComputer/scripts/yolov10/clean.sh +4 -4
  95. reComputer/scripts/yolov10/config.yaml +31 -0
  96. reComputer/scripts/yolov10/init.sh +20 -52
  97. reComputer/scripts/yolov10/run.sh +7 -7
  98. reComputer/scripts/yolov8-rail-inspection/config.yaml +31 -0
  99. reComputer/scripts/yolov8-rail-inspection/init.sh +5 -0
  100. reComputer/scripts/yolov8-rail-inspection/readme.md +35 -35
  101. reComputer/scripts/yolov8-rail-inspection/run.sh +21 -21
  102. jetson_examples-0.1.7.dist-info/RECORD +0 -103
  103. {jetson_examples-0.1.7.dist-info → jetson_examples-0.1.8.dist-info}/entry_points.txt +0 -0
  104. {jetson_examples-0.1.7.dist-info → jetson_examples-0.1.8.dist-info}/top_level.txt +0 -0
@@ -1,135 +1,135 @@
1
- # Jetson-Example: Run Depth Anything V2 on NVIDIA Jetson Orin 🚀
2
- This project provides an one-click deployment of the Depth Anything V2 monocular depth estimation model developed by Hong Kong University and ByteDance. The deployment is visualized on [reComputer J4012](https://www.seeedstudio.com/reComputer-J4012-p-5586.html) (Jetson Orin NX 16GB, 100 TOPS) and includes a WebUI for model conversion to TensorRT and real-time depth estimation.
3
- <p align="center">
4
- <img src="images/WebUI.png" alt="WebUI">
5
- </p>
6
-
7
- All models and inference engine implemented in this project are from the official [Depth Anything V2](https://github.com/DepthAnything/Depth-Anything-V2).
8
-
9
- ## 🔥Features
10
-
11
- - One-click deployment for Depth Anything V2 models.
12
- - WebUI for model conversion and depth estimation.
13
- - Support for uploading videos/images or using the local camera
14
- - Supports S, B, L models of Depth Anything V2 with input sizes 518.
15
-
16
- ### 🗝️WebUI Features
17
- - **Choose model**: Select from Depth Anything V2 models. (S, B, L)
18
- - **Grayscale option**: Option to use grayscale.
19
- - **Choose source**: Select the input source (Video, Image, Camera).
20
- - **Export Model**: Automatically download and convert the model from ONNX to TensorRT format.
21
- - **Start Estimation**: Begin depth estimation using the selected model and input source.
22
- - **Stop Estimation**: Stop the ongoing depth estimation process.
23
- <p align="center">
24
- <img src="images/Opr.png" alt="Depthanything" width="320" height="360">
25
- </p>
26
-
27
- ## 🥳Getting Started
28
- ### 📜Prerequisites
29
- - reComputer J4012 [(🛒Buy Here)](https://www.seeedstudio.com/reComputer-J4012-p-5586.html)
30
- - Docker installed on reComputer
31
- - USB Camera (optional)
32
-
33
-
34
- ### Modify Docker Daemon Configuration (Optional)
35
- To enhance the experience of quickly loading models in Docker, you need to add the following content to the `/etc/docker/daemon.json` file:
36
-
37
- ```json
38
- {
39
- "default-runtime": "nvidia",
40
- "runtimes": {
41
- "nvidia": {
42
- "path": "nvidia-container-runtime",
43
- "runtimeArgs": []
44
- }
45
- },
46
- "storage-driver": "overlay2",
47
- "data-root": "/var/lib/docker",
48
- "log-driver": "json-file",
49
- "log-opts": {
50
- "max-size": "100m",
51
- "max-file": "3"
52
- },
53
- "no-new-privileges": true,
54
- "experimental": false
55
- }
56
- ```
57
-
58
- After modifying the `daemon.json` file, you need to restart the Docker service to apply the configuration:
59
-
60
- ```sh
61
- sudo systemctl restart docker
62
- ```
63
-
64
-
65
- ### 🚀Installation
66
-
67
-
68
- PyPI(recommend)
69
- ```sh
70
- pip install jetson-examples
71
- ```
72
- Linux (github trick)
73
- ```sh
74
- curl -fsSL https://raw.githubusercontent.com/Seeed-Projects/jetson-examples/main/install.sh | sh
75
- ```
76
- Github (for Developer)
77
- ```sh
78
- git clone https://github.com/Seeed-Projects/jetson-examples
79
- cd jetson-examples
80
- pip install .
81
- ```
82
-
83
- ### 📋Usage
84
- 1. Run code:
85
- ```sh
86
- reComputer run depth-anything-v2
87
- ```
88
-
89
- 2. Open a web browser and input **http://{reComputer ip}:5000**. Use the WebUI to select the model and source.
90
-
91
- 3. Click on **Export Model** to download and convert the model.
92
-
93
- 4. Click on **Start Estimation** to begin the depth estimation process.
94
-
95
- 5. View the real-time depth estimation results on the WebUI.
96
-
97
- ## ⛏️Applications
98
-
99
- - **Security**: Enhance surveillance systems with depth perception.
100
- <p align="center">
101
- <img src="images/Security.png" alt="Security" width="500" height="150">
102
- </p>
103
- - **Autonomous Driving**: Improve environmental sensing for autonomous vehicles.
104
- <p align="center">
105
- <img src="images/Autonomous Driving.png" alt="Autonomous Driving" width="500" height="150">
106
- </p>
107
- - **Underwater Scenes**: Apply depth estimation in underwater exploration.
108
- <p align="center">
109
- <img src="images/Underwater Scenes.png" alt="Underwater Scenes" width="500" height="150">
110
- </p>
111
- - **Indoor Scenes**: Use depth estimation for indoor navigation and analysis.
112
- <p align="center">
113
- <img src="images/Indoor Scenes.png" alt="Indoor Scenes" width="500" height="150">
114
- </p>
115
-
116
- ## Further Development 🔧
117
- - [Depth Anything V2 Official](https://github.com/DepthAnything/Depth-Anything-V2)
118
- - [Depth Anything V2 TensorRT](https://github.com/spacewalk01/depth-anything-tensorrt)
119
- - [Depth Anything ONNX](https://github.com/fabio-sim/Depth-Anything-ONNX)
120
- - [Depth Anything ROS](https://github.com/scepter914/DepthAnything-ROS)
121
- - [Depth Anything Android](https://github.com/FeiGeChuanShu/ncnn-android-depth_anything)
122
-
123
-
124
- ## 🙏🏻Contributing
125
-
126
- We welcome contributions from the community. Please fork the repository and create a pull request with your changes.
127
-
128
- ## ✅License
129
-
130
- This project is licensed under the MIT License.
131
-
132
- ## 🏷️Acknowledgements
133
-
134
- - Depth Anything V2 Official [project](https://github.com/DepthAnything/Depth-Anything-V2) by Hong Kong University and ByteDance.
135
- - Seeed Studio team for their [support and resources](https://github.com/Seeed-Projects/jetson-examples).
1
+ # Jetson-Example: Run Depth Anything V2 on NVIDIA Jetson Orin 🚀
2
+ This project provides an one-click deployment of the Depth Anything V2 monocular depth estimation model developed by Hong Kong University and ByteDance. The deployment is visualized on [reComputer J4012](https://www.seeedstudio.com/reComputer-J4012-p-5586.html) (Jetson Orin NX 16GB, 100 TOPS) and includes a WebUI for model conversion to TensorRT and real-time depth estimation.
3
+ <p align="center">
4
+ <img src="images/WebUI.png" alt="WebUI">
5
+ </p>
6
+
7
+ All models and inference engine implemented in this project are from the official [Depth Anything V2](https://github.com/DepthAnything/Depth-Anything-V2).
8
+
9
+ ## 🔥Features
10
+
11
+ - One-click deployment for Depth Anything V2 models.
12
+ - WebUI for model conversion and depth estimation.
13
+ - Support for uploading videos/images or using the local camera
14
+ - Supports S, B, L models of Depth Anything V2 with input sizes 518.
15
+
16
+ ### 🗝️WebUI Features
17
+ - **Choose model**: Select from Depth Anything V2 models. (S, B, L)
18
+ - **Grayscale option**: Option to use grayscale.
19
+ - **Choose source**: Select the input source (Video, Image, Camera).
20
+ - **Export Model**: Automatically download and convert the model from ONNX to TensorRT format.
21
+ - **Start Estimation**: Begin depth estimation using the selected model and input source.
22
+ - **Stop Estimation**: Stop the ongoing depth estimation process.
23
+ <p align="center">
24
+ <img src="images/Opr.png" alt="Depthanything" width="320" height="360">
25
+ </p>
26
+
27
+ ## 🥳Getting Started
28
+ ### 📜Prerequisites
29
+ - reComputer J4012 [(🛒Buy Here)](https://www.seeedstudio.com/reComputer-J4012-p-5586.html)
30
+ - Docker installed on reComputer
31
+ - USB Camera (optional)
32
+
33
+
34
+ ### Modify Docker Daemon Configuration (Optional)
35
+ To enhance the experience of quickly loading models in Docker, you need to add the following content to the `/etc/docker/daemon.json` file:
36
+
37
+ ```json
38
+ {
39
+ "default-runtime": "nvidia",
40
+ "runtimes": {
41
+ "nvidia": {
42
+ "path": "nvidia-container-runtime",
43
+ "runtimeArgs": []
44
+ }
45
+ },
46
+ "storage-driver": "overlay2",
47
+ "data-root": "/var/lib/docker",
48
+ "log-driver": "json-file",
49
+ "log-opts": {
50
+ "max-size": "100m",
51
+ "max-file": "3"
52
+ },
53
+ "no-new-privileges": true,
54
+ "experimental": false
55
+ }
56
+ ```
57
+
58
+ After modifying the `daemon.json` file, you need to restart the Docker service to apply the configuration:
59
+
60
+ ```sh
61
+ sudo systemctl restart docker
62
+ ```
63
+
64
+
65
+ ### 🚀Installation
66
+
67
+
68
+ PyPI(recommend)
69
+ ```sh
70
+ pip install jetson-examples
71
+ ```
72
+ Linux (github trick)
73
+ ```sh
74
+ curl -fsSL https://raw.githubusercontent.com/Seeed-Projects/jetson-examples/main/install.sh | sh
75
+ ```
76
+ Github (for Developer)
77
+ ```sh
78
+ git clone https://github.com/Seeed-Projects/jetson-examples
79
+ cd jetson-examples
80
+ pip install .
81
+ ```
82
+
83
+ ### 📋Usage
84
+ 1. Run code:
85
+ ```sh
86
+ reComputer run depth-anything-v2
87
+ ```
88
+
89
+ 2. Open a web browser and input **http://{reComputer ip}:5000**. Use the WebUI to select the model and source.
90
+
91
+ 3. Click on **Export Model** to download and convert the model.
92
+
93
+ 4. Click on **Start Estimation** to begin the depth estimation process.
94
+
95
+ 5. View the real-time depth estimation results on the WebUI.
96
+
97
+ ## ⛏️Applications
98
+
99
+ - **Security**: Enhance surveillance systems with depth perception.
100
+ <p align="center">
101
+ <img src="images/Security.png" alt="Security" width="500" height="150">
102
+ </p>
103
+ - **Autonomous Driving**: Improve environmental sensing for autonomous vehicles.
104
+ <p align="center">
105
+ <img src="images/Autonomous Driving.png" alt="Autonomous Driving" width="500" height="150">
106
+ </p>
107
+ - **Underwater Scenes**: Apply depth estimation in underwater exploration.
108
+ <p align="center">
109
+ <img src="images/Underwater Scenes.png" alt="Underwater Scenes" width="500" height="150">
110
+ </p>
111
+ - **Indoor Scenes**: Use depth estimation for indoor navigation and analysis.
112
+ <p align="center">
113
+ <img src="images/Indoor Scenes.png" alt="Indoor Scenes" width="500" height="150">
114
+ </p>
115
+
116
+ ## Further Development 🔧
117
+ - [Depth Anything V2 Official](https://github.com/DepthAnything/Depth-Anything-V2)
118
+ - [Depth Anything V2 TensorRT](https://github.com/spacewalk01/depth-anything-tensorrt)
119
+ - [Depth Anything ONNX](https://github.com/fabio-sim/Depth-Anything-ONNX)
120
+ - [Depth Anything ROS](https://github.com/scepter914/DepthAnything-ROS)
121
+ - [Depth Anything Android](https://github.com/FeiGeChuanShu/ncnn-android-depth_anything)
122
+
123
+
124
+ ## 🙏🏻Contributing
125
+
126
+ We welcome contributions from the community. Please fork the repository and create a pull request with your changes.
127
+
128
+ ## ✅License
129
+
130
+ This project is licensed under the MIT License.
131
+
132
+ ## 🏷️Acknowledgements
133
+
134
+ - Depth Anything V2 Official [project](https://github.com/DepthAnything/Depth-Anything-V2) by Hong Kong University and ByteDance.
135
+ - Seeed Studio team for their [support and resources](https://github.com/Seeed-Projects/jetson-examples).
@@ -1,8 +1,8 @@
1
- #!/bin/bash
2
-
3
- CONTAINER_NAME="depth-anything-v2"
4
- IMAGE_NAME="yaohui1998/depthanything-v2-on-jetson-orin:latest"
5
-
6
- sudo docker stop $CONTAINER_NAME
7
- sudo docker rm $CONTAINER_NAME
1
+ #!/bin/bash
2
+
3
+ CONTAINER_NAME="depth-anything-v2"
4
+ IMAGE_NAME="yaohui1998/depthanything-v2-on-jetson-orin:latest"
5
+
6
+ sudo docker stop $CONTAINER_NAME
7
+ sudo docker rm $CONTAINER_NAME
8
8
  sudo docker rmi $IMAGE_NAMEs
@@ -1,31 +1,31 @@
1
- allowed_l4t_versions:
2
- - 35.3.1
3
- - 35.4.1
4
- - 35.5.0
5
- required_disk_space: 15 # in GB
6
- min_mem_gb: 4
7
- min_swap_gb: 4
8
- nvidia_jetson_package: "nvidia-jetpack"
9
- packages:
10
- #- "ros-noetic-ros-base"
11
- #- "flask"
12
- docker:
13
- desired_daemon_json: |
14
- {
15
- "default-runtime": "nvidia",
16
- "runtimes": {
17
- "nvidia": {
18
- "path": "nvidia-container-runtime",
19
- "runtimeArgs": []
20
- }
21
- },
22
- "storage-driver": "overlay2",
23
- "data-root": "/var/lib/docker",
24
- "log-driver": "json-file",
25
- "log-opts": {
26
- "max-size": "100m",
27
- "max-file": "3"
28
- },
29
- "no-new-privileges": true,
30
- "experimental": false
31
- }
1
+ allowed_l4t_versions:
2
+ - 35.3.1
3
+ - 35.4.1
4
+ - 35.5.0
5
+ required_disk_space: 15 # in GB
6
+ min_mem_gb: 4
7
+ min_swap_gb: 4
8
+ nvidia_jetson_package: "nvidia-jetpack"
9
+ packages:
10
+ #- "ros-noetic-ros-base"
11
+ #- "flask"
12
+ docker:
13
+ desired_daemon_json: |
14
+ {
15
+ "default-runtime": "nvidia",
16
+ "runtimes": {
17
+ "nvidia": {
18
+ "path": "nvidia-container-runtime",
19
+ "runtimeArgs": []
20
+ }
21
+ },
22
+ "storage-driver": "overlay2",
23
+ "data-root": "/var/lib/docker",
24
+ "log-driver": "json-file",
25
+ "log-opts": {
26
+ "max-size": "100m",
27
+ "max-file": "3"
28
+ },
29
+ "no-new-privileges": true,
30
+ "experimental": false
31
+ }