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






youxiaogeo

 
 

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

2018年11月9日

python,ModuleNotFoundError,is not a package
摘要: Traceback (most recent call last): File "/home/lll/zzz/work/video/zzz/generate.py", line 7, in <module> import gender_detect.Serv File "/home/lll/zzz/ 阅读全文
posted @ 2018-11-09 16:15 youxiaogeo 阅读(4015) 评论(0) 推荐(1)
 

2018年11月8日

在docker集群下,使用VNC,物理机器重启后VNC失败解决
摘要: 首先重装咯: sudo apt-get update sudo apt-get install ubuntu-desktop gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal sudo apt-get install 阅读全文
posted @ 2018-11-08 22:09 youxiaogeo 阅读(423) 评论(0) 推荐(0)
 

2018年11月5日

2、闵氏空间
摘要: 线元决定空间,通过定义时空线元,获得闵氏空间: 阅读全文
posted @ 2018-11-05 09:54 youxiaogeo 阅读(655) 评论(0) 推荐(0)
 

2018年10月31日

1、爱因斯相对论(狭义相对论)
摘要: 证明: 通过火车惯性系和地面惯性系中,假设车头车尾都受到雷击,车上和地面的人看到的雷击发生的不同导致不同惯性系时间的不同 两个前提: 1、各个物理定律,在各个惯性系中都有相同公式 2、光速不变原理,相对各个惯性系,光速都是C 基于上面触发,并加上时间、空间是均匀的,各向同性的,等等,从而推出了两个惯 阅读全文
posted @ 2018-10-31 09:51 youxiaogeo 阅读(581) 评论(0) 推荐(0)
 

2018年10月30日

tensorflow object detection api graph rewriter
摘要: 目前,tensorflow 目标识别的api函数可以使用 graph rewriter这样的配置,这样配置的引入主要是为了模型压缩使用,具体设置参数有: 阅读全文
posted @ 2018-10-30 20:20 youxiaogeo 阅读(705) 评论(0) 推荐(0)
 

2018年10月28日

tensorflow_目标识别object_detection_api,RuntimeError: main thread is not in main loop,fig = plt.figure(frameon=False)_tkinter.TclError: no display name and no $DISPLAY environment variable
摘要: 最近在使用目标识别api,但是报错了: File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/script_ops.py", line 158, in __call__ ret = func(*args) File "/ 阅读全文
posted @ 2018-10-28 21:18 youxiaogeo 阅读(819) 评论(0) 推荐(0)
 

2018年9月29日

目标检测识别在排除标注不标准问题下,为什么得分最高的框,不一定是最准的框.
摘要: 目标识别选取候选框是一般是处理策略通过iou阈值大于0.7便认为是目标,小于0.3便认为是背景. 我们对目标的位置的回归和目标类别识别中,只根据iou做一刀切,并没有对iou精细比较,由因为常规下 iou= 0.7对应的anchor box会比iou = 0.9的多,所以,在训练时,iou= 0.7 阅读全文
posted @ 2018-09-29 16:53 youxiaogeo 阅读(615) 评论(0) 推荐(0)
 

2018年9月26日

cmake: error: symbol(s) not found for architecture x86_64 mac os 使用boost asio
摘要: 最近在使用boost的asio库,在mac osx 上编写网络服务程序报错: :-1: error: symbol(s) not found for architecture x86_64 然后在CMakeList.txt的boost 加filesystem systen依赖: 然后报了新的错误: 阅读全文
posted @ 2018-09-26 10:55 youxiaogeo 阅读(930) 评论(0) 推荐(0)
 

2018年9月22日

Android studio使用android:style/Theme.Dialog报错:You need to use a Theme.AppCompat theme (or descendant) with this activity. at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2913)
摘要: 查找原因是在activity java代码部分继承了compatactivity public class DialogActivity extends AppCompatActivity 但是在AndroidManifest.xml里面确定义成Dialog, 解决方法是修改activity jav 阅读全文
posted @ 2018-09-22 11:05 youxiaogeo 阅读(1672) 评论(0) 推荐(0)
 

2018年9月12日

Android studio下载慢解决,使用阿里云解决(转)
摘要: 转自:https://blog.csdn.net/kangweijian/article/details/79120849?%3E 使用开源中国的maven库 阿里云的(速度飞快):http://maven.aliyun.com/nexus/content/groups/public/ build. 阅读全文
posted @ 2018-09-12 18:45 youxiaogeo 阅读(298) 评论(0) 推荐(0)
 

2018年9月4日

