自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(212)
  • 问答 (1)
  • 收藏
  • 关注

原创 sudo apt-get install 国内源 解决 apt-get update 问题

sudo apt-get install 国内源

2022-12-10 10:52:05 1928 1

原创 Ubuntu Anaconda 环境下删除 protobuf

ubuntu下anaconda环境protobuf

2022-08-02 20:27:32 671

转载 CUDA Eclipse Nsight 不能打开工程 an error has occurred see the log file

解决方法:打开Linux终端,输入命令:echo 'export PATH=/usr/local/cuda-10.0/bin/:$PATH'>>~/.bashrcecho 'export LD_LIBRARY_PATH=/usr/local/cuda-10.0/lib64:$LD_LIBRARY_PATH'>>/.bashrcsource ~/.bashrc

2021-04-10 16:47:52 236

原创 pip 安装 imagecodecs 失败

很多类似问题都是需要pip install --user --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple再重新安装

2020-05-25 10:39:12 1939

翻译 cuda_runtime_api.h 找不到

export CUDA_HOME=$HOME/tools/cuda-9.0 # change to your pathexport CUDA_TOOLKIT_ROOT_DIR=$CUDA_HOMEexport LD_LIBRARY_PATH="$CUDA_HOME/extras/CUPTI/lib64:$LD_LIBRARY_PATH"export LIBRARY_PATH=$CUDA_HOME/lib64:$LIBRARY_PATHexport LD_LIBRARY_PATH=$CUDA_HOM.

2020-05-21 16:10:27 4796

翻译 /usr/lib/sudo/sudoers.so must be only be writable by owner

https://askubuntu.com/questions/92556/how-do-i-boot-into-a-root-shell如果你连 sudo su 都无法获取权限,那么只能:在boot 之后立刻按 Esc or Shift,进入 Ubuntu Recovery Mode然后"Enable networking" ->"Drop to a root shell...

2019-10-10 10:45:41 998

转载 darknet activate_array

void activate_array(float *x, const int n, const ACTIVATION a){ int i; for(i = 0; i < n; ++i){ x[i] = activate(x[i], a); }}

2019-08-27 14:11:27 306

原创 ImportError: dynamic module does not define module export function (PyInit__caffe)

It can be solved if you step back to python version 2.

2019-07-30 10:54:21 1529 1

原创 Install torch and torchvision

The official stsps for installation is as follows:pip3 install https://download.pytorch.org/whl/cu80/torch-1.0.1.post2-cp35-cp35m-linux_x86_64.whlpip3 install torchvisionHowever, torchvision is ...

2019-07-27 18:02:25 2161

转载 word 中同样的字号和行距倍数,不一样的行距

https://blog.csdn.net/missingu1314/article/details/24430165http://www.xyduan.net/the-same-single-line-spacing-line-spacing-is-different/两篇文档,都是小四号字,都是单倍行距,可是行距明显不同,把其中的一个文档的一页复制到另一个文档,可以占一页半内容。为什么...

2019-05-06 18:08:04 2202

转载 ImportError: cannot import name main when running pip

https://stackoverflow.com/questions/28210269/importerror-cannot-import-name-main-when-running-pip-version-command-in-windoEven though the original question seems to be from 2015, this 'bug' seems to...

2019-03-13 11:35:12 176

转载 Ubuntu 16.04 安装 cuda 7.5.run BEGIN failed--compilation aborted at ./cuda-installer.pl line 5

sudo apt install freeglut3-dev build-essential libx11-dev libxmu-dev \libxi-dev libgl1-mesa-glx libglu1-mesa libglu1-mesa-dev libglfw3-dev libgles2-mesa-dev

2019-03-03 09:59:39 1368

转载 "package gcc-4.9 is not available, but is referred to by another package", 安装gcc时出错的解决方法

https://stackoverflow.com/questions/48398475/fail-to-install-gcc-4-9-in-ubuntu17-04sudo apt-get update --fix-missingsudo apt-get dist-upgradesudo apt-get install gcc-4.9 g++-4.9 gcc-4.9-multilib...

2019-03-03 09:42:03 8027 1

转载 多版本opencv 兼容

