2018年8月30日

python的浅拷贝和深拷贝

摘要: Python中的对象之间赋值时是按引用传递的。为了让一个对象发生改变时不对原对象产生副作用,此时,需要一份这个对象的拷贝,如果需要拷贝对象,需要使用标准库中的copy模块。 1、copy.copy 浅拷贝 只拷贝父对象,不会拷贝对象的内部的子对象。 2、copy.deepcopy 深拷贝 拷贝对象及 阅读全文

posted @ 2018-08-30 11:16 Peyton_Li 阅读(436) 评论(0) 推荐(0) 编辑

2018年8月27日

AirSim的搭建和使用

摘要: 由于自己使用设备拍摄的数据质量太差,所以决定使用AirSim这个框架来生成数据。之所以使用这个框架,是因为之前同事用其生成了一些有效数据。 当然,我是不可能把我搭建的步骤一一写出来的,一来是因为太麻烦,二来我也是参照别人的博客和官方github上的说明搭建成功的。 参考了两个网友的博客: 初遇Air 阅读全文

posted @ 2018-08-27 15:18 Peyton_Li 阅读(7204) 评论(2) 推荐(0) 编辑

2018年6月27日

记一个在训练模型过程中自己给自己挖的坑

摘要: 根据一个图像拼接和融合的需求,训练一个模型,输入为一组图像,输出为一张图像,输入数据和ground truth的像素值都归一化到[-1, 1] 我当时使用了UNet结构,卷积和反卷积都单独封装了一个函数,方便调用,在函数内部,卷积都会默认接一relu激活层 训练结果出来后,发现内容基本都能和grou 阅读全文

posted @ 2018-06-27 12:20 Peyton_Li 阅读(263) 评论(0) 推荐(0) 编辑

2018年3月8日

Fast R-CNN学习总结

摘要: Fast R-CNN是R-CNN的改良版,同时也吸取了SPP-net中的方法。在此做一下总结。 论文中讲到在训练阶段,训练一个深度目标检测网络(VGG16),训练速度要比R-CNN快9倍左右,比SPP-net快3倍左右。在测试阶段,处理一张图片需要0.3s。在PASCAL VOC 2012数据库上的 阅读全文

posted @ 2018-03-08 15:18 Peyton_Li 阅读(508) 评论(0) 推荐(0) 编辑

2018年3月6日

SPP-net论文总结

摘要: SPPNet方法来自《Spatial Pyramid Pooling in Deep Convolutional Networks for Visual Recognition》 ,是大神何凯明2014年的paper。在此,我将自己对SPPNet的理解总结一下。 SPPNet方法的一个创新点就是提出 阅读全文

posted @ 2018-03-06 13:55 Peyton_Li 阅读(760) 评论(0) 推荐(0) 编辑

2018年3月4日

R-CNN学习总结

摘要: R-CNN是一个比较早期的用于目标检测方法,但却十分经典,在此结合论文对这一方法做一个总结。 (写给小白:通过下图简单理解图像分类,图像定位,目标检测和实例分割) R-CNN方法提出的背景: 1、近10年以来,以人工经验特征为主导的物体检测任务mAP(物体类别和位置的平均精度)提升缓慢; 2、随着R 阅读全文

posted @ 2018-03-04 14:46 Peyton_Li 阅读(708) 评论(0) 推荐(0) 编辑

2017年12月23日

3Sum Closest

摘要: Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. 阅读全文

posted @ 2017-12-23 22:17 Peyton_Li 阅读(190) 评论(0) 推荐(0) 编辑

3Sum

摘要: Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of 阅读全文

posted @ 2017-12-23 11:26 Peyton_Li 阅读(232) 评论(0) 推荐(0) 编辑

2017年11月2日

整数转为罗马数字

摘要: Given an integer, convert it to a roman numeral. Input is guaranteed to be within the range from 1 to 3999. 分析: 罗马数字不能表示负数和零,题目中已经给出输入数字为1~3999。罗马数字的表 阅读全文

posted @ 2017-11-02 10:10 Peyton_Li 阅读(189) 评论(0) 推荐(0) 编辑

2017年10月26日

Container With Most Water

摘要: Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo 阅读全文

posted @ 2017-10-26 13:56 Peyton_Li 阅读(150) 评论(0) 推荐(0) 编辑

导航