sudo pacman -S fcitx fcitx-im kcm-fcitx fcitx-configtool
vi ~/.pam_environment
with
GTK_IM_MODULE DEFAULT=fcitx
x | y | |
---|---|---|
0 | -0.04788403320312362 | |
1 | -0.033518822751855026 | |
2 | -0.057460839843749056 | |
3 | -0.04788403320312362 | |
4 | -0.052672436033105896 | |
5 | -0.057460839843749056 | |
6 | -0.033518822751855026 | |
7 | -0.04309562939248046 | |
8 | -0.04309562939248046 |
sudo pacman -S fcitx fcitx-im kcm-fcitx fcitx-configtool
vi ~/.pam_environment
with
GTK_IM_MODULE DEFAULT=fcitx
By default, CMake does not provide the "make uninstall" target, so you cannot do this. We do not want "make uninstall" to remove useful files from the system. If you want an "uninstall" target in your project, then nobody prevents you from providing one. You need to delete the files listed in install_manifest.txt file. Here is how to do it. First create file cmake_uninstall.cmake.in in the top-level directory of the project:
if(NOT EXISTS "@CMAKE_BINARY_DIR@/install_manifest.txt")
FROM dockcross/base:latest | |
ENV DEFAULT_DOCKCROSS_IMAGE arm64-cross | |
ENV CROSS_TRIPLE aarch64-linux-gnu | |
ENV XCC_PREFIX /usr/local | |
ENV CROSS_ROOT ${XCC_PREFIX}/${CROSS_TRIPLE} | |
ENV AS=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-as \ | |
AR=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-gcc-ar \ | |
CC=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-gcc \ |
cat /usr/local/cuda/include/cudnn_version.h | grep CUDNN_MAJOR |
# Download package from https://developer.nvidia.com/rdp/cudnn-archive. | |
# Extract and move to right place | |
tar -xzvf cudnn-x.x-linux-x64-v8.x.x.x.tgz | |
sudo cp cuda/include/cudnn*.h /usr/local/cuda/include | |
sudo cp -P cuda/lib64/libcudnn* /usr/local/cuda/lib64 | |
sudo chmod a+r /usr/local/cuda/include/cudnn*.h /usr/local/cuda/lib64/libcudnn* |
export PATH=/usr/local/cuda-11.2/bin${PATH:+:${PATH}} | |
export LD_LIBRARY_PATH=/usr/local/cuda-11.2/lib64\${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} | |
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/cuda/targets/x86_64-linux/lib |
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin sudo mv cuda-ubuntu1804.pin /etc/apt/preferences.d/cuda-repository-pin-600 | |
wget https://developer.download.nvidia.com/compute/cuda/11.2.2/local_installers/cuda-repo-ubuntu1804-11-2-local_11.2.2-460.32.03-1_amd64.deb | |
sudo dpkg -i cuda-repo-ubuntu1804-11-2-local_11.2.2-460.32.03-1_amd64.deb | |
sudo apt-key add /var/cuda-repo-ubuntu1804-11-2-local/7fa2af80.pub | |
sudo apt-get update | |
sudo apt-get -y install cuda |
sudo apt-get update | |
sudo apt-get upgrade | |
# Installation prerequisite libraries | |
## Compile tools | |
sudo apt-get install build-essential cmake pkg-config unzip git checkinstall | |
## Image I/O | |
sudo apt-get install libjpeg-dev libpng-dev libtiff-dev | |
## Video/Audio | |
sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev libxvidcore-dev libx264-dev |
#include <iostream> | |
#include <chrono> | |
#include <iomanip> | |
#include <vector> | |
#include "tensorflow/lite/c/common.h" | |
#include "tensorflow/lite/interpreter.h" | |
#include "tensorflow/lite/kernels/register.h" | |
#include "tensorflow/lite/model.h" |