- 博客(22)
- 资源 (16)
- 收藏
- 关注
原创 Numpy读写文件应配对使用的API
Numpy读写文件应配对使用的API写入 savetxt/tofile/save 与读取 loadtxt/fromfile/load 保存格式和读取时,dtype 要一致,否则读出的数据可能会乱码TXTa = list(range(0, 100))a = np.array(a) # a.dtype = np.int64np.savetxt("filename.txt", a) b = np.loadtxt("filename.txt", dtype=np.int64) BINa = li
2022-03-05 15:44:17 496
原创 git基本操作
撤销git add添加的文件git add . # 表示当前目录所有文件,不小心就会提交其他文件撤销操作git status # 先看一下add 中的文件 git reset HEAD# 如果后面什么都不跟的话 就是上一次add 里面的全部撤销了 git reset HEAD XXX.py# 就是对某个py文件进行撤销了git reset HEAD file# 即使对file文件夹进行撤销...
2022-01-06 11:12:00 353
原创 Anaconda虚拟环境打包
Anaconda虚拟环境打包conda pack -n pcdet -o pcdet.tar.gz报错如下Collecting packages...CondaPackError: Cannot pack an environment with editable packagesinstalled (e.g. from `python setup.py develop` or `pip install -e`). Editable packages found:- /home/rzye/c
2021-12-30 13:55:18 10058 3
原创 cuda编程基础:矩阵加减、点乘
cuda编程基础:矩阵加减、点乘矩阵加减Device 单个block例子Device 多个block例子Matrix Multiply矩阵相乘HostDevice 单个block例子Device 多个block例子矩阵加减Device 单个block例子每个线程块block中,线程数量有上限(eg.512/1024)// kernel definition__global__ void MatAdd(float A[N][N], float B[N][N], float C[N][N]){
2021-07-01 14:57:39 1042
原创 TensorRT加速网络推理-后处理(以Yolov3为例):推理之后的显存、内存及网络输出层之间的关系
TensorRT加速网络推理-后处理(以Yolov3为例):推理之后的显存、内存及网络输出层之间的关系重要数据定义后处理过程第一步:device2host第二步:输出内存组合为一块第三步:输出内存重组为人能看懂的排序方式声明1:本测试用例为单批次推理网络重要数据定义首先定义网络输出层的大小,yolov3网络输出层存在三个部分,分别是不同比例下采样之后结果,分别是32、16、8倍下采样。根据网络输入图片大小为416*416,得到如下关系:std::vector<std::vector<
2021-06-29 19:28:35 2106
原创 Linux定时任务-crontab
基本格式 :* * * * * command分 时 日 月 周 命令第1列表示分钟1~59每分钟用*或者 */1表示第2列表示小时1~23(0表示0点)第3列表示日期1~31第4列表示月份1~12第5列表示星期0~6(0表示星期天)第6列表示要运行的命令**查看当前的定时任务列表:crontab -l编辑定时任务列表:crontab -e部分情况下需要运行:cat /etc/crontabcrontab文件的一些例子:删除固定路径下的照片文
2021-05-11 11:32:38 86
原创 Anacanda手动安装清华源*.tar.bz2文件
进入清华源下载自己想要安装的文件eg.pytorch-1.4.0-py3.7_cuda10.0.130_cudnn7.6.3_0.tar.bz2torchvision-0.5.0-py37_cu100.tar.bz2ffmpeg-4.3-hf484d3e_0.tar.bz2执行命令,复制下载的文件到~/anaconda3/pkgs安装的时候一定要进如自己的虚拟环境我的是pointpillarseg. conda activate pointpillars(pointpillars) .
2021-04-08 15:22:59 4639 2
原创 固态硬盘挂载出错:Error mounting /dev/sda1 at /media/XXXX: Command-line `mount -t “ntfs“ -o
感谢zhengbin1993提供的解决方法我使用固态硬盘加外壳,改装移动硬盘使用,但是开始的前几次经常会出现挂在错误:/dev/sda1 at /media/ryze/ryze: Command-line `mount -t “ntfs” -o/media/ryze/ryze是我改装移动硬盘的路径sudo fdisk -l找到固态挂载路径,如我的是/dev/sdb1sudo ntfsfix /dev/sda1修复挂载路径的磁盘...
2021-04-06 10:01:43 1061 1
原创 格式化移动硬盘或者U盘,并设置为NTFS格式
查看磁盘挂载情况 sudo fdisk -l查看到挂在的新移动硬盘为/dev/sdc格式化磁盘 sudo fdisk /dev/sdc1.输入m为help2.输入n为增加新磁盘3.输入p4.输入1,分区为15.输入w,写磁盘 格式转换 sudo mkfs -t ntfs /dev/sdc1开始格式转化 mkntfs completed successfully. Have a nice day.完成(手动狗头)...
2021-03-17 17:57:27 2029
转载 Ubuntu安装nodejs环境
转载博客园:feiquan此文是转载文章,此篇文章的版权归原创作者所属,如果侵权请与我联系,我会删除此文第一步,去 nodejs 官网 https://nodejs.org 看最新的版本号;也就是说此时此刻,12.6.0 是最新的版本,不过你求稳的话建议选 10.16.0 的LTS版。第二步,添加源后安装,重点来了,nodejs 的每个大版本号都有相对应的源,比如这里的 10.x.x版本的源是https://deb.nodesource.com/setup_10.x。所以在终端执行
2020-09-28 09:55:06 1867
原创 Linux 查看Python3路径方式
方法1:whereis python3查看所有python的路径,不止一个方法2:which python3查看当前使用的python路径
2020-08-25 13:29:32 6412
原创 nc测试UDP/TCP
测试UDPA服务器上用nc监听udp模式下的6666nc -ulp 6666B客户端在udp模式下想A的6666端口发送信息(nc)nc -u A服务器IP 6666TCPA服务器上用nc监听tcp模式下的6666nc -l 6666B客户端在udp模式下想A的6666端口发送信息(nc)nc A服务器IP 6666结果UDP当B客户端发送信息给A是,A能够收到表示A服务器UDP正常检测UDP端口是否正常检测系统的IP为:192.168.3.61 端口为:666
2020-08-20 10:06:28 526
原创 Ubuntu18.04-ROS安装大坑之一:sudo rosdep init报错,ERROR: cannot download default sources list from:...
Ubuntu18.04安装根据官网安装,或者根据爱跑步的mango的博客都可以,同事这篇博客提出rosdep init出错的解决方案,但是我按照这个方式并没有解决:分割线内容,是爱跑步的mango的解决方案cd /etcsudo nano hosts在文本最后添加以下内容,保存并退出151.101.84.133 raw.githubusercontent.com依然出现:ERROR: cannot download default sources list from:h
2020-08-13 09:35:49 4434 4
转载 函数返回值:struct/union/int/double/char/float...与指针的区别
超级棒的一片解惑真经-感谢首先需要明白一件事情,临时变量,在函数调用过程中是被压到程序进程的栈中的,当函数退出时,临时变量出栈,即临时变量已经被销毁,临时变量占用的内存空间没有被清空,但是已经可以被分配给其他变量了,所以有可能在函数退出时,该内存已经被修改了,对于临时变量来说已经是没有意义的值了。C语言里规定:16bit程序中,返回值保存在ax寄存器中,32bit程序中,返回值保持在eax寄存器中,如果是64bit返回值,edx寄存器保存高32bit,eax寄存器保存低32bit。由此可见,函数调
2020-08-11 16:57:55 718
原创 3D-Lidar点云数据处理
3D-Lidar点云数据处理3D-Lidar点云数据处理原始激光点云数据滤波点云分割(地面与非地面)合理的创建标题,有助于目录的生成如何改变文本的样式插入链接与图片如何插入一段漂亮的代码片生成一个适合你的列表创建一个表格设定内容居中、居左、居右SmartyPants创建一个自定义列表如何创建一个注脚注释也是必不可少的KaTeX数学公式新的甘特图功能,丰富你的文章UML 图表FLowchart流程图导出与导入导出导入3D-Lidar点云数据处理本篇博客,记录自己学习处理3D-Lidar点云数据目前遇到的算
2020-07-21 16:00:50 4437 14
原创 roslaunch学习
roslaunch文件学习直接上启动激光点云处理程序launch文件,当然,也可以写shell脚本,如start.sh文件,将命令行一起写入一个脚本。<launch> <!-- 注意这里bag文件的路径必须为绝对路径--> <node pkg="rosbag" type="play" name="playe" output="screen" args="-l --clock /home/ryze/pcl_ws/2020-06-11-17-33-03_21
2020-07-15 15:02:41 205
原创 win10 Ubuntu18.04(wls) 安装pip
安装 pipubuntu18.04 默认安装python3.6.4,未安装pip参考curl https://bootstrap.pypa.io/get-pip.py -o get-pip.pysudo apt install python3-distutilssudo python3 get-pip.pysudo pip3 install pipenv
2020-06-29 14:03:52 618
原创 1 Linux nmap 命令学习
局域网IP端口扫描具体命令如下// 扫描可ssh的主机nmap -p22 --open 192.168.1.0/24 | grep 192.168.1// 扫描局域网所有主机IPnmap -sn 192.168.1.0/24 | grep 192.168.1// 扫描指定主机打开了哪些端口nmap 192.168.1.193 | grep open// 命令帮助nmap -...
2019-09-03 17:51:12 193
Stability Margin Improvement of Vehicular Platoon Considering
2018-08-30
Platoon Control of Connected Vehicles from a Networked Control Perspective
2018-08-30
A curving ACC system with coordination control of longitudinal
2018-08-30
Robust control of heterogeneous vehicular platoon with uncertain dynamics
2018-08-30
Deep Learning
2018-08-30
基于卷积神经网络的道路车辆检测方法
2018-08-30
改进的基于卷积神经网络的图像超分辨率算法
2018-08-30
滑模变结构控制理论及其算法研究与进展
2018-08-30
具有强鲁棒性的滑模变结构控制
2018-08-30
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人