<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[qq_40342287的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/qq_40342287</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; qq_40342287]]></copyright><item><title><![CDATA[yolov7中断训练后继续训练]]></title><link>https://blog.csdn.net/qq_40342287/article/details/135576056</link><guid>https://blog.csdn.net/qq_40342287/article/details/135576056</guid><author>qq_40342287</author><pubDate>Sat, 13 Jan 2024 21:45:20 +0800</pubDate><description><![CDATA[看报错提示是protobuf这个库版本不对，protobuf需要3.20.x或以下版本，我查了下我自己的版本是4.15.2。版本不对，那就卸载原来的protobuf，再安装一个符号要求的版本。看报错提示还是版本不匹配，我安装了protobuf 3.19.0版本，但是需要3.20.2以上的版本。（2）weights参数，参数值改为中断前上次训练权重。4、protobuf版本问题搞定后，再次运行训练命令。（1）添加resume参数，参数值改为true。ok，接着之前中断的训练继续训练了。]]></description><category></category></item><item><title><![CDATA[YoloV7使用detect.py检测，结果图片不显示框]]></title><link>https://blog.csdn.net/qq_40342287/article/details/135443764</link><guid>https://blog.csdn.net/qq_40342287/article/details/135443764</guid><author>qq_40342287</author><pubDate>Sun, 07 Jan 2024 19:50:18 +0800</pubDate><description><![CDATA[detect.py里画框部分默认是屏蔽的，需要自己打开。下图红框里屏蔽部分打开后，就显示框了。]]></description><category></category></item><item><title><![CDATA[libpng warning: iCCP: known incorrect sRGB profile问题处理]]></title><link>https://blog.csdn.net/qq_40342287/article/details/135266062</link><guid>https://blog.csdn.net/qq_40342287/article/details/135266062</guid><author>qq_40342287</author><pubDate>Thu, 28 Dec 2023 12:05:08 +0800</pubDate><description><![CDATA[处理：搜狗输入法先切换到其他输入法，然后编译运行。如果继续用搜狗输入法，再切回搜狗输入法就行，切回后也没有上面的警告。]]></description><category></category></item><item><title><![CDATA[CMD命令]]></title><link>https://blog.csdn.net/qq_40342287/article/details/127452690</link><guid>https://blog.csdn.net/qq_40342287/article/details/127452690</guid><author>qq_40342287</author><pubDate>Fri, 21 Oct 2022 19:47:47 +0800</pubDate><description><![CDATA[cmd命令]]></description><category></category></item><item><title><![CDATA[TensorFlow_gpu是否配置ok测试]]></title><link>https://blog.csdn.net/qq_40342287/article/details/127191372</link><guid>https://blog.csdn.net/qq_40342287/article/details/127191372</guid><author>qq_40342287</author><pubDate>Fri, 07 Oct 2022 10:10:24 +0800</pubDate><description><![CDATA[1、CUDA是否可用


2、查看GPU是否可用


3、查看所有GPU列表]]></description><category></category></item><item><title><![CDATA[windows硬盘读写速度测试]]></title><link>https://blog.csdn.net/qq_40342287/article/details/125675501</link><guid>https://blog.csdn.net/qq_40342287/article/details/125675501</guid><author>qq_40342287</author><pubDate>Fri, 08 Jul 2022 11:45:37 +0800</pubDate><description><![CDATA[以管理员身份运行cmd，输入指令：winsat disk -drive C，最后一个字母为盘符。]]></description><category></category></item><item><title><![CDATA[Qt5.14到Qt6.2迁移问题（持续更新）]]></title><link>https://blog.csdn.net/qq_40342287/article/details/123298843</link><guid>https://blog.csdn.net/qq_40342287/article/details/123298843</guid><author>qq_40342287</author><pubDate>Sat, 05 Mar 2022 18:24:54 +0800</pubDate><description><![CDATA[1、QWheelEvent

（1）event-&gt;delta()需修改为event-&gt;angleDelta().y()；

（2）event-x()需修改为event-&gt;position().x()

（3）event-y()需修改为event-&gt;position().y()
]]></description><category></category></item><item><title><![CDATA[MySql创建只读用户]]></title><link>https://blog.csdn.net/qq_40342287/article/details/123236313</link><guid>https://blog.csdn.net/qq_40342287/article/details/123236313</guid><author>qq_40342287</author><pubDate>Wed, 02 Mar 2022 17:52:05 +0800</pubDate><description><![CDATA[-- 创建用户   用户名：readonly  密码：123456 可自行更改 --
CREATE USER 'readonly'@'%' IDENTIFIED BY '123456';

