1. Cuda failure: no kernel image is available for execution on the device in file ../plugin_factory.cpp at line 155
Nano is with GPU capacity=53
https://arnon.dk/matching-sm-architectures-arch-and-gencode-for-various-nvidia-cards/
2. xxx is not in the sudoers file. This incident will be reported.
编辑sudoers文件
vi /etc/sudoers
找到这行 root ALL=(ALL) ALL,在他下面添加xxx ALL=(ALL) ALL (这里的xxx是你的用户名)
ps:这里说下你可以sudoers添加下面四行中任意一条
youuser ALL=(ALL) ALL
%youuser ALL=(ALL) ALL
youuser ALL=(ALL) NOPASSWD: ALL
%youuser ALL=(ALL) NOPASSWD: ALL
第一行:允许用户youuser执行sudo命令(需要输入密码).
第二行:允许用户组youuser里面的用户执行sudo命令(需要输入密码).
第三行:允许用户youuser执行sudo命令,并且在执行的时候不输入密码.
第四行:允许用户组youuser里面的用户执行sudo命令,并且在执行的时候不输入密码.
3. NumPy 1.17.0 breaks in PyInstaller generated frozen packages, can't find `numpy.random.common
sudo pip3 uninstall numpy
sudo pip3 install numpy==1.16.2
4. ./include/caffe/common.hpp:5:27: fatal error: gflags/gflags.h: No such file or directory
解决办法:sudo apt-get install libgflags-dev