• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






youxiaogeo

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 2 3 4 下一页

2018年2月27日

git clone Failed to connect to 127.0.0.1 port 43213: Connection refused
摘要: 不知道为什么使用git clone 的时候报了上面的错误,后面发现是 127.0.0.1 port 43213的端口被代理占用了,可以这样查看: $ env|grep -i proxy 结果是: NO_PROXY=localhost,127.0.0.0/8,::1http_proxy=http:// 阅读全文
posted @ 2018-02-27 10:02 youxiaogeo 阅读(804) 评论(0) 推荐(0)
 

2018年1月31日

chrome不能浏览任何网页,提示配置proxy,Ubuntu
摘要: 自从在Ubuntu安装virtualbox以后,我的chrome浏览器就不能上网了,提示我检查proxy信息, 后面设置了noproxy就ok啦. 不用使用命令,一次设置,终身有效。 首先,安装gksu sudo apt-get install gksu 然后,打开终端,运行gksu nautilu 阅读全文
posted @ 2018-01-31 15:43 youxiaogeo 阅读(883) 评论(0) 推荐(0)
 

2018年1月29日

Ubuntu16下用virtualbox 安装Windows虚拟机
摘要: 平时要用Windows系统,但是现在工作都是在Linux下面开发,所以都没装Windows,之前用vm虚拟机比较麻烦, 所以就用virtualbox搞搞: 1、sed -i '$adeb http://download.virtualbox.org/virtualbox/debian xenial 阅读全文
posted @ 2018-01-29 12:56 youxiaogeo 阅读(1016) 评论(0) 推荐(0)
 

2018年1月24日

mobilenet之Depthwise +Pointwise
摘要: 我们知道,mobilenet是适用于移动端的深度学习网络,主要优点是参数少、模型小、准确率相比一些传统卷积损失少等特点。 mobileNet之所以这么ok,是因为引入了Depthwise +Pointwise 的结构; 简而言之, Depthwise :就是在depth上面做文章,就是常说的chan 阅读全文
posted @ 2018-01-24 15:10 youxiaogeo 阅读(1241) 评论(0) 推荐(0)
 

2018年1月18日

联想电脑t450,t460p,t470等安装好ubuntu后启动找不到系统
摘要: 其实我是这样解决的: 进入bios: 关quick start 关security 然后reboot就可以了 阅读全文
posted @ 2018-01-18 16:52 youxiaogeo 阅读(496) 评论(0) 推荐(0)
 

2018年1月16日

tensorflow-serving-gpu 本地编译并使用
摘要: 因为要部署,模型比较大,所以通常官网的pip install 和bazel 教程编译的都是cpu版本的代码, 所以为了感受下gpu就尝试自己编译了,首先,下载源码: 这里有个坑,下载玩serving代码后还要在在子模块,但是子模块主要包含两个: tensorflow tf_models tensor 阅读全文
posted @ 2018-01-16 11:04 youxiaogeo 阅读(1238) 评论(0) 推荐(0)
 

2018年1月15日

git克隆远程仓库的时候断电了,使用git-fetch断点续传
摘要: 今天下载tensorflow serving 模型,但是因为主机电源线太长了,不知是我自己搞的还是同事,断电了都, 网速捉急,下载了挺长时间的,一看,git clone 到中途竟然断电,不过查看,还好,有些都还在,只是clone到 tf_models的时候断电了,这时候可以使用 git fetch 阅读全文
posted @ 2018-01-15 18:19 youxiaogeo 阅读(2762) 评论(0) 推荐(0)
 

2018年1月10日

python-imaging-tk : Depends: python-imaging (= 1.1.7-4ubuntu0.12.04.3) but 3.1.2-0ubuntu1.1 is to be installed E: Unable to corre
摘要: 最近,将电脑主机升级到ubuntu16.04,但是需要用到 python-imaging-tk,先是报错: import PIL.ImageTk as ImageTkImportError: No module named ImageTk 参考网上的是pythonimaging-tk的包没有安装,所 阅读全文
posted @ 2018-01-10 12:45 youxiaogeo 阅读(744) 评论(0) 推荐(0)
 

2018年1月9日

TensorFlow Android Camera Demo 使用android studio编译安装和解决Execution failed for task ':buildNativeBazel'报错
摘要: 可以参考官网:https://github.com/tensorflow/tensorflow/tree/master/tensorflow/examples/android#android-studio 官网讲的很简单: Android Studio may be used to build th 阅读全文
posted @ 2018-01-09 20:28 youxiaogeo 阅读(633) 评论(0) 推荐(0)
 