-- 赋予用户只读权限  库名：mydb  用户：readonly --
GRANT SELECT ON mydb.* TO 'readonly'@'%';

-- 刷新权限  --
FLUSH PRIVILEGES;



...]]></description><category></category></item><item><title><![CDATA[ubuntu20.04安装谷歌拼音输入法]]></title><link>https://blog.csdn.net/qq_40342287/article/details/119785268</link><guid>https://blog.csdn.net/qq_40342287/article/details/119785268</guid><author>qq_40342287</author><pubDate>Wed, 27 Oct 2021 22:28:01 +0800</pubDate><description><![CDATA[&lt;article class="baidu_pl"&gt;
    &lt;div id="article_content" class="article_content clearfix"&gt;
    &lt;link rel="stylesheet" href="https://csdnimg.cn/release/blogv2/dist/mdeditor/css/editerView/ck_htmledit_views-1a85854398.css"&gt;
    ...]]></description><category></category></item><item><title><![CDATA[ubuntu安装nvidia驱动及tensorflow-gpu]]></title><link>https://blog.csdn.net/qq_40342287/article/details/109731908</link><guid>https://blog.csdn.net/qq_40342287/article/details/109731908</guid><author>qq_40342287</author><pubDate>Wed, 18 Aug 2021 17:29:21 +0800</pubDate><description><![CDATA[1、安装tensorflow-gpu报错：ERROR: Cannot uninstall 'wrapt'.


ERROR: Cannot uninstall 'wrapt'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

处理：


pip install w]]></description><category></category></item><item><title><![CDATA[Qt设置自动重连Mysql]]></title><link>https://blog.csdn.net/qq_40342287/article/details/119274170</link><guid>https://blog.csdn.net/qq_40342287/article/details/119274170</guid><author>qq_40342287</author><pubDate>Sat, 31 Jul 2021 12:51:14 +0800</pubDate><description><![CDATA[1、Qt在连接Mysql一段时间后，自动断开

2、Mysql服务器重启，连接断开

3、网络问题，Mysql连接断开

以上问题，建议设置Qt连接Mysql为自动重连，设置方法如下：


QSqlDatabase db = QSqlDatabase::addDatabase("QMYSQL", "a");
db.setConnectOptions("MYSQL_OPT_RECONNECT=1");


...]]></description><category></category></item><item><title><![CDATA[QTableWidget异常导致崩溃]]></title><link>https://blog.csdn.net/qq_40342287/article/details/116143434</link><guid>https://blog.csdn.net/qq_40342287/article/details/116143434</guid><author>qq_40342287</author><pubDate>Mon, 26 Apr 2021 09:45:51 +0800</pubDate><description><![CDATA[Qt版本5.14.2，每隔0.5秒刷新一次QTableWidget内容，程序运行一段时间崩溃。


ui-&gt;tableWidget-&gt;setItem(i,0,new QTableWidgetItem(strValue));

经测试发现：

1、在QTableWidget更新时，全局变量strValue在其他线程被写入值，QTableWidget无法读取全局变量字符串strValue。

2、strValue用全局变量字符串，仍存在小概率崩溃。改为局部变量字符串后ok。



为什么会出现这种.]]></description><category></category></item><item><title><![CDATA[Mysql查看一个表有多少行]]></title><link>https://blog.csdn.net/qq_40342287/article/details/115728797</link><guid>https://blog.csdn.net/qq_40342287/article/details/115728797</guid><author>qq_40342287</author><pubDate>Thu, 15 Apr 2021 15:57:12 +0800</pubDate><description><![CDATA[select count(*) from information_schema.COLUMNS where TABLE_SCHEMA='db_name' and table_name='tb_name'


]]></description><category></category></item><item><title><![CDATA[ubuntu20.04安装后一些配置]]></title><link>https://blog.csdn.net/qq_40342287/article/details/112252828</link><guid>https://blog.csdn.net/qq_40342287/article/details/112252828</guid><author>qq_40342287</author><pubDate>Tue, 05 Jan 2021 21:01:54 +0800</pubDate><description><![CDATA[1、firefox看视频无法观看，需要安装flash插件，执行以下命令，执行完毕后重启浏览器即可观看视频


sudo apt install browser-plugin-freshplayer-pepperflash

2、没有中文输入法，安装谷歌拼音输入法：


sudo apt install fcitx-googlepinyin –fix-missing

