jetson-examples 0.1.8__py3-none-any.whl → 0.1.9__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.
- {jetson_examples-0.1.8.dist-info → jetson_examples-0.1.9.dist-info}/LICENSE +21 -21
- {jetson_examples-0.1.8.dist-info → jetson_examples-0.1.9.dist-info}/METADATA +1 -1
- jetson_examples-0.1.9.dist-info/RECORD +109 -0
- reComputer/__init__.py +1 -1
- reComputer/main.py +60 -60
- reComputer/scripts/MoveNet-Lightning/clean.sh +8 -8
- reComputer/scripts/MoveNet-Lightning/getVersion.sh +59 -59
- reComputer/scripts/MoveNet-Lightning/init.sh +6 -6
- reComputer/scripts/MoveNet-Lightning/readme.md +30 -30
- reComputer/scripts/MoveNet-Lightning/run.sh +19 -19
- reComputer/scripts/MoveNet-Thunder/clean.sh +7 -7
- reComputer/scripts/MoveNet-Thunder/getVersion.sh +59 -59
- reComputer/scripts/MoveNet-Thunder/init.sh +6 -6
- reComputer/scripts/MoveNet-Thunder/readme.md +31 -31
- reComputer/scripts/MoveNet-Thunder/run.sh +18 -18
- reComputer/scripts/MoveNetJS/clean.sh +4 -4
- reComputer/scripts/MoveNetJS/readme.md +56 -56
- reComputer/scripts/MoveNetJS/run.sh +13 -13
- reComputer/scripts/Sheared-LLaMA-2.7B-ShareGPT/init.sh +16 -16
- reComputer/scripts/Sheared-LLaMA-2.7B-ShareGPT/run.sh +8 -8
- reComputer/scripts/audiocraft/README.md +35 -35
- reComputer/scripts/audiocraft/clean.sh +5 -5
- reComputer/scripts/audiocraft/init.sh +16 -16
- reComputer/scripts/audiocraft/run.sh +7 -7
- reComputer/scripts/check.sh +4 -4
- reComputer/scripts/clean.sh +33 -33
- reComputer/scripts/comfyui/LICENSE +21 -21
- reComputer/scripts/comfyui/README.md +127 -127
- reComputer/scripts/comfyui/clean.sh +9 -7
- reComputer/scripts/comfyui/config.yaml +30 -29
- reComputer/scripts/comfyui/init.sh +9 -163
- reComputer/scripts/comfyui/run.sh +30 -30
- reComputer/scripts/depth-anything/Dockerfile +5 -5
- reComputer/scripts/depth-anything/LICENSE +21 -21
- reComputer/scripts/depth-anything/README.md +135 -135
- reComputer/scripts/depth-anything/clean.sh +7 -7
- reComputer/scripts/depth-anything/config.yaml +31 -31
- reComputer/scripts/depth-anything/init.sh +164 -164
- reComputer/scripts/depth-anything/run.sh +22 -22
- reComputer/scripts/depth-anything-v2/Dockerfile +5 -5
- reComputer/scripts/depth-anything-v2/LICENSE +21 -21
- reComputer/scripts/depth-anything-v2/README.md +135 -135
- reComputer/scripts/depth-anything-v2/clean.sh +7 -7
- reComputer/scripts/depth-anything-v2/config.yaml +31 -31
- reComputer/scripts/depth-anything-v2/init.sh +164 -164
- reComputer/scripts/depth-anything-v2/run.sh +22 -22
- reComputer/scripts/live-llava/init.sh +16 -16
- reComputer/scripts/live-llava/run.sh +278 -278
- reComputer/scripts/llama-factory/README.md +68 -68
- reComputer/scripts/llama-factory/clean.sh +4 -4
- reComputer/scripts/llama-factory/init.sh +52 -52
- reComputer/scripts/llama-factory/run.sh +10 -10
- reComputer/scripts/llama3/clean.sh +22 -22
- reComputer/scripts/llama3/config.yaml +31 -0
- reComputer/scripts/llama3/init.sh +19 -16
- reComputer/scripts/llama3/run.sh +13 -13
- reComputer/scripts/llava/clean.sh +3 -3
- reComputer/scripts/llava/init.sh +16 -16
- reComputer/scripts/llava/run.sh +9 -9
- reComputer/scripts/llava-v1.5-7b/init.sh +16 -16
- reComputer/scripts/llava-v1.5-7b/run.sh +9 -9
- reComputer/scripts/llava-v1.6-vicuna-7b/init.sh +16 -16
- reComputer/scripts/llava-v1.6-vicuna-7b/run.sh +10 -10
- reComputer/scripts/nanodb/init.sh +16 -16
- reComputer/scripts/nanodb/readme.md +10 -10
- reComputer/scripts/nanodb/run.sh +90 -90
- reComputer/scripts/nanoowl/init.sh +16 -16
- reComputer/scripts/nanoowl/run.sh +7 -7
- reComputer/scripts/ollama/clean.sh +22 -22
- reComputer/scripts/ollama/config.yaml +31 -0
- reComputer/scripts/ollama/init.sh +19 -16
- reComputer/scripts/ollama/run.sh +10 -10
- reComputer/scripts/parler-tts/clean.sh +7 -7
- reComputer/scripts/parler-tts/getVersion.sh +59 -59
- reComputer/scripts/parler-tts/init.sh +8 -8
- reComputer/scripts/parler-tts/readme.md +63 -63
- reComputer/scripts/parler-tts/run.sh +17 -17
- reComputer/scripts/run.sh +48 -48
- reComputer/scripts/stable-diffusion-webui/init.sh +16 -16
- reComputer/scripts/stable-diffusion-webui/run.sh +6 -6
- reComputer/scripts/text-generation-webui/init.sh +16 -16
- reComputer/scripts/text-generation-webui/run.sh +11 -11
- reComputer/scripts/ultralytics-yolo/LICENSE +21 -21
- reComputer/scripts/ultralytics-yolo/README.md +124 -124
- reComputer/scripts/ultralytics-yolo/clean.sh +6 -6
- reComputer/scripts/ultralytics-yolo/config.yaml +31 -31
- reComputer/scripts/ultralytics-yolo/init.sh +4 -4
- reComputer/scripts/ultralytics-yolo/run.sh +26 -26
- reComputer/scripts/update.sh +26 -26
- reComputer/scripts/utils.sh +168 -166
- reComputer/scripts/whisper/init.sh +16 -16
- reComputer/scripts/whisper/run.sh +7 -7
- reComputer/scripts/yolov10/Dockerfile +13 -13
- reComputer/scripts/yolov10/README.md +71 -71
- reComputer/scripts/yolov10/clean.sh +4 -4
- reComputer/scripts/yolov10/config.yaml +31 -31
- reComputer/scripts/yolov10/init.sh +20 -20
- reComputer/scripts/yolov10/run.sh +7 -7
- reComputer/scripts/yolov8-rail-inspection/config.yaml +31 -31
- reComputer/scripts/yolov8-rail-inspection/init.sh +5 -5
- reComputer/scripts/yolov8-rail-inspection/readme.md +35 -35
- reComputer/scripts/yolov8-rail-inspection/run.sh +21 -21
- jetson_examples-0.1.8.dist-info/RECORD +0 -107
- {jetson_examples-0.1.8.dist-info → jetson_examples-0.1.9.dist-info}/WHEEL +0 -0
- {jetson_examples-0.1.8.dist-info → jetson_examples-0.1.9.dist-info}/entry_points.txt +0 -0
- {jetson_examples-0.1.8.dist-info → jetson_examples-0.1.9.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
|
-

|
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
|
+

|
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
|
-

|
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
|
+

|
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)
|
reComputer/scripts/check.sh
CHANGED
@@ -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"
|
reComputer/scripts/clean.sh
CHANGED
@@ -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----"
|