Android关于API level、buildToolVersion、CompileSdkVersion
摘要: API level: API level是一个整数,它指的是我们使用的框架(Framework)的版本,也就是我们使用的sdk中的各个平台下的android.jar。 但是这个API level又和Android系统的版本有着对应关系,并且每个系统都会在内部记录它所使用的API level。 htt 阅读全文
posted @ 2018-01-09 13:46 youxiaogeo 阅读(391) 评论(0) 推荐(0)
 

2018年1月8日

bazel build //tensorflow/examples/android:tensorflow_demo报错: fatal error: 'cuda_runtime.h' file not found
摘要: In file included from ./third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1:external/eigen_archive/unsupported/Eigen/CXX11/Tensor:84:10: fatal error: 阅读全文
posted @ 2018-01-08 16:02 youxiaogeo 阅读(829) 评论(0) 推荐(0)
 
ssh 报错Host key verification failed 或Ubuntu connect to serve 失败
摘要: ssh 报错Host key verification failed 或Ubuntu connect to serve 失败 通常是因为没有装ssh sudo apt-get install openssh-server 就可以了,但是我这边是因为之前连上了,后面远程服务器改了密码, 之前保存的密码 阅读全文
posted @ 2018-01-08 12:50 youxiaogeo 阅读(422) 评论(0) 推荐(0)
 

2018年1月7日

ubuntu环境下,ubuntu16.04装机到nvdia显卡驱动安装、cuda8安装、cudnn安装
摘要: 首先是安装ubuntu16.04 A、制作u盘启动盘(提前准备好.ios文件): 1.安装u盘制作工具unetbootinsudo apt-get install unetbootin2.格式化u盘sudo fdisk -l #查看U盘盘符,假设为/dev/sdbsudo umount /dev/s 阅读全文
posted @ 2018-01-07 15:28 youxiaogeo 阅读(2068) 评论(0) 推荐(0)
 

2018年1月5日

tensorflow 升级后报错:ImportError: libcudnn.so.6: cannot open shared object file: No such file or directory
摘要: 我的tensorflow之前的版本是1.2的所以支持cudnn5,但是tensorflow1.3及以上就是支持cudnn6。 查看: /usr/local/cuda/lib64$ ls libcudnn*libcudnn.so libcudnn.so.5 libcudnn.so.5.1.5 libc 阅读全文
posted @ 2018-01-05 11:27 youxiaogeo 阅读(548) 评论(0) 推荐(0)
 

2018年1月3日

pycharm 下使用tensorflow 之环境配置
摘要: 我们常常看代码使用ide里面看,而且还可以看到调试信息(虽然tensorflow有专门的调试介绍哈) 但是,常常代码在终端里面执行可以直接执行,但是到pycharm里面就会出现各种问题,常见的就是找不到cuda.so文件等等。这里解决方案是设置下文件的环境变量: 菜单Run->Edit config 阅读全文
posted @ 2018-01-03 14:51 youxiaogeo 阅读(1418) 评论(0) 推荐(0)
 

2017年12月26日

mac下用命令行解压文件
摘要: 在Mac上的归档工具不能够解压rar文件,这时可以使用终端中的unrar来解决问题。 步骤如下: 1.使用Homebrew安装unrar(有关Homebrew的安装和使用见Homebrew) [plain] view plain copy $ brew install unrar ==> Downl 阅读全文
posted @ 2017-12-26 09:44 youxiaogeo 阅读(355) 评论(0) 推荐(0)
 

2017年12月18日

目标检测之faster-RCNN和FPN
摘要: 今年(2017年第一季度),何凯明大神出了一篇文章,叫做fpn,全称是:feature pyramid network for object Detection,为什么发这篇文章,根据 我现在了解到的是对小目标和大目标识别率都好。为什么?我们来看下面一幅图: 此处来自:http://blog.csd 阅读全文
posted @ 2017-12-18 18:05 youxiaogeo 阅读(2391) 评论(0) 推荐(0)
 

2017年12月15日

ubuntu 从零安装tf-serving环境和opencv
摘要: 参考官网:https://www.tensorflow.org/serving/setup 首先是安装gprc: just run the following command: Long answer- Here is my locale settings: Python2.7 curl https 阅读全文
posted @ 2017-12-15 16:40 youxiaogeo 阅读(1535) 评论(0) 推荐(0)
 

2017年12月13日

tensorflow pip install 安装指定版本的包并指定安装源(速度会快很多)
摘要: index-url = https://pypi.tuna.tsinghua.edu.cn/simple 阅读全文
posted @ 2017-12-13 11:06 youxiaogeo 阅读(2430) 评论(0) 推荐(0)
 

2017年12月12日