https://blog.csdn.net/learning_tortosie/article/details/80594399多版本OpenCV共存假设我们已经安装好一版OpenCV,一般都安装在/usr/local下。如果需要安装另一个版本的OpenCV,就不能再安装到/usr/local,而是选择其他路径,否则会覆盖掉之前的版本。下载OpenCV首先去https://open...

2019-02-27 22:14:35 598

转载 luarocks 安装hdf5的过程中 fatal error: hdf5.h: No such file or directory

 https://ahmedibrahimvt.wordpress.com/2017/02/19/fatal-error-hdf5-h-no-such-file-or-directory/First, you need to make sure the HDF5 packages are installed. If they are not installed, you can insta...

2019-02-22 17:02:42 1072 1

翻译 darknet 训练 cannot load image

train.txt 的末尾 不应是'\r\n' 而应是 '\n' 

2019-02-22 16:53:45 3289

转载 pip ImportError: cannot import name 'main' after update

sudo python3 -m pip uninstall pip &amp;&amp; sudo apt install python3-pip --reinstallChang 'pip' to 'pip3'

2019-02-22 09:55:20 123

转载 th: command not found

source ~/.bashrc

2019-02-21 15:53:23 2815 1

翻译 Pocketflow 使用

Pocketflow的简介:https://pocketflow.github.io/由两个modules组成:Learner module 负责利用随机hyperparameters压缩并fine-tuning,optimizer module 负责依据随机参数对应的结果确定最佳的压缩参数。Learn module 遍历的hyperparameter来自于:Name Descrip...

2019-02-18 17:39:04 2768 3

转载 tf.variable_scope() and tf.name_scope()

https://blog.csdn.net/UESTC_C2_403/article/details/72328815tf.variable_scope可以让变量有相同的命名,包括tf.get_variable得到的变量,还有tf.Variable的变量tf.name_scope可以让变量有相同的命名,只是限于tf.Variable的变量例如:import tensorflow a...

2019-02-15 10:31:47 244

转载 github 创建文件夹

https://blog.csdn.net/zhaomengszu/article/details/80354929 在我们不适用本地Git的情况下,我们怎么在网页上创建类似下图一样的文件夹呢四步方法:第一步:找到新增按钮第二步:输入文件夹名,你想要用的文件夹名字。第三步:输入文件名字后,再输入英文模式下的 “/”即可第四步:随意新增一个文件,以及键入一些内...

2019-02-08 17:30:04 376

转载 python 压缩感知

http://www.pyrunner.com/weblog/2016/05/26/compressed-sensing-python/Compressed SensingIn this post I’ll be investigating compressed sensing (also known as compressive sensing, compressive sampling...

2019-01-23 22:00:17 3831

转载 tensorflow atrous convoltion

conv2d_same 就是专门针对 atrous convolution 的 dilation 进行的卷积 https://blog.csdn.net/u013200703/article/details/79300217def conv2d_same(inputs, num_outputs, kernel_size, stride, rate=1, scope=None):  if s...

2019-01-18 12:29:01 123 1

转载 tensorflow same valid

https://stackoverflow.com/questions/37674306/what-is-the-difference-between-same-and-valid-padding-in-tf-nn-max-pool-of-tIf you like ascii art: "VALID" = without padding: inputs: 1 ...

2019-01-18 12:15:22 99

原创 Deeplab unexpected label

另一种可能的原因是,输入图像尺寸不当,比如奇数偶数不对,导致进入网络中需要补或resize,这样就造成了不确定的label值。

2019-01-02 09:37:16 181

翻译 mmdnn tensorflow 转 caffe

参考https://github.com/Microsoft/MMdnn/blob/master/mmdnn/conversion/tensorflow/README.md#how-to-prepare-your-model-and-conversion-parameters查看可用模型:How to prepare your model and conversion paramete...

2019-01-01 10:56:47 2667 3

原创 error: ‘CUDNN_CONVOLUTION_FWD_ALGO_WINOGRAD’ was not declared in this scope

cudnn版本问题cuda8.0+cudnn5.1可取还应修改 Makefile.config当中cuda的路径

2019-01-01 10:46:25 5158 9

原创 mmdnn TensorFlow is outdated

不仅要更新 tf还要 pythonimport tensorflow as tfprint(tf.__path__) 将其export 到PYTHONPATH当中

