From 7cf619c4700192edf75448ddb7321f611c2e5730 Mon Sep 17 00:00:00 2001 From: Tim <tim.vandaalen@wur.nl> Date: Tue, 13 Apr 2021 16:04:43 +0200 Subject: [PATCH] instruction how to create shortcuts --- Install_Guide_Adlink_Neon.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/Install_Guide_Adlink_Neon.md b/Install_Guide_Adlink_Neon.md index 1ab201b..27bb8ed 100644 --- a/Install_Guide_Adlink_Neon.md +++ b/Install_Guide_Adlink_Neon.md @@ -91,4 +91,33 @@ If there's still an error, like **unable to execute 'swig': No such file or dire - swig -python -c++ -modern -builtin -o nv_onnx_parser_bindings_wrap.cpp nv_onnx_parser_bindings.i (*should execute without any feedbacks and errors*) - sudo python3 setup_2.py install <br/> <br/> +**11) OPTIONAL: Make desktop shortcuts:** +- follow the instructions in this URL: https://gist.github.com/nathakits/7efb09812902b533999bda6793c5e872 +- chmod u+x /home/adlink/inference/inference.py +- Right click on the desktop-file and select Properties. In the Permissions tab, set the execute to allow executing file as program + +[Desktop Entry]<br/> +Name=detection<br/> +Version=1<br/> +Icon=/home/adlink/inference/data/optima.jpg<br/> +Exec=python3 /home/adlink/inference/inference.py --cfg /home/adlink/inference/cfg/detection.yaml<br/> +Terminal=true<br/> +Type=Application<br/> + +[Desktop Entry]<br/> +Name=classification<br/> +Version=1<br/> +Icon=/home/adlink/inference/data/optima.jpg<br/> +Exec=python3 /home/adlink/inference/inference.py --cfg /home/adlink/inference/cfg/classification.yaml<br/> +Terminal=true<br/> +Type=Application<br/> + +[Desktop Entry]<br/> +Name=classification_patches<br/> +Version=1<br/> +Icon=/home/adlink/inference/data/optima.jpg<br/> +Exec=python3 /home/adlink/inference/inference.py --cfg /home/adlink/inference/cfg/classification_patches.yaml<br/> +Terminal=true<br/> +Type=Application<br/> + -- GitLab