jetson-examples 0.1.6__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 (128) hide show
  1. {jetson_examples-0.1.6.dist-info → jetson_examples-0.1.8.dist-info}/LICENSE +21 -21
  2. {jetson_examples-0.1.6.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.6.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 -163
  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.6.dist-info/RECORD +0 -127
  103. reComputer/scripts/MoveNet-Lightning/images/dance_movenet.gif +0 -0
  104. reComputer/scripts/MoveNet-Thunder/images/dance_movenet.gif +0 -0
  105. reComputer/scripts/MoveNetJS/images/dance.gif +0 -0
  106. reComputer/scripts/comfyui/images/comfyui.png +0 -0
  107. reComputer/scripts/depth-anything/images/Autonomous Driving.png +0 -0
  108. reComputer/scripts/depth-anything/images/Indoor Scenes.png +0 -0
  109. reComputer/scripts/depth-anything/images/Opr.png +0 -0
  110. reComputer/scripts/depth-anything/images/Security.png +0 -0
  111. reComputer/scripts/depth-anything/images/Underwater Scenes.png +0 -0
  112. reComputer/scripts/depth-anything/images/WebUI.png +0 -0
  113. reComputer/scripts/depth-anything/images/teaser.png +0 -0
  114. reComputer/scripts/depth-anything-v2/images/Autonomous Driving.png +0 -0
  115. reComputer/scripts/depth-anything-v2/images/Indoor Scenes.png +0 -0
  116. reComputer/scripts/depth-anything-v2/images/Opr.png +0 -0
  117. reComputer/scripts/depth-anything-v2/images/Security.png +0 -0
  118. reComputer/scripts/depth-anything-v2/images/Underwater Scenes.png +0 -0
  119. reComputer/scripts/depth-anything-v2/images/WebUI.png +0 -0
  120. reComputer/scripts/depth-anything-v2/images/teaser.png +0 -0
  121. reComputer/scripts/parler-tts/images/audio1.png +0 -0
  122. reComputer/scripts/parler-tts/images/audio2.png +0 -0
  123. reComputer/scripts/ultralytics-yolo/images/Ultralytics-yolo.gif +0 -0
  124. reComputer/scripts/ultralytics-yolo/images/tasks.png +0 -0
  125. reComputer/scripts/ultralytics-yolo/images/ultralytics_fig1.png +0 -0
  126. reComputer/scripts/ultralytics-yolo/images/ultralytics_fig2.png +0 -0
  127. {jetson_examples-0.1.6.dist-info → jetson_examples-0.1.8.dist-info}/entry_points.txt +0 -0
  128. {jetson_examples-0.1.6.dist-info → jetson_examples-0.1.8.dist-info}/top_level.txt +0 -0
@@ -1,59 +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
-
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
+
@@ -1,6 +1,6 @@
1
- #!/bin/bash
2
-
3
- # Let's allow connections
4
- xhost +local:docker
5
-
6
-
1
+ #!/bin/bash
2
+
3
+ # Let's allow connections
4
+ xhost +local:docker
5
+
6
+
@@ -1,31 +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
-
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
+
@@ -1,18 +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
-
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
+
@@ -1,4 +1,4 @@
1
- #!/bin/bash
2
-
3
- # remove docker image
4
- sudo docker rmi feiticeir0/movenetjs:latest
1
+ #!/bin/bash
2
+
3
+ # remove docker image
4
+ sudo docker rmi feiticeir0/movenetjs:latest
@@ -1,56 +1,56 @@
1
- # MoveNet
2
-
3
- MoveNet is a ultra fast and accurate pose detection model.
4
-
5
- We're demonstrating here using reComputer J402
6
-
7
- ![movenetjs working](images/dance.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 (one or the other)
15
- * to the reComputer
16
- * the computer you're using (remotely connected to the reComputer)
17
- * Docker installed
18
-
19
- ## Instalation
20
- PyPI (best)
21
-
22
- ```bash
23
- pip install jetson-examples
24
- ```
25
-
26
- ## Usage
27
- ### Method 1
28
- ##### If you're running inside your reComputer
29
- 1. Type the following command in a terminal
30
- ```bash
31
- reComputer run MoveNetJS
32
- ```
33
- 2. Open a web browser and go to [http://localhost:5000](http://localhost:5000)
34
- 3. Give permission to access webcam and wait a few seconds:
35
- 1. First will appear the webcam feed
36
- 2. Next will appear the lines estimating the pose
37
- 4. Start dancing
38
-
39
- ### Method 2
40
- ##### If you want to connect remotely with ssh to the reComputer
41
- 1. Connect using SSH but redirecting the 5000 port
42
- ```bash
43
- ssh -L 5000:localhost:5000 <username>@<reComputer_IP>
44
- ```
45
- 2. Type the following command in a terminal
46
- ```bash
47
- reComputer run movenetjs
48
- ```
49
- 2. Open a web browser (on your machine) and go to [http://localhost:5000](http://localhost:5000)
50
- 3. Give permission to access webcam and wait a few seconds:
51
- 1. First will appear the webcam feed
52
- 2. Next will appear the lines estimating the pose
53
- 4. Start dancing
54
-
55
- **note** Firefox may fail showing webcam feed or pose estimation
56
-
1
+ # MoveNet
2
+
3
+ MoveNet is a ultra fast and accurate pose detection model.
4
+
5
+ We're demonstrating here using reComputer J402
6
+
7
+ ![movenetjs working](images/dance.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 (one or the other)
15
+ * to the reComputer
16
+ * the computer you're using (remotely connected to the reComputer)
17
+ * Docker installed
18
+
19
+ ## Instalation
20
+ PyPI (best)
21
+
22
+ ```bash
23
+ pip install jetson-examples
24
+ ```
25
+
26
+ ## Usage
27
+ ### Method 1
28
+ ##### If you're running inside your reComputer
29
+ 1. Type the following command in a terminal
30
+ ```bash
31
+ reComputer run MoveNetJS
32
+ ```
33
+ 2. Open a web browser and go to [http://localhost:5000](http://localhost:5000)
34
+ 3. Give permission to access webcam and wait a few seconds:
35
+ 1. First will appear the webcam feed
36
+ 2. Next will appear the lines estimating the pose
37
+ 4. Start dancing
38
+
39
+ ### Method 2
40
+ ##### If you want to connect remotely with ssh to the reComputer
41
+ 1. Connect using SSH but redirecting the 5000 port
42
+ ```bash
43
+ ssh -L 5000:localhost:5000 <username>@<reComputer_IP>
44
+ ```
45
+ 2. Type the following command in a terminal
46
+ ```bash
47
+ reComputer run movenetjs
48
+ ```
49
+ 2. Open a web browser (on your machine) and go to [http://localhost:5000](http://localhost:5000)
50
+ 3. Give permission to access webcam and wait a few seconds:
51
+ 1. First will appear the webcam feed
52
+ 2. Next will appear the lines estimating the pose
53
+ 4. Start dancing
54
+
55
+ **note** Firefox may fail showing webcam feed or pose estimation
56
+
@@ -1,13 +1,13 @@
1
- #!/bin/bash
2
-
3
- # pull docker image
4
-
5
- docker push feiticeir0/movenetjs:latest
6
-
7
- docker run \
8
- --rm \
9
- -p 5000:5000 \
10
- feiticeir0/movenetjs:latest
11
-
12
-
13
-
1
+ #!/bin/bash
2
+
3
+ # pull docker image
4
+
5
+ docker push feiticeir0/movenetjs:latest
6
+
7
+ docker run \
8
+ --rm \
9
+ -p 5000:5000 \
10
+ feiticeir0/movenetjs:latest
11
+
12
+
13
+
@@ -1,16 +1,16 @@
1
- #!/bin/bash
2
-
3
-
4
- BASE_PATH=/home/$USER/reComputer
5
- mkdir -p $BASE_PATH/
6
- JETSON_REPO_PATH="$BASE_PATH/jetson-containers"
7
- BASE_JETSON_LAB_GIT="https://github.com/dusty-nv/jetson-containers"
8
- if [ -d $JETSON_REPO_PATH ]; then
9
- echo "jetson-ai-lab existed."
10
- else
11
- echo "jetson-ai-lab does not installed. start init..."
12
- cd $BASE_PATH/
13
- git clone --depth=1 $BASE_JETSON_LAB_GIT
14
- cd $JETSON_REPO_PATH
15
- bash install.sh
16
- fi
1
+ #!/bin/bash
2
+
3
+
4
+ BASE_PATH=/home/$USER/reComputer
5
+ mkdir -p $BASE_PATH/
6
+ JETSON_REPO_PATH="$BASE_PATH/jetson-containers"
7
+ BASE_JETSON_LAB_GIT="https://github.com/dusty-nv/jetson-containers"
8
+ if [ -d $JETSON_REPO_PATH ]; then
9
+ echo "jetson-ai-lab existed."
10
+ else
11
+ echo "jetson-ai-lab does not installed. start init..."
12
+ cd $BASE_PATH/
13
+ git clone --depth=1 $BASE_JETSON_LAB_GIT
14
+ cd $JETSON_REPO_PATH
15
+ bash install.sh
16
+ fi
@@ -1,9 +1,9 @@
1
- #!/bin/bash
2
-
3
- BASE_PATH=/home/$USER/reComputer
4
- JETSON_REPO_PATH="$BASE_PATH/jetson-containers"
5
- cd $JETSON_REPO_PATH
6
-
7
- ./run.sh $(./autotag local_llm) \
8
- python3 -m local_llm.chat --api=mlc \
1
+ #!/bin/bash
2
+
3
+ BASE_PATH=/home/$USER/reComputer
4
+ JETSON_REPO_PATH="$BASE_PATH/jetson-containers"
5
+ cd $JETSON_REPO_PATH
6
+
7
+ ./run.sh $(./autotag local_llm) \
8
+ python3 -m local_llm.chat --api=mlc \
9
9
  --model princeton-nlp/Sheared-LLaMA-2.7B-ShareGPT
@@ -1,35 +1,35 @@
1
- # AudioCraft Deployment on Jetson in One Line
2
-
3
- ## Hello
4
-
5
- 💡 In this demo, we refer to jetson-container to deploy audiocraft on Jetson devices. And generate music using a reference example.
6
-
7
- 🔥 Hightlights:
8
- - **Audiocraft** is a tool designed for creating and manipulating audio content. 🎶
9
- - **Jetson-examples** is a toolkit designed to deploy containerized applications on NVIDIA Jetson devices. ✨
10
- - **Jetson** is powerful AI hardware platform for edge computing.💻
11
-
12
- Get your Jetson device ready and customize sounds with me.🚀
13
-
14
-
15
- ## Getting Started
16
-
17
- - install **jetson-examples** by pip:
18
- ```sh
19
- pip3 install jetson-examples
20
- ```
21
- - restart reComputer
22
- ```sh
23
- sudo restart
24
- ```
25
- - run audiocraft on jetson in one line:
26
- ```sh
27
- reComputer run audiocraft
28
- ```
29
-
30
- ## Reference
31
- - https://github.com/dusty-nv/jetson-containers/tree/master/packages/audio/audiocraft
32
- - https://github.com/facebookresearch/audiocraft
33
-
34
-
35
-
1
+ # AudioCraft Deployment on Jetson in One Line
2
+
3
+ ## Hello
4
+
5
+ 💡 In this demo, we refer to jetson-container to deploy audiocraft on Jetson devices. And generate music using a reference example.
6
+
7
+ 🔥 Hightlights:
8
+ - **Audiocraft** is a tool designed for creating and manipulating audio content. 🎶
9
+ - **Jetson-examples** is a toolkit designed to deploy containerized applications on NVIDIA Jetson devices. ✨
10
+ - **Jetson** is powerful AI hardware platform for edge computing.💻
11
+
12
+ Get your Jetson device ready and customize sounds with me.🚀
13
+
14
+
15
+ ## Getting Started
16
+
17
+ - install **jetson-examples** by pip:
18
+ ```sh
19
+ pip3 install jetson-examples
20
+ ```
21
+ - restart reComputer
22
+ ```sh
23
+ sudo restart
24
+ ```
25
+ - run audiocraft on jetson in one line:
26
+ ```sh
27
+ reComputer run audiocraft
28
+ ```
29
+
30
+ ## Reference
31
+ - https://github.com/dusty-nv/jetson-containers/tree/master/packages/audio/audiocraft
32
+ - https://github.com/facebookresearch/audiocraft
33
+
34
+
35
+
@@ -1,5 +1,5 @@
1
- #!/bin/bash
2
-
3
- # TODO: clean old container
4
- docker rmi $(./autotag audiocraft)
5
-
1
+ #!/bin/bash
2
+
3
+ # TODO: clean old container
4
+ docker rmi $(./autotag audiocraft)
5
+
@@ -1,16 +1,16 @@
1
- #!/bin/bash
2
-
3
-
4
- BASE_PATH=/home/$USER/reComputer
5
- mkdir -p $BASE_PATH/
6
- JETSON_REPO_PATH="$BASE_PATH/jetson-containers"
7
- BASE_JETSON_LAB_GIT="https://github.com/dusty-nv/jetson-containers"
8
- if [ -d $JETSON_REPO_PATH ]; then
9
- echo "jetson-ai-lab existed."
10
- else
11
- echo "jetson-ai-lab does not installed. start init..."
12
- cd $BASE_PATH/
13
- git clone --depth=1 $BASE_JETSON_LAB_GIT
14
- cd $JETSON_REPO_PATH
15
- bash install.sh
16
- fi
1
+ #!/bin/bash
2
+
3
+
4
+ BASE_PATH=/home/$USER/reComputer
5
+ mkdir -p $BASE_PATH/
6
+ JETSON_REPO_PATH="$BASE_PATH/jetson-containers"
7
+ BASE_JETSON_LAB_GIT="https://github.com/dusty-nv/jetson-containers"
8
+ if [ -d $JETSON_REPO_PATH ]; then
9
+ echo "jetson-ai-lab existed."
10
+ else
11
+ echo "jetson-ai-lab does not installed. start init..."
12
+ cd $BASE_PATH/
13
+ git clone --depth=1 $BASE_JETSON_LAB_GIT
14
+ cd $JETSON_REPO_PATH
15
+ bash install.sh
16
+ fi
@@ -1,7 +1,7 @@
1
- #!/bin/bash
2
-
3
- BASE_PATH=/home/$USER/reComputer
4
- JETSON_REPO_PATH="$BASE_PATH/jetson-containers"
5
- cd $JETSON_REPO_PATH
6
-
7
- jetson-containers run $(autotag audiocraft)
1
+ #!/bin/bash
2
+
3
+ BASE_PATH=/home/$USER/reComputer
4
+ JETSON_REPO_PATH="$BASE_PATH/jetson-containers"
5
+ cd $JETSON_REPO_PATH
6
+
7
+ jetson-containers run $(autotag audiocraft)
@@ -1,5 +1,5 @@
1
- script_dir=$(dirname "$0")
2
- docker --version && \
3
- python3 -V && \
4
- python -V && \
1
+ script_dir=$(dirname "$0")
2
+ docker --version && \
3
+ python3 -V && \
4
+ python -V && \
5
5
  echo "now we can use more shell in $script_dir"
@@ -1,33 +1,33 @@
1
- #!/bin/bash
2
-
3
- check_is_jetson_or_not() {
4
- model_file="/proc/device-tree/model"
5
-
6
- if [ -f "/proc/device-tree/model" ]; then
7
- model=$(tr -d '\0' < /proc/device-tree/model | tr '[:upper:]' '[:lower:]')
8
- if [[ $model =~ jetson|orin|nv|agx ]]; then
9
- echo "INFO: machine[$model] confirmed..."
10
- else
11
- echo "WARNING: machine[$model] maybe not support..."
12
- exit 1
13
- fi
14
- else
15
- echo "ERROR: machine[$model] not support this..."
16
- exit 1
17
- fi
18
- }
19
- check_is_jetson_or_not
20
-
21
- echo "clean example:$1"
22
- BASE_PATH=/home/$USER/reComputer
23
- # TODO: 要一个二次确认
24
- echo "----clean example start----"
25
- cd $JETSON_REPO_PATH
26
- script_dir=$(dirname "$0")
27
- start_script=$script_dir/$1/clean.sh
28
- if [ -f $start_script ]; then
29
- bash $start_script
30
- else
31
- echo "ERROR: Example[$1]/clean.sh Not Found."
32
- fi
33
- echo "----clean example done----"
1
+ #!/bin/bash
2
+
3
+ check_is_jetson_or_not() {
4
+ model_file="/proc/device-tree/model"
5
+
6
+ if [ -f "/proc/device-tree/model" ]; then
7
+ model=$(tr -d '\0' < /proc/device-tree/model | tr '[:upper:]' '[:lower:]')
8
+ if [[ $model =~ jetson|orin|nv|agx ]]; then
9
+ echo "INFO: machine[$model] confirmed..."
10
+ else
11
+ echo "WARNING: machine[$model] maybe not support..."
12
+ exit 1
13
+ fi
14
+ else
15
+ echo "ERROR: machine[$model] not support this..."
16
+ exit 1
17
+ fi
18
+ }
19
+ check_is_jetson_or_not
20
+
21
+ echo "clean example:$1"
22
+ BASE_PATH=/home/$USER/reComputer
23
+ # TODO: 要一个二次确认
24
+ echo "----clean example start----"
25
+ cd $JETSON_REPO_PATH
26
+ script_dir=$(dirname "$0")
27
+ start_script=$script_dir/$1/clean.sh
28
+ if [ -f $start_script ]; then
29
+ bash $start_script
30
+ else
31
+ echo "ERROR: Example[$1]/clean.sh Not Found."
32
+ fi
33
+ echo "----clean example done----"