2018-12-31 10:33:30 394

原创 mmdnn cannot import caffe

export PYTHONPATH=/path/to/your/pycaffe:$PYTHONPATH

2018-12-30 20:57:14 202

原创 ImportError: dynamic module does not define module export function (PyInit__caffe)

在我们需要用到pycaffe的时候出现的我的原因是在一个anaconda环境下,protoc的版本与caffe不搭配,所以这样。换一个anaconda环境之后,两者搭配了,就没问题了。...

2018-12-30 20:56:04 2784

转载 [Object Detection] TypeError: `name` must be string, given: 0

https://github.com/tensorflow/models/pull/5372/files#diff-76df8ca264a059e8a3003851fe4d7849R653 research/object_detection/model_lib.py  def create_train_and_eval_specs(train_input_fn,     ...

2018-12-20 08:17:46 301

转载 [object detection] TypeError: can't pickle dict_values objects

https://github.com/tensorflow/models/issues/4780If you're using python3 , add list() to category_index.values() in model_lib.py about line 381 as this list(category_index.values()).

2018-12-19 19:27:51 681 1

原创 Ubuntu 安装 cuda deb 指令 不要自动装9.2

比如安装 9.0 sudo dpkg -i cuda-repo-ubuntu1604-9-0-local_9.0.148-1_amd64.debsudo apt-key add /var/cuda-repo-9-0-local/7fa2af80.pubsudo apt-get updatesudo apt-get install cuda最后一句会自动安装9.2 需要改为:su...

2018-12-19 14:41:42 117

原创 安装distro ./test.sh 找不到路径

https://github.com/torch/distro./test.sh 显示找不到path,需要我们在./update.sh之后 source /root/.bashrc

2018-11-30 15:54:19 315

转载 Usage of P4V on Ubuntu 16.04

SOLUTIONDouble-click the file to unpack the archive. If this does not extract the files on your Linux system, use this command to unpack the archive:tar -xvzf p4v.tgzThis will create a new dire...

2018-10-31 10:42:55 365

转载 ubuntu 文件管理器死机

有时会遇到Ubuntu文件管理器死掉的情况,怎么点击都没有反应,这时只需在终端上运行ps -A | grep nautilus,查找文件管理器nautilus对应的pid,然后sudo+kill+pid就可以关闭文件管理器进程,随便点击一个文件夹就可以重启文件管理器了。...

2018-07-05 08:07:14 1043

转载 ubuntu 通过 海康sdk调用摄像头抓图片

https://blog.csdn.net/ding977921830/article/details/75272384在本文中我的电脑是使用的Ubuntu16.04 64位,使用工具是QT5.7.1,opencv2.4.9.一、根据电脑的型号下载海康威视的SDK包网址:http://www.hikvision.com/cn/download_61.html。我的笔记本时linux64位的,所以下...

2018-06-19 12:20:17 2538

转载 caffe安装常见问题

https://blog.csdn.net/u012576214/article/details/68947893解决办法是依据出现错误的顺序而给出的,为了方便,可以直接先执行所有解决办法后再安装caffe。1. ./include/caffe/common.hpp:5:27: fatal error: gflags/gflags.h: No such file or directory解决办法:...

2018-06-07 14:29:14 357

转载 安装caffe 时遇到 undefined reference to leveldb or protobuf

https://gist.github.com/dustismo/6203329https://src.fedoraproject.org/lookaside/pkgs/leveldb/leveldb-1.9.0.tar.gz/12f11385cb58ae0de66d4bc2cc7f8194/tar -xzf leveldb-1.9.0.tar.gzcd leveldb-1.9.0makesudo...

2018-06-05 16:38:50 1191

转载 ./include/caffe/util/cudnn.hpp: error: too few arguments to function ‘SetPooling2dDescriptor

https://blog.csdn.net/tianrolin/article/details/71246472这是由于所使用的cuDNN版本不一致的导致的,作者配置环境是cuDNN 4.0,但是5.0版本后的cuDNN接口有所变化。解决方法 :将以下几个文件用最新BVLC版本的caffe对应文件替换并重新编译./include/caffe/util/cudnn.hpp./include/caf...

2018-05-14 21:13:00 787

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除