- 博客(14)
- 资源 (3)
- 收藏
- 关注
原创 3D目标检测笔记总结
PointNet使用一个子网络T-Net预测刚性变换的参数,再将变换矩阵应用到所有空及那点或特征点上,以实现整个网络对刚性变换的不变性。1.点云是点的集合,是非结构化数据2.点云提供物体的三维结构信息,但是不包含语义和纹理信息3.点云近处密远处稀疏。图像坐标系转到世界坐标系,内参矩阵K,外参矩阵[R][t],刚性变换。1.位置(x,y,z),通常是中心点在真实世界的坐标,以米为单位。2.尺寸(w,l,h),物体的三维尺寸,以米为单位。3.多模态:融合图像和点云,多个传感器的对齐和标定。
2024-04-29 22:52:12 239
原创 199. Binary Tree Right Side View
199.Binary Tree Right Side ViewMedium3852206Add to ListShareGiven therootof a binary tree, imagine yourself standing on theright sideof it, returnthe values of the nodes you can see ordered from top to bottom.Example 1:Input: root = [...
2021-05-05 16:30:32 85
原创 24. Swap Nodes in Pairs
24.Swap Nodes in PairsMedium3591208Add to ListShareGiven alinked list, swap every two adjacent nodes and return its head.Example 1:Input: head = [1,2,3,4]Output: [2,1,4,3]Example 2:Input: head = []Output: []Example 3:Input: h...
2021-05-04 11:14:34 85
原创 454. 4Sum II
Given four integer arraysnums1,nums2,nums3, andnums4all of lengthn, return the number of tuples(i, j, k, l)such that:0 <= i, j, k, l < n nums1[i] + nums2[j] + nums3[k] + nums4[l] == 0Example 1:Input: nums1 = [1,2], nums2 = [-2,-1], ...
2021-05-03 09:52:12 84
原创 33. Search in Rotated Sorted Array
class Solution {public: int search(vector<int>& nums, int target) { int left = 0, right = nums.size(), middle = 0; while(left!=right){ middle = (left+right)/2; if(nums[m.
2021-04-05 15:18:28 42
原创 leetcode1. Two Sum
1.Two SumEasy20038704Add to ListShareGiven an array of integersnumsand an integertarget, returnindices of the two numbers such that they add up totarget.You may assume that each input would haveexactlyone solution, and you may not use thes...
2021-03-29 20:09:34 76
原创 c++版本简易计算器,整数 的加减乘除
#include<iostream>using namespace std;int main(){ int a, b; char c; cout<<"Please enter two numbers and a char!"<<endl; cin>>a>>b>>c; switch (c) { case '+'/* constant-expression */: .
2021-03-28 11:26:56 751
原创 批量转换office 的docx文件为pdf文件
批量转换office 的docx文件为pdf文件虽然wps office等软件都集成了一建转换的功能,但是有时我们需要的不仅仅是一个文档的转换,而是一批文档的转换,这样就可以用这个代码了.代码是在ubuntu下运行的.废话不多说,直接上代码,其中部分代码借鉴了https://blog.csdn.net/qq_44920726/article/details/104652145特别感谢需要给定参数原文件的目录名称和保存pdf文件的目录名称import reimport osimp.
2021-03-15 11:23:56 316
原创 np.maximum vs np.minimum
一直按照字面意思理解,以为maxmum取最大值examples,原来是有广播机制的.np.maximum()取对应位置上的大值,np.minimum 取对应位置上的较小值.import numpy as np>>> np.maximum([1,2,3,4,5],2)array([2, 2, 3, 4, 5])>>> np.minimum([2,...
2019-06-27 11:21:47 10122 1
原创 利用python3修改json文件的指定的value
需求:读取本地的json 文件,并修改制定的键的值,本文主要改写{'resType':'rest'} 成{'resType':'rect'}本函数需要给定读取文件的路径以及保存的文件的路径,直接上代码。有问题请留言# import moduleimport os import jsondef rest_rect(file_old,file_new): filen...
2019-06-19 11:00:28 11758 3
转载 测试
α、β、λ常用来表示软件测试过程中的三个阶段,α是第一阶段,一般只供内部测试使用;β是第二个阶段,已经消除了软件中大部分的不完善之处,但仍有可能还存在缺陷和漏洞,一般只提供给特定的用户群来测试使用;λ是第三个阶段,此时产品已经相当成熟,只需在个别地方再做进一步的优化处理即可上市发行。Beta测试是一种验收测试。所谓验收测试是软件产品完成了功能测试和系统测试之后,在产品发布之前所进行的软件测试活动...
2019-03-12 11:21:40 143
转载 python split(",") 解释
描述:python split()通过指定的分隔符对字符串进行切片,若参数num 有指定值,则仅分隔num个子字符串语法:str.split(str="",num=string.count(str))参数:str -- 分隔符,默认为所有的空字符,包括空格、换行(\n)、制表符(\t)等num -- 分割次数返回值:返回分割后的字符串列表注:这个只是个人学习笔记摘抄,内容来自:http://www...
2018-06-28 19:45:46 374
转载 python sys.argv[]的用法解释
详见:https://www.cnblogs.com/aland-1415/p/6613449.htmlsys.argv[]其实就是个列表,列表的项为用户输入的参数,且这些参数是用户从外部输入的。其中sys.argv[0]项为文件名,例如"sys.py"...
2018-06-28 14:25:01 526
原创 spyder集成开发环境设置视频跟踪默认参数
问题背景:做视频跟踪时,大部分的代码都是在控制面板传参,指定序列,但不方便调参,得在spyder等开发环境中设置参数。解决方法:找到Run>>>Configuration per file....>>>General settings>>>Command line options: “python xxx.py+参数”中的参数就可以。...
2018-06-20 10:19:06 1224
General Pattern Theory: A Mathematical Study of Regular Structures
2019-03-27
The book of why
2018-12-27
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人