安装完毕后重启系统，输入法即生效
...]]></description><category></category></item><item><title><![CDATA[Mariadb导出数据库为sql文件]]></title><link>https://blog.csdn.net/qq_40342287/article/details/111903296</link><guid>https://blog.csdn.net/qq_40342287/article/details/111903296</guid><author>qq_40342287</author><pubDate>Tue, 29 Dec 2020 13:46:49 +0800</pubDate><description><![CDATA[在cmd命令行下执行：mariadb-dump -u root -p 数据库名&gt;导出路径，如：


mariadb-dump -u root -p test&gt;d:\aaaaa.sql


]]></description><category></category></item><item><title><![CDATA[sigmoid和softmax的应用意义区别]]></title><link>https://blog.csdn.net/qq_40342287/article/details/111885645</link><guid>https://blog.csdn.net/qq_40342287/article/details/111885645</guid><author>qq_40342287</author><pubDate>Tue, 29 Dec 2020 11:30:40 +0800</pubDate><description><![CDATA[sigmoid = 多标签分类问题=多个正确答案=非独占输出
构建分类器，解决多个正确答案的问题时，用sigmoid函数分别处理各个原始输出值。

softmax = 多类别分类问题=只有一个正确答案=互斥输出
构建分类器，解决只有唯一正确答案的问题时，用softmax函数处理各个原始输出值。
softmax函数的分母综合了原始输出值的所有因素，这意味着，Softmax函数得到的不同概率之间的相互关联。
...]]></description><category></category></item><item><title><![CDATA[Qt在设计师界面更改ui编译后界面没变化]]></title><link>https://blog.csdn.net/qq_40342287/article/details/109556132</link><guid>https://blog.csdn.net/qq_40342287/article/details/109556132</guid><author>qq_40342287</author><pubDate>Sun, 08 Nov 2020 10:07:04 +0800</pubDate><description><![CDATA[处理办法：删除原项目所有的配置文件，另外删除所有ui的头文件，重新打开pro文件配置编译运行就可以
]]></description><category></category></item><item><title><![CDATA[MariaDb安装报错1067]]></title><link>https://blog.csdn.net/qq_40342287/article/details/109442852</link><guid>https://blog.csdn.net/qq_40342287/article/details/109442852</guid><author>qq_40342287</author><pubDate>Mon, 02 Nov 2020 10:10:42 +0800</pubDate><description><![CDATA[1、安装最新版mariadb


D:\ProgramFiles\mariadb-10.5.6-winx64\bin&gt;mysqld --install
Service successfully installed.

MariaDb重装后在启动服务时报错1067


D:\ProgramFiles\mariadb-10.5.6-winx64\bin&gt;net start mysql
MySQL 服务正在启动 ...
MySQL 服务无法启动。

系统出错。

发生系统错误 1067。

进程意外终]]></description><category></category></item><item><title><![CDATA[opencv4和opencv3函数差异]]></title><link>https://blog.csdn.net/qq_40342287/article/details/107607461</link><guid>https://blog.csdn.net/qq_40342287/article/details/107607461</guid><author>qq_40342287</author><pubDate>Mon, 27 Jul 2020 11:17:03 +0800</pubDate><description><![CDATA[1、cv::cvtColor(mat, mat, CV_BGR2RGB);

报错：CV_BGR2RGB未定义的标识符

处理方法：

添加头文件


#include "opencv2/imgproc/types_c.h"




2、VideoWriter writer("VideoTest0.avi", FOURCC('M', 'J', 'P', 'G'), rate, videoSize);
报错：FOURCC未定义的标识符


处理方法：
FOURCC改为VideoWriter::fourcc
.]]></description><category></category></item><item><title><![CDATA[qt错误：常量中有换行符]]></title><link>https://blog.csdn.net/qq_40342287/article/details/107389113</link><guid>https://blog.csdn.net/qq_40342287/article/details/107389113</guid><author>qq_40342287</author><pubDate>Thu, 16 Jul 2020 18:02:57 +0800</pubDate><description><![CDATA[这是编译器问题导致，正常Qt本身MinGW不会出现该问题，MSVC则会出现，解决方法如下

方法一：

1、设置文件编码为：如果编码是UTF-8则添加



2、在有中文字符的文件前添加如下语句


#if _MSC_VER &gt;=1600    // MSVC2015&gt;1899,对于MSVC2010以上版本都可以使用
#pragma execution_character_set("utf-8")
#endif

方法二：

使用QString::fromLocal8Bit 来将本地字符编码转.]]></description><category></category></item></channel></rss>