From 499422d28f3ba9c38cea241b4419abfefd5b8cbb Mon Sep 17 00:00:00 2001 From: aussiemaverick <67669717+aussiemaverick@users.noreply.github.com> Date: Wed, 1 Jul 2020 12:56:41 +0800 Subject: [PATCH 1/3] Typos / fixes digitis-setup.md Remove extra "c" on curl and sudo lines Add missing backslash on docker command --- docs/digits-setup.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/digits-setup.md b/docs/digits-setup.md index 7e6afd02f..fe45c33a5 100644 --- a/docs/digits-setup.md +++ b/docs/digits-setup.md @@ -88,11 +88,11 @@ Add the Docker Engine Utility (nvidia-docker2) repository, install nvidia-docker ``` bash $ curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | \ sudo apt-key add - -$ ccurl -s -L https://nvidia.github.io/nvidia-docker/ubuntu16.04/amd64/nvidia-docker.list | \ +$ curl -s -L https://nvidia.github.io/nvidia-docker/ubuntu16.04/amd64/nvidia-docker.list | \ sudo tee /etc/apt/sources.list.d/nvidia-docker.list -$ csudo apt-get update -$ csudo apt-get install -y nvidia-docker2 -$ csudo usermod -aG docker $USER +$ sudo apt-get update +$ sudo apt-get install -y nvidia-docker2 +$ sudo usermod -aG docker $USER $ sudo reboot ``` @@ -140,7 +140,7 @@ $ mkdir /home/username/digits-jobs ``` bash $ nvidia-docker run --name digits -d -p 8888:5000 \ - -v /home/username/data:/data:ro + -v /home/username/data:/data:ro \ -v /home/username/digits-jobs:/workspace/jobs nvcr.io/nvidia/digits:18.05 ``` From 53c0810de77548a1541183864df8ec028f4a2662 Mon Sep 17 00:00:00 2001 From: aussiemaverick <67669717+aussiemaverick@users.noreply.github.com> Date: Wed, 1 Jul 2020 13:08:08 +0800 Subject: [PATCH 2/3] typos to segnet-console to fix segmentation fault MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The backslash has a space after it and causes the last line to be ignored. This results in segmentation fault "failed to retrieve tensor for output ‘score_fr_21classes’ " Also fix name of colors txt file --- docs/segnet-console.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/segnet-console.md b/docs/segnet-console.md index 8d20a59d6..a7b11ac84 100644 --- a/docs/segnet-console.md +++ b/docs/segnet-console.md @@ -16,8 +16,8 @@ $ ./segnet-console drone_0428.png output_0428.png \ --prototxt=$NET/deploy.prototxt \ --model=$NET/snapshot_iter_22610.caffemodel \ --labels=$NET/fpv-labels.txt \ ---colors=$NET/fpv-deploy-colors.txt \ ---input_blob=data \ +--colors=$NET/fpv-training-colors.txt \ +--input_blob=data \ --output_blob=score_fr ``` From 152f7d1024a4e9bc8a339994daadefabd8c2e049 Mon Sep 17 00:00:00 2001 From: aussiemaverick <67669717+aussiemaverick@users.noreply.github.com> Date: Wed, 1 Jul 2020 13:09:40 +0800 Subject: [PATCH 3/3] Update segnet-patches.md --- docs/segnet-patches.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/segnet-patches.md b/docs/segnet-patches.md index 29f064d26..91331d1c2 100644 --- a/docs/segnet-patches.md +++ b/docs/segnet-patches.md @@ -44,7 +44,7 @@ layer { And on line 24 of `deploy.prototxt`, change `pad: 100` to `pad: 0`. -Finally, copy the `fpv-labels.txt` and `fpv-deploy-colors.txt` from the aerial dataset to your model snapshot folder on Jetson. Your FCN-Alexnet model snapshot is now compatible with TensorRT. Now we can run it on Jetson and perform inference on images. +Finally, copy the `fpv-labels.txt` and `fpv-training-colors.txt` from the aerial dataset to your model snapshot folder on Jetson. Your FCN-Alexnet model snapshot is now compatible with TensorRT. Now we can run it on Jetson and perform inference on images. ##