mac book pro macOS10.13.3安装qt、qt creator C++开发环境,qt5.11.1,并解决cmake构建:qt mac this file is not part of any project the code
摘要: 因为之前在Ubuntu下使用的是qtcreator开发,现在想在mac上装一个系统,因为许久未装了,还是花了点时间,不如写个博客,下次就更快安装了。在Mac OS X下使用Qt开发,需要配置Qt库和编译器。编译器只能使用苹果公司自主研发的Clang。 首先是: 下载:Command_Line_Too 阅读全文
posted @ 2018-09-04 17:52 youxiaogeo 阅读(6596) 评论(0) 推荐(1)
 

2018年8月31日

模型压缩,模型减枝,tf.nn.zero_fraction,统计0的比例,等。
摘要: 我们刚接到一个项目时,一开始并不是如何设计模型,而是去先跑一个现有的模型,看在项目需求在现有模型下面效果怎么样。当现有模型效果不错需要深入挖掘时,仅仅时跑现有模型是不够的,比如,如果你要在嵌入式里面去实现,目前大多数模型大小和计算量都不满足,这就产生了模型压缩和剪枝。 模型压缩常做的是将模型从flo 阅读全文
posted @ 2018-08-31 13:09 youxiaogeo 阅读(821) 评论(0) 推荐(0)
 
