上一页 1 2 3 4 5 6 7 8 9 10 ··· 53 下一页

2022年8月8日

摘要: 前言 最近运行darknet项目,重新划分数据集进行训练,一定迭代次数之后loss数值突然暴增,然后突然变为Nan,之后一直为Nan,与之前训练相比,只有数据集重新划分,其他源码都没有变动。 问题解释 训练过程数据几乎都是nan,查看train log发现迭代到997次时loss突然暴增,之后迭代到 阅读全文
posted @ 2022-08-08 18:40 鹅要长大 阅读(542) 评论(0) 推荐(0) 编辑
摘要: 前言 Yolov3网络的输入默认为416x416,然后待检测的图片不总是416x416,这就产生了如何将待检测图片,在不破坏特征的情况下缩放至416x416,并对应在网络产生预测框后,如何将416x416图中的预测框还原至原图的问题。 预处理过程letterbox_image letterbox_i 阅读全文
posted @ 2022-08-08 18:39 鹅要长大 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 前言 参考 1. 深度学习中的动量(momentum); 完 阅读全文
posted @ 2022-08-08 18:39 鹅要长大 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 前言 调试代码过程中发现cv::Mat step的使用,之前没注意过,故记之。 opencv cv::Mat解释 step Number of bytes each matrix row occupies. The value should include the padding bytes at 阅读全文
posted @ 2022-08-08 18:39 鹅要长大 阅读(598) 评论(0) 推荐(0) 编辑

2022年8月2日

该文被密码保护。 阅读全文
posted @ 2022-08-02 10:55 鹅要长大 阅读(0) 评论(0) 推荐(0) 编辑

2022年7月28日

摘要: code if (mkdir(finalpath.c_str(), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH) == -1) { if( errno == EEXIST ) { // alredy exists } else { // something else 阅读全文
posted @ 2022-07-28 18:12 鹅要长大 阅读(563) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2022-07-28 18:11 鹅要长大 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2022-07-28 18:11 鹅要长大 阅读(0) 评论(0) 推荐(0) 编辑

2022年7月27日

该文被密码保护。 阅读全文
posted @ 2022-07-27 15:35 鹅要长大 阅读(0) 评论(0) 推荐(0) 编辑

2022年7月25日

摘要: error ./src/image_opencv.cpp:5:10: fatal error: opencv2/opencv.hpp: No such file or directory 5 | #include "opencv2/opencv.hpp" error ./src/image_open 阅读全文
posted @ 2022-07-25 18:42 鹅要长大 阅读(457) 评论(0) 推荐(0) 编辑
摘要: sudo apt install libopencv-dev dpkg --list sudo apt-get --purge remove libopencv-dev 参考 1. Ubuntu命令卸载软件(经过sudo apt-get install安装的)_水浒传鲁智深的博客-CSDN博客_ub 阅读全文
posted @ 2022-07-25 18:41 鹅要长大 阅读(323) 评论(0) 推荐(0) 编辑
摘要: 基本认识linux默认配置是当打开一个shell终端后,执行的所有命令均不会写入到~/.bash_history文件中,只有当前用户退出后才会写入,这期间发生的所有命令其它终端是感知不到的。 问题场景那么问题来了,假若之前history命令记录为c0,用户先打开了shell终端a,执行了一部分命令c 阅读全文
posted @ 2022-07-25 18:41 鹅要长大 阅读(522) 评论(1) 推荐(0) 编辑
摘要: 前言 环境 ubuntu20.04 NVIDIA:RTX3080TI error ./src/convolutional_layer.c:153:13: error: ‘CUDNN_CONVOLUTION_FWD_SPECIFY_WORKSPACE_LIMIT’ undeclared (first 阅读全文
posted @ 2022-07-25 18:40 鹅要长大 阅读(877) 评论(0) 推荐(0) 编辑
摘要: 前言 VOC中的xml文件 <annotation> <folder>VOC2012</folder> //文件名 <filename>2007_000346.jpg</filename> <source> //文件来源 <database>The VOC2007 Database</databas 阅读全文
posted @ 2022-07-25 18:39 鹅要长大 阅读(614) 评论(0) 推荐(0) 编辑
摘要: 前言 错误 write: No buffer space available write(s, &frame, sizeof(struct can_frame)) 的输出结果为-1; 原因 由于缓冲队列空间不足; sudo su root@super:/sys/class/net/can1# cat 阅读全文
posted @ 2022-07-25 18:39 鹅要长大 阅读(1860) 评论(0) 推荐(0) 编辑
摘要: To disable a shortcut, edit it and press the Backspace instead of the new shortcut. 参考 1. ubuntu terminal shortcut ; 完 阅读全文
posted @ 2022-07-25 18:39 鹅要长大 阅读(45) 评论(0) 推荐(0) 编辑
摘要: can test code tfl_can.c #include "tfl_can.h" // int can_init( int* sock ) { struct sockaddr_can addr; struct ifreq ifr; const char* ifrname = "can1"; 阅读全文
posted @ 2022-07-25 18:35 鹅要长大 阅读(1026) 评论(0) 推荐(0) 编辑
摘要: STBI图像数据和darknet中image数据类型之间的转换 前言 STBI图像数据和darknet中image数据类型之间的转换 image2stbi file: src/image.c function: save_image_options for(k = 0; k < im.c; ++k) 阅读全文
posted @ 2022-07-25 18:35 鹅要长大 阅读(594) 评论(0) 推荐(0) 编辑
摘要: \033[2J 清屏 \033[y;xH 设置光标位置 参考 1. C语言基础——printf带颜格式化输出(Linux); 2. C语言\033方式设置字体颜色; 完 阅读全文
posted @ 2022-07-25 18:35 鹅要长大 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 前言 博主遇到一个问题,想要先判断某个目录是否为空,如果为空的话,需要安装camera驱动;如果不为空的话,可以继续运行程序; shell if [ "`ls -A /dev/video*`" = "" ]; then echo "/dev/video* is empty, install came 阅读全文
posted @ 2022-07-25 18:34 鹅要长大 阅读(1182) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 53 下一页

导航