- 博客(17)
- 收藏
- 关注
原创 Tensorflow 相关问题
install bazel 0.24.1 is the bazel version installed, use bazel version to check if the installation is success or not wget https://github.com/bazelbuild/bazel/releases/download/0.24.1/bazel-0.24.1-installer-linux-x86_64.sh ./bazel-0.21.0-installer-linux-
2022-05-30 18:01:17
229
原创 CMake Cheat Sheet (WIP)
Windows https://blog.csdn.net/yp18792574062/article/details/106987891 Linux
2021-06-25 18:06:05
453
转载 linux install beyond compare
DEBIAN, UBUNTU Beyond Compare 4.1 and newer require matching package and OS architecture (amd64.deb or i386.deb). Beyond Compare 3 - 4.0.7 require the i386.deb package on all supported versions of Debian and Ubuntu (32-bit and 64-bit). Beyond Compare 3 .
2020-12-16 16:46:29
427
原创 opencv problem
Ubuntu 18.04 install prerequest error -error: unable to locate libjasper-dev sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu xenial-security main" sudo apt update sudo apt install libjasper1 libjasper-dev opencv3.4使用imshow函数时出现错误re..
2020-10-09 13:46:26
150
原创 Ubuntu problem set
dpkg: error processing package xxx (--configure) dpkg: error processing package xxx (--configure) or E:Sub-process/usr/bin/dpkgreturnedanerrorcode(1) sudo mv /var/lib/dpkg/info /var/lib/dpkg/info_old //现将info文件夹更名 sudo mkdir /var/lib/dpkg/inf...
2020-08-18 15:29:25
199
原创 docker配置
编辑/etc/docker/daemon.json { "log-driver": "json-file", "log-opts": { "max-size": "5m", "max-file": "3" }, "graph": "/path/to/docker/root" } 重启docker systemctl docker restart 添加用户到docker群组 usermod -aG docker ${USER}
2020-07-07 15:43:33
216
原创 一个U盘制作多个启动项
使用MultiBoostUSB 下载后打开该软件,首先选择要写入的u盘,点击Detect Drives选择;然后选择镜像,点击Browse进入相应路径选择镜像,然后点击Install distro等待一段时间提示成功就完成选择镜像的写入,可以再继续写入其他镜像。 其他软件:https://www.linuxbabe.com/apps/create-multiboot-usb-linux-windows-iso ...
2020-06-02 17:34:49
1434
原创 Windows 问题汇总
使用windows的command line安装exe等打包好的可执行文件时,一般直接输入文件名就可运行,但是往往有包含安装步骤的UI界面,silent install可以帮助快速安装。 如需要安装的程序为 example.exe,那么运行 /PATH_TO_FILE/example.exe \S 就可以在默认位置安装应用,如果需要指定安装路径,那么可以执行 /PATH_TO_FILE/example.exe \S \D C:\\PLACE_TO_INSTALL ...
2020-05-14 00:26:14
1771
原创 Save CV_32F image
In OpenCV header "types_c.h" there are a set of defines which generate these, theformatis CV_bits{U|S|F}C<number_of_channels> So for exampleCV_8UC3means 8 bit unsigned chars, 3 colour c...
2020-03-03 10:28:29
520
原创 Eigen notes
Eigen::Affine3与Eigen::Matrix4的转换 // Matrix4f to Affine3f Eigen::Matrix4f matrixTrans; Eigen::Transform<float, 3, Eigen::Affine> affineTrans (matrixTrans); // Affine3f to Matrix4f Eigen::Transf...
2020-02-26 17:33:12
361
原创 python3 notes
Make sure you have pip >= 9.0.1. You are using pip version 8.1.1, however version 19.3.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Traceback (mos...
2019-12-11 10:15:10
348
原创 算法题:组合数
第一题 给定n组询问,每组询问给定两个整数a,b,请你输出的值。 根据组合数性质,来递推算出每个组合数的值;平方级时间复杂度 #include <iostream> using namespace std; const int MOD = 1e9+7, N = 2010; int C[N][N], n; void compute() { for(int...
2019-11-28 16:14:16
521
原创 远程连接服务器/docker的xfce桌面
这里使用vnc4server以及vncviewer连接 首先在远端下载 sudo apt-get install xfce4 xfce4-goodies vnc4server sudo apt-get install xdm 输入vnc4server应该就可以输入vnc的密码了, 输入 vnc4server -kill :1 可以关掉第一个vnc窗口.之后修改.vnc/xstartu...
2019-07-31 19:45:26
1154
原创 cmake编译文件时gflags依赖库报错问题
报错 "Make error: failed to link with libgflags.a" 这是因为gflags编译时默认静态库需要在编译时加入 DBUILD_SHARED_LIBS=ON选项,重新编译gflags: cd gflags/build cmake .. -DBUILD_SHARED_LIBS=ON make -j2 sudo make install 参考:h...
2019-07-31 10:57:29
3665
原创 Installing caffe in Ubuntu
sudo apt-get install -y --no-install-recommends libboost-all-dev sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libboost-all-dev libhdf5-serial-dev \ libgflags-de...
2018-09-13 00:49:04
204
原创 TinyOS安装完成后使用TIOSSIM仿真的注意事项
一. 找不到Python.h 以Blink为例,进入app/Blink文件夹,输入 make micaz sim 编译后得到如图错误 有两种情况,一种是真的没有Python.h这个文件,一种是Python的版本不对,可以进入/usr/include/目录下的Python2.x文件夹里查找是否有Python.h这个文件。 对于第一种情况,输入 sudo apt-get i
2017-05-22 15:29:09
1621
原创 使用Anaconda安装opencv
输入命令 conda install -c https://conda.binstar.org/menpo opencv 或者 conda install -c https://conda.binstar.org/menpo opencv3 直接安装即可 如果遇到错误,提示 CondaError: CondaHTTPError: HTTP None None for url ..
2017-05-15 18:56:29
942
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