tensorflow 升级到1.9-rc0,生成静态图frozen graph.pb本地测试正常, 在其他版本(eg1.4版本)或者android下运行出错NodeDef mentions attr 'dilations' not in Op<name=Conv2D; signature=input:T, filter:T -> output:T; attr=T:type,allowed=[DT_
摘要: 这时节点定义找不到NodeDef attr 'dilations' not in,说明执行版本的NodeDef不在节点定义上,两个不一致,分别是执行inference的代码和生成静态图节点不一致(当然,因为执行环境和生成环境不一样,也就是版本问题), 解决方案是:如果是云端部署,那就在云端生成模型g 阅读全文
posted @ 2018-08-31 10:10 youxiaogeo 阅读(1006) 评论(0) 推荐(0)
 

2018年8月30日

tensorflow 升级到1.9-rc0,tensorboard 报错:TypeError: GetNext() takes exactly 1 argument (2 given)
摘要: Exception in thread Reloader:Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File 阅读全文
posted @ 2018-08-30 10:41 youxiaogeo 阅读(1167) 评论(0) 推荐(0)
 

2018年8月22日

crontab,定时任务执行找不到库or shell可执行,crontab 定时任务下就不能执行,tensorflow,ImportError: libcuda.so.1: cannot open shared object file: No such file or directory
摘要: 在线上启动一个定时任务,但是起来查看,发现任务执行找不到库,报cuda错误: ImportError: libcuda.so.1: cannot open shared object file: No such file or directory 后面在/usr/local/nvidia/lib64 阅读全文
posted @ 2018-08-22 10:13 youxiaogeo 阅读(1065) 评论(0) 推荐(0)
 

2018年8月20日

tensorflow,object,detection,在model zoom,新下载的模型,WARNING:root:Variable [resnet_v1_50/block1/unit_3/bottleneck_v1/conv3/BatchNorm/gamma] is not available in checkpoint
摘要: 现象: WARNING:root:Variable [resnet_v1_50/block1/unit_1/bottleneck_v1/conv1/BatchNorm/beta] is not available in checkpointWARNING:root:Variable [resnet_ 阅读全文
posted @ 2018-08-20 16:12 youxiaogeo 阅读(3554) 评论(0) 推荐(0)
 
tensorflow,model,object_detection,训练loss先下降后递增,到几百万,解决tensorflow,model,object,detection,loss,incease
摘要: 现象:训练loss一开始下降一部分,跌代到若干次(具体多少和你的learning rate大小有关,大就迭代小就发生,小就需要多几次迭代)日志如下(下面的日志来源于网络,我自己的日志已经clear掉了,不过不影响): INFO:tensorflow:global step 272: loss = 0 阅读全文
posted @ 2018-08-20 15:51 youxiaogeo 阅读(4700) 评论(0) 推荐(0)
 

2018年8月2日

make,makefile,cmake“暴力编译法”的个人经验或理解。
摘要: 通常我们在本地编译库(opecv、pcl)等我们喜欢使用make -jN (N代表线程数)这样可以加速编译过程, 但是,这不一定是“线程安全”的,因为当某个线程在编译时,经常其他线程编译依赖本线程的结果,但是本线程编译 内容还没编译完全,导致报错。所以,使用多个线程编译时,我们通常使用“暴力编译法” 阅读全文
posted @ 2018-08-02 16:54 youxiaogeo 阅读(843) 评论(0) 推荐(0)
 

2018年7月28日

tensorflow 1.9 ,bazel 0.15.0,源码编ERROR, Skipping, '//tensorflow/tools/pip_package:build_pip_package',error loading packageCuda Configuration Error, Cannot find libdevice.10.bc under /usr/local/cuda-8.0
摘要: 最近在看tensorflow 移动端部署,需要编译源码才支持,所以又拾起来了编译这项老工作,其中遇到问题: bazel build --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0" --config=opt --config=cuda //tensorflow/tools/ 阅读全文
posted @ 2018-07-28 17:34 youxiaogeo 阅读(3038) 评论(0) 推荐(0)
 

2018年7月27日

git 提交丢失Warning, you are leaving 2 commits behind,
摘要: 早上在自己的一个版本代码上编辑,提交commint,但是checkout到其他分支再checkout回来发现该的东西不见了, 幸好terminal还没有关掉,回看日志: Warning: you are leaving 2 commits behind, not connected toany of 阅读全文
posted @ 2018-07-27 11:38 youxiaogeo 阅读(1851) 评论(0) 推荐(0)
 

2018年7月9日

kalman filter卡尔曼滤波器- 数学推导和原理理解-----网上讲的比较好的kalman filter和整理、将预测值和观测值融和
摘要: = 参考/转自: 1 https://blog.csdn.net/u010720661/article/details/63253509 2 http://www.bzarg.com/p/how-a-kalman-filter-works-in-pictures/ 3 徐亦达 机器学习课程(优酷) 阅读全文
posted @ 2018-07-09 13:00 youxiaogeo 阅读(2197) 评论(0) 推荐(1)
 

2018年6月21日

faster rcnn源码阅读笔记3
摘要: 阅读全文
posted @ 2018-06-21 23:16 youxiaogeo 阅读(326) 评论(0) 推荐(0)
 
faster rcnn源码阅读笔记2
摘要: 阅读全文
posted @ 2018-06-21 23:14 youxiaogeo 阅读(280) 评论(0) 推荐(0)
 
faster rcnn源码阅读笔记1
摘要: 自己保存的源码阅读笔记哈 faster rcnn 的主要识别过程(粗略) (开始填坑了): 一张3通道,1600*1600图像输入中,经过特征提取网络,得到100*100*512的feature map (设定stride = 16,这是坐标计算要用的),基于这个,生成100 * 100 * sca 阅读全文
posted @ 2018-06-21 23:12 youxiaogeo 阅读(315) 评论(0) 推荐(0)
 
MTCNN源码阅读之训练测试过程,其和faster -rcnn 等目标识别的区别在哪里?
摘要: 待更新。。。。 阅读全文
posted @ 2018-06-21 14:13 youxiaogeo 阅读(1120) 评论(0) 推荐(0)
 

2018年6月13日

Mask RCNN 源码阅读(update)
摘要: 之前看了Google官网的object_dectect 的源码,感觉Google大神写的还不错。最近想玩下Mask RCNN,就看了下源码,这里刚好当做总结和梳理。链接如下: Google官网的object_dectect:https://github.com/tensorflow/models/t 阅读全文
posted @ 2018-06-13 21:35 youxiaogeo 阅读(12222) 评论(1) 推荐(3)
 

2018年6月3日

texmaker报错:could not start command 解决
摘要: 我当时文件命名加了邮箱,引入特殊字符@,然后就报错了 阅读全文
posted @ 2018-06-03 14:21 youxiaogeo 阅读(548) 评论(0) 推荐(0)
 

2018年5月25日

关于吴恩达机器学习支持向量机的问题,讲到对偶前有一个最小化f(w)使用拉格朗日求解时转化成一个最大的相等式的理解和一些困惑
摘要: (纯属个人理解) 参考: https://www.zhihu.com/question/267482928 https://www.cnblogs.com/90zeng/p/Lagrange_duality.html 下面图片来源:https://www.zhihu.com/question/267 阅读全文
posted @ 2018-05-25 12:07 youxiaogeo 阅读(246) 评论(0) 推荐(0)
 

2018年5月24日

python,opencv,imread,imwrite,存储,读取图像像素不一致,这种情况是label使用jpg格式
摘要: 最近在做图像分割,需要使用一些分割图片的label,但是发现存储的分割label感觉被平滑过了,即使使用 也没有作用,后面发现分割的label格式存储为png格式就可以了,猜测(没有深纠哈)是jpg压缩什么的导致的。 阅读全文
posted @ 2018-05-24 15:16 youxiaogeo 阅读(837) 评论(0) 推荐(0)
 

2018年5月8日

ImportError: No module named pycocotools.coco,pycocotools/_mask.so: undefined symbol: _Py_ZeroStruct
摘要: 准确的说是没有安装 pycocotools 可以借鉴下面链接: https://blog.csdn.net/ab0902cd/article/details/79085797 因为我通常用Python2.7,所以Python3的dev没有装,报错:pycocotools/_mask.c:4:20: 阅读全文
posted @ 2018-05-08 15:28 youxiaogeo 阅读(1481) 评论(0) 推荐(0)
 

2018年5月2日

TypeError: Fetch argument None has invalid type <type 'NoneType'>
摘要: (fetch, type(fetch)))TypeError: Fetch argument None has invalid type <type 'NoneType'> 我的解决方案是:检查tensorflow 函数,某一个tensorflow函数没有返回值 阅读全文
posted @ 2018-05-02 22:08 youxiaogeo 阅读(1257) 评论(0) 推荐(0)
 

2018年4月19日

深度学习中,使用regularization正则化(weight_decay)的好处,loss=nan
摘要: 刚开始训练一个模型,自己就直接用了,而且感觉训练的数据量也挺大的,因此就没有使用正则化, 可能用的少的原因,我也就不用了,后面,训练到一定程度,accuracy不上升,loss不下降,老是出现loss=nan,输出的结果也就直接不预测,比如 训练二分类器,直接判断固定为某一类别(比如固定输出为正类) 阅读全文
posted @ 2018-04-19 19:51 youxiaogeo 阅读(11286) 评论(0) 推荐(1)
 

2018年3月29日

Could not find a package,configuration file provided by "G2O" ,G2OConfig.cmake,g2o-config.cmake
摘要: 因为项目需要使用到g2o,所以自己从git上面clone下来, git clone https://github.com/RainerKuemmerle/g2o.git 然后: cd g2o mkdir build cd build cmake .. make -j4 编译完成,并在CMakeLis 阅读全文
posted @ 2018-03-29 17:51 youxiaogeo 阅读(2071) 评论(0) 推荐(0)
 

2018年3月26日

cmake 指定连接的opencv版本
摘要: 我们通常需要使用不同版本的opencv,这时候如果用cmake构建工程,直接指定本地编译好的路径就可以,在CMakeLists.txt中添加: set(OpenCV_DIR "/xxx/work/software/opencv3.2.0/build/") ok! 阅读全文
posted @ 2018-03-26 10:44 youxiaogeo 阅读(782) 评论(0) 推荐(0)
 

2018年3月25日

cmake find_package 中,include_directories,target_link_libraries 的值怎么知道?
摘要: 拿Sophus库为例: find_package(Sophus REQUIRED) include_directories(${Sophus_INCLUDE_DIRS}) target_link_libraries(useSophus ${Sophus_LIBRARIES}) 我们怎么知道要连接So 阅读全文
posted @ 2018-03-25 14:32 youxiaogeo 阅读(916) 评论(0) 推荐(0)
 
Could not find a package configuration file provided by "Sophus",SophusConfig.cmake
摘要: CMake Error at CMakeLists.txt:5 (find_package): By not providing "FindSophus.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a packag 阅读全文
posted @ 2018-03-25 11:37 youxiaogeo 阅读(1886) 评论(0) 推荐(0)
 

2018年3月14日

tensorflow报错error,tf.concat Expected int32, got list containing Tensors of type '_Message' instead
摘要: 参考:https://stackoverflow.com/questions/41813665/tensorflow-slim-typeerror-expected-int32-got-list-containing-tensors-of-type 我的代码是: 阅读全文
posted @ 2018-03-14 15:21 youxiaogeo 阅读(2793) 评论(0) 推荐(1)
 

2018年3月6日

service mysqld start,Failed to start mysqld.service: Access denied
摘要: service mysqld start 然后报: AUTHENTICATING FOR org.freedesktop.systemd1.manage-units Authentication is required to start 'mysqld.service'.Authenticating 阅读全文
posted @ 2018-03-06 09:29 youxiaogeo 阅读(8991) 评论(0) 推荐(1)
 
Ubuntu下解决MySQL自启动,chkconfig list 全部off 情况
摘要: chkconfig命令是用于RedHat/Fedora发行版的,而对于像Ubuntu之类的Debian发行版,应该使用这个命令: sudo update-rc.d mysql defaults 验证一下: # chkconfig --list | grep mysqlmysql 0:off 1:of 阅读全文
posted @ 2018-03-06 09:22 youxiaogeo 阅读(430) 评论(0) 推荐(0)
 

2018年3月2日

faster-RCNN框架之rpn 较小目标检测,如果只使用rpn,并减少多个候选框
摘要: 通常faster-rcnn目标检测有两个步骤,一个是侯选框生成,一个是侯选框微调+目标区分,但是对于单目标识别, 我经常喜欢只使用rpn网络,效果还不错,不过仅仅的rpn使用参考的参数通常会造成一个目标很多个候选框,这时候 降低第一步骤的iou值就可以啦 first_stage_nms_iou_th 阅读全文
posted @ 2018-03-02 10:40 youxiaogeo 阅读(983) 评论(2) 推荐(0)
 
上一页 1 2 3 4 下一页