Generative Adversarial Networks,gan论文的畅想
摘要: 前天看完Generative Adversarial Networks的论文,不知道有什么用处,总想着机器生成的数据会有机器的局限性,所以百度看了一些别人 的看法和观点,可能我是机器学习小白吧,看完之后感触还挺多的,我们可以gan: 1、生成一个图片、诗词,比如中国山水画。假设给一个命题‘思乡’,让 阅读全文
posted @ 2017-12-12 14:50 youxiaogeo 阅读(251) 评论(0) 推荐(0)
 

2017年12月11日

ubuntu16 安装openssh-server 一直安装不上Unable to correct problems, you have held broken packages
摘要: zengqi@zengqi:~$ sudo apt-get install openssh-server Reading package lists... DoneBuilding dependency tree Reading state information... DoneSome packa 阅读全文
posted @ 2017-12-11 15:29 youxiaogeo 阅读(1051) 评论(0) 推荐(0)
 

2017年12月7日

点乘(内积)和叉乘(外积、向量积)
摘要: 转自原创出处:http://blog.csdn.net/dcrmg/article/details/52416832 向量是由n个实数组成的一个n行1列(n*1)或一个1行n列(1*n)的有序数组; 向量的点乘,也叫向量的内积、数量积,对两个向量执行点乘运算,就是对这两个向量对应位一一相乘之后求和的 阅读全文
posted @ 2017-12-07 10:18 youxiaogeo 阅读(64646) 评论(0) 推荐(3)
 

2017年12月4日

Ubuntu中清理Network下Connect to Server的入口
摘要: 转自:http://blog.csdn.net/maxilbert/article/details/51126467 connect to server入口列表文件以xml格式存放在 ~/.config/nautilus/servers 中 用gedit或vi打开~/.config/nautilus 阅读全文
posted @ 2017-12-04 11:29 youxiaogeo 阅读(406) 评论(0) 推荐(0)
 

2017年12月3日

tensorflow 之tensorboard 对比不同超参数训练结果
摘要: 我们通常使用tensorboard 统计我们的accurate ,loss等,并绘制曲线,通常是使用一次训练中的, 但是,机器学习中通常要对比不同的 ‘超参数’给模型训练和预测能力的不同这时候如何整合多个训练模型的训练 等情况呢? 其实我们可以讲不同训练结果放在一个大文件夹中,比如训练不同learn 阅读全文
posted @ 2017-12-03 17:05 youxiaogeo 阅读(1163) 评论(0) 推荐(0)
 

2017年11月24日

tensorflow 高级api使用分布式之配置
摘要: """Constructor. Sets the properties `cluster_spec`, `is_chief`, `master` (if `None` in the args), `num_ps_replicas`, `task_id`, and `task_type` based 阅读全文
posted @ 2017-11-24 15:27 youxiaogeo 阅读(1499) 评论(0) 推荐(0)
 

2017年11月10日

rename批量修改文件并在后缀前加字段
摘要: rename 's/\.jpg$/generate_badu\.jpg/' * 其中,'.'需要加转义斜杠'\', '*'代表文件夹下所有文件 阅读全文
posted @ 2017-11-10 20:46 youxiaogeo 阅读(537) 评论(0) 推荐(0)
 
python opencv3 给图片加中文
摘要: 转自:https://www.cnblogs.com/arkenstone/p/6961453.html opencv3.2将中文输出到图片上 opencv自带的putText函数无法输出utf8类型的字符,因此无法将中文打印到图片上。用这篇文章的freetype可以实现中文输出,但是需要将字符解码 阅读全文
posted @ 2017-11-10 16:01 youxiaogeo 阅读(5576) 评论(0) 推荐(0)
 

2017年11月3日

关于scp在zsh报错:zsh:no matches found :
摘要: 我要将某一目录下面所有文件拷贝的时候,scp *.jpg 的时候,报错 zsh: no matchs found:path 其实是zsh自己解析了*号,所以,只要给*加上就可以了\ scp \*.jpg ok 阅读全文
posted @ 2017-11-03 17:02 youxiaogeo 阅读(773) 评论(0) 推荐(0)
 

2017年10月30日

Incompatible shapes during the half way training---Invalid argument: Incompatible shapes: [1,63,4] vs. [1,64,4]
摘要: 这是tensorflow model 中我使用它的faster--cnn,但是就是训练过程中,代码执行到一半 一般是step=40~120的时候就报错了: 阅读全文
posted @ 2017-10-30 20:02 youxiaogeo 阅读(1542) 评论(0) 推荐(0)
 

2017年10月27日

InvalidArgumentError (see above for traceback): Assign requires shapes of both tensors to match. lhs shape= [2048,38] rhs shape= [2048,2]
摘要: 做tensorflow object detection 中,清空下checkpoint就可以啦 阅读全文
posted @ 2017-10-27 17:45 youxiaogeo 阅读(9038) 评论(0) 推荐(1)
 
对于目标识别的一些idea-传递特征的position而不是特征或特征图
摘要: 我们在目标识别中通常是识别到目标的,通过proposals回归的方式,但是如果我们可以在 训练过程中识别到特征以后,将特征的位置信息传到下一层网络这样是否会训练收敛更快, 精度更高。 可能这也是以后机器学习或深度学习发展的方向,就是改变传送到下一层的信息,或者指定 学习发展,损失优化规则等等 阅读全文
posted @ 2017-10-27 16:15 youxiaogeo 阅读(162) 评论(0) 推荐(0)
 

2017年10月26日

tf.pad(one_hot_encoding, [[0, 0], [1, 0]], mode='CONSTANT')
摘要: tf.pad(one_hot_encoding, [[0, 0], [1, 0]], mode='CONSTANT') tf.pad 是扩展的意思,其中[0, 0], [1, 0] 分别代表的是[上,下][左,右] 值为0代表相应边扩展0,比如上面代码中,左的位置的值为0,代表在左边增加一列,填充是 阅读全文
posted @ 2017-10-26 18:13 youxiaogeo 阅读(439) 评论(0) 推荐(0)
 
tf.identity 个人理解
摘要: tf.identity is useful when you want to explicitly transport tensor between devices (like, from GPU to a CPU). The op adds send/recv nodes to the graph 阅读全文
posted @ 2017-10-26 16:14 youxiaogeo 阅读(1357) 评论(0) 推荐(0)
 

2017年10月24日

tkinter绑定鼠标滚轮滚动事件 canvas.bind("<MouseWheel>", processWheel) 失效
摘要: 其实,不同系统不一样,我的是Ubuntu 所以是<Button-4> <Button-5> 见下: 来自:https://stackoverflow.com/questions/17355902/python-tkinter-binding-mousewheel-to-scrollbar Platf 阅读全文
posted @ 2017-10-24 19:25 youxiaogeo 阅读(1199) 评论(0) 推荐(0)
 

2017年10月20日

ValueError: too many values to unpack tensorflow
摘要: 使用tensorflow 的时候报错: result ,_= sess.run(ops)ValueError: too many values to unpack 其实是ops里面不止一个,返回解压成2个(result ,_) 失败!!!! 正确的是: result = sess.run(ops) 阅读全文
posted @ 2017-10-20 12:15 youxiaogeo 阅读(634) 评论(0) 推荐(0)
 

2017年10月18日

PR(Precision-Recall)曲线和mAP指标
摘要: 来自: https://www.zhihu.com/question/41540197 https://www.douban.com/note/518998773/ 作者:水哥链接:https://www.zhihu.com/question/41540197/answer/91698989来源:知 阅读全文
posted @ 2017-10-18 19:41 youxiaogeo 阅读(2567) 评论(0) 推荐(0)
 
RPN(region proposal network)之理解
摘要: 在faster-r-cnn 中,因为引入rpn层,使得算法速度变快了不少,其实rpn主要作用预测的是 “相对的平移,缩放尺度”,rpn提取出的proposals通常要和anchor box进行拟合回归,就像 卡尔曼滤波一样,最终结果是基于观测量加上一个预测量。这里将的不错,公式和代码也 切合。 下面 阅读全文
posted @ 2017-10-18 10:59 youxiaogeo 阅读(4946) 评论(0) 推荐(0)
 

2017年10月17日

atrous convolution
摘要: atrous convolution 简而言之,带孔卷积: 来自:https://zhuanlan.zhihu.com/p/27470685 假设一个二维信号,每个位置对应的输出为和卷积核为,带孔卷积在输入feature map上的计算如下: 其中孔的比例为对应采样输入信号的步长,这相当于将输入与通 阅读全文
posted @ 2017-10-17 16:13 youxiaogeo 阅读(2111) 评论(0) 推荐(0)
 

2017年10月13日

对于机器学习中多通道卷积经常理解不太精确,这里有篇讲的不错的
摘要: http://blog.csdn.net/zy1034092330/article/details/62044941 2.1 多通道图像卷积基础知识介绍 缩进在介绍RPN前,还要多解释几句基础知识,已经懂的看官老爷跳过就好。 对于单通道图像+单卷积核做卷积,第一章中的图3已经展示了; 对于多通道图像 阅读全文
posted @ 2017-10-13 14:40 youxiaogeo 阅读(3075) 评论(0) 推荐(1)
 

2017年9月25日

How to fix the bug “Expected "required", "optional", or "repeated".”?
摘要: 参考:https://github.com/tensorflow/models/issues/1834 You need to download protoc version 3.3 (already compiled). Used protoc inside bin directory to ru 阅读全文
posted @ 2017-09-25 10:40 youxiaogeo 阅读(1347) 评论(0) 推荐(0)
 
上一页 1 2 3 4 下一页