<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[qq_30125323的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/qq_30125323</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; qq_30125323]]></copyright><item><title><![CDATA[【K2P】华硕固件AP mesh组网设置]]></title><link>https://blog.csdn.net/qq_30125323/article/details/141941453</link><guid>https://blog.csdn.net/qq_30125323/article/details/141941453</guid><author>qq_30125323</author><pubDate>Thu, 05 Sep 2024 22:31:16 +0800</pubDate><description><![CDATA[家里有2个路由器，一个接外网，另一个k2p想要使用相同的名字共享wifi，新入网的设备还要连接另一个路由器的设备，比如共享文件夹，需要设置AP模式。使用其他路由器华硕固件也可参考。]]></description><category></category></item><item><title><![CDATA[多变量时间序列异常检测]]></title><link>https://blog.csdn.net/qq_30125323/article/details/140219094</link><guid>https://blog.csdn.net/qq_30125323/article/details/140219094</guid><author>qq_30125323</author><pubDate>Fri, 05 Jul 2024 22:49:40 +0800</pubDate><description><![CDATA[异常检测常用于发现大量分布相似数据中的不常见样本。在工业界得到广泛应用，例如社交网络中的欺诈检测、视频中的异常行为检测、互联网中的异常流量检测等。随着生成式模型的逐渐成熟，目前基于生成式模型的异常检测方法在各种应用中取得了较好的效果。这些方法都基于这样的假设：相比于异常样本，正常的样本可以很容易地由生成模型重建得到。因此我们可以构建一个自编码器（AutoEncoder, AE）通过度量重建误差来衡量样本是否是异常样本。]]></description><category></category></item><item><title><![CDATA[KeyError: ‘state_dict‘]]></title><link>https://blog.csdn.net/qq_30125323/article/details/126442401</link><guid>https://blog.csdn.net/qq_30125323/article/details/126442401</guid><author>qq_30125323</author><pubDate>Sat, 20 Aug 2022 17:52:28 +0800</pubDate><description><![CDATA[使用 torch.nn.DataParallel 训练和保存的模型，其 key 中多了’module’，在加载到单GPU或CPU环境中，会报错找不到key，需要将它去掉。]]></description><category></category></item><item><title><![CDATA[使用pytorch中的resnet预训练模型进行特征提取，以及查找相似图像]]></title><link>https://blog.csdn.net/qq_30125323/article/details/126020275</link><guid>https://blog.csdn.net/qq_30125323/article/details/126020275</guid><author>qq_30125323</author><pubDate>Wed, 27 Jul 2022 18:40:47 +0800</pubDate><description><![CDATA[想通过缩略图找原图？之前p过的图像想找原图？汇报时使用压缩过的图像现在想找原图？如何从大量图像文件中快速找到与目标图像相似的那个？pytorch 只需要几行代码就可以搞定。]]></description><category></category></item><item><title><![CDATA[使用pytorch中的resnet预训练模型进行快速图像分类]]></title><link>https://blog.csdn.net/qq_30125323/article/details/126019189</link><guid>https://blog.csdn.net/qq_30125323/article/details/126019189</guid><author>qq_30125323</author><pubDate>Wed, 27 Jul 2022 17:54:32 +0800</pubDate><description><![CDATA[几行代码实现resnet的图像分类测试。]]></description><category></category></item><item><title><![CDATA[linux CPU降频脚本]]></title><link>https://blog.csdn.net/qq_30125323/article/details/125271955</link><guid>https://blog.csdn.net/qq_30125323/article/details/125271955</guid><author>qq_30125323</author><pubDate>Tue, 14 Jun 2022 10:03:17 +0800</pubDate><description><![CDATA[ubuntu CPU 降频脚本，cpufreq-set 无法一键给所有核心降频，本文使用循环给出解决方案。或使用一行命令 sudo awk 'BEGIN{ for (i=0;i]]></description><category></category></item><item><title><![CDATA[docker 版本 overleaf 挂载本地卷]]></title><link>https://blog.csdn.net/qq_30125323/article/details/122287427</link><guid>https://blog.csdn.net/qq_30125323/article/details/122287427</guid><author>qq_30125323</author><pubDate>Mon, 03 Jan 2022 15:03:51 +0800</pubDate><description><![CDATA[群晖overleaf-docker安装提示权限不够解决方法。]]></description><category></category></item><item><title><![CDATA[pytorch 循环生成网络结构]]></title><link>https://blog.csdn.net/qq_30125323/article/details/118974266</link><guid>https://blog.csdn.net/qq_30125323/article/details/118974266</guid><author>qq_30125323</author><pubDate>Wed, 21 Jul 2021 19:27:06 +0800</pubDate><description><![CDATA[由于网络通常非常深，我们一层一层写会耗费很大的精力。而且修改起来也比较麻烦，不方便维护。网络通常由一些相似的块组成，我们写出一个块，循环生成整个网络。
nn.Sequential
def __init__(self, num_layers=1, activation=torch.nn.ReLU()):
    super(Classifier3, self).__init__()
    self.num_layers = num_layers
    self.dense1 = torch.nn.Sequ]]></description><category></category></item><item><title><![CDATA[pytorch 模型保存与加载]]></title><link>https://blog.csdn.net/qq_30125323/article/details/118973545</link><guid>https://blog.csdn.net/qq_30125323/article/details/118973545</guid><author>qq_30125323</author><pubDate>Wed, 21 Jul 2021 18:48:00 +0800</pubDate><description><![CDATA[模型保存
torch.save(model, os.path.join(checkpoint_dir, f'model_{epoch}.pth'))

模型加载
checkpoint = torch.load(checkpoint_file)
model=checkpoint.to(device)

只加载变量：
checkpoint = torch.load(lists[epoch])
model.load_state_dict(checkpoint.state_dict())

当模型训练使用的显卡编号]]></description><category></category></item><item><title><![CDATA[在任意向量的正交空间中采样]]></title><link>https://blog.csdn.net/qq_30125323/article/details/116601678</link><guid>https://blog.csdn.net/qq_30125323/article/details/116601678</guid><author>qq_30125323</author><pubDate>Mon, 10 May 2021 17:42:34 +0800</pubDate><description><![CDATA[有时候我们需要在特定的空间中采样，观察样本的性质。
现有一组DDD维空间中的向量x1,x2,⋯xNx^1, x^2, \cdots x^Nx1,x2,⋯xN，其中xn=(x1n,x2n,⋯ ,xDn)x^n = (x^n_1,x^n_2,\cdots,x^n_D)xn=(x1n​,x2n​,⋯,xDn​)，(D&gt;ND&gt;ND&gt;N)，采样sss，使得sss与所有xnx^nxn正交。
我们要找xnx^nxn空间的一组基底，用特征值分解就好。X=UΣV⊤X=U\Sigma V^\topX=UΣV⊤]]></description><category></category></item><item><title><![CDATA[python n维向量向任意方向旋转，求旋转矩阵]]></title><link>https://blog.csdn.net/qq_30125323/article/details/116482891</link><guid>https://blog.csdn.net/qq_30125323/article/details/116482891</guid><author>qq_30125323</author><pubDate>Sun, 09 May 2021 09:39:23 +0800</pubDate><description><![CDATA[计算向量X=(x1,x2,⋯ ,xn)X=(x_1,x_2,\cdots,x_n)X=(x1​,x2​,⋯,xn​)绕V=(v1,v2,⋯ ,vn)V=(v_1,v_2,\cdots,v_n)V=(v1​,v2​,⋯,vn​)顺时针旋转θ\thetaθ后得到的向量X′X'X′
任意的旋转都可以看作绕着一个轴，在某个平面上的旋转。
不失一般性，假定向量V=(v1,v2,⋯ ,vn)V=(v_1,v_2,\cdots,v_n)V=(v1​,v2​,⋯,vn​)在v1×v2v_1\times v_2v1​×v2​]]></description><category></category></item><item><title><![CDATA[google云端硬盘转存onedrive（支持超大文件）]]></title><link>https://blog.csdn.net/qq_30125323/article/details/116202846</link><guid>https://blog.csdn.net/qq_30125323/article/details/116202846</guid><author>qq_30125323</author><pubDate>Tue, 27 Apr 2021 16:30:04 +0800</pubDate><description><![CDATA[网上有一些文件转存方法，比如google云端硬盘转存onedrive秘籍和如何将 Google Drive 的档案移转到 OneDrive
前一个可以转存小文件（1G以下），后者之前好像可以，现在找不到入口了。现在要想转移大文件，应该怎么办呢？
Google现在提供了一种远程计算服务Colab，本质是一个linux系统的虚拟机，接下来我们就用它将大文件传过去。
打开colab
网址：https://colab.research.google.com
可以参考一些教程啊，这些都不是我写的：
https://w]]></description><category></category></item><item><title><![CDATA[GPU显存实时监测+显存空余时邮件提醒]]></title><link>https://blog.csdn.net/qq_30125323/article/details/115419929</link><guid>https://blog.csdn.net/qq_30125323/article/details/115419929</guid><author>qq_30125323</author><pubDate>Sat, 03 Apr 2021 20:10:34 +0800</pubDate><description><![CDATA[人可以闲着，但机器不可以【狗头保命】。
查询当前可用GPU的可用空闲内存并在显存空余时发邮件提醒
参考博文：Pytorch：实现查询当前可用GPU的可用空闲内存并按照内存从大到小顺序打印出来
保存如下代码到’gpu_status.py’
import numpy as np
import os
from email.mime.text import MIMEText
from email.mime.image import MIMEImage
from email.mime.base import MIME]]></description><category></category></item><item><title><![CDATA[linux中jpg与png相互转化]]></title><link>https://blog.csdn.net/qq_30125323/article/details/115303121</link><guid>https://blog.csdn.net/qq_30125323/article/details/115303121</guid><author>qq_30125323</author><pubDate>Mon, 29 Mar 2021 15:59:45 +0800</pubDate><description><![CDATA[数据预处理的时候遇到文件格式的问题，有两种方法：

1.命令行

安装parallel和convert：


$ sudo yum install parallel
$ sudo yum install ImageMagick

（1）png转jpg


$ parallel convert '{}' '{.}.jpg' ::: *.png

（2）jpg装png


$ parallel convert '{}' '{.}.png' ::: *.jpg

2. python

文件convert.py内.]]></description><category></category></item><item><title><![CDATA[python 文件操作工具]]></title><link>https://blog.csdn.net/qq_30125323/article/details/115302845</link><guid>https://blog.csdn.net/qq_30125323/article/details/115302845</guid><author>qq_30125323</author><pubDate>Mon, 29 Mar 2021 15:38:24 +0800</pubDate><description><![CDATA[python 文件复制工具

```

import os
import argparse
from shutil import copyfile

parser = argparse.ArgumentParser(description='convert')

parser.add_argument('--srcpath', default='/mnt/vol/kuang/PCGAN/output/generated_images/',
 help='Source d...]]></description><category></category></item><item><title><![CDATA[利用IPV6免费服务器实现远程办公(EUserv)]]></title><link>https://blog.csdn.net/qq_30125323/article/details/108551565</link><guid>https://blog.csdn.net/qq_30125323/article/details/108551565</guid><author>qq_30125323</author><pubDate>Sat, 23 Jan 2021 18:03:39 +0800</pubDate><description><![CDATA[又到了开学季，学弟学妹们又开始为校园网流量犯愁了。一个月30G的流量不够用怎么办呢？
鉴于校园网IPV6不记流量，我尝试了多种方法通过IPV6代理进行免流，其中包括：

最终发现一个可行的方案。EUserv 是一家德国主机商，提供专用服务器托管，虚拟专用服务器，云服务，网站托管和域注册服务，发现了永久免费的IPv6 VPS德国节点分享给大家！

申请VPS
EUserv: 1. 首页; 2. 免费服务器申请地址.
点击【Order】然后会弹出订购框在点击一下【Order】，然后在购物车结账。等待1小时左右，]]></description><category></category></item><item><title><![CDATA[QQ、微信消息定时发送/自动发送【支持发送文件】]]></title><link>https://blog.csdn.net/qq_30125323/article/details/109167072</link><guid>https://blog.csdn.net/qq_30125323/article/details/109167072</guid><author>qq_30125323</author><pubDate>Mon, 19 Oct 2020 19:30:27 +0800</pubDate><description><![CDATA[转载自https://github.com/AlanIIE/auto-send-message

]]></description><category></category></item><item><title><![CDATA[pytorch减少显存使用]]></title><link>https://blog.csdn.net/qq_30125323/article/details/107658595</link><guid>https://blog.csdn.net/qq_30125323/article/details/107658595</guid><author>qq_30125323</author><pubDate>Wed, 29 Jul 2020 11:27:52 +0800</pubDate><description><![CDATA[transpose占用大量显存
通常transpose(),permute()会改变tensor的结构，需要使用.contiguous()将内存转换为连续的。估计pytorch为了加快计算速度，使用了占用大量显存的运算方式，开辟出新的显并进行赋值。对这些函数进行修改可以减少大量显存：
将tensor分为多个batch，分别进行transpose
b,c,h,w = out.shape
# transpose dimension (1,2): bxcxhxw -&gt; bxhxcxw. batchsize=]]></description><category></category></item><item><title><![CDATA[Centos Shell 命令行安装 MATLAB R2019b]]></title><link>https://blog.csdn.net/qq_30125323/article/details/107574836</link><guid>https://blog.csdn.net/qq_30125323/article/details/107574836</guid><author>qq_30125323</author><pubDate>Sat, 25 Jul 2020 10:37:18 +0800</pubDate><description><![CDATA[Centos 命令行安装 MATLAB0. 可能需要的库：1. 挂载2. 命令行安装2.1 以R2017b为例：2.2 R2019b3. 更换光盘(如有多张光盘)4. 命令行运行matlab5. 注意事项
0. 可能需要的库：

libxt6

	sudo yum install libXt


jdk

	sudo yum install jdk

1. 挂载
sudo mkdir /mnt/matlab
sudo mount -o loop R2017b_glnxa64_dvd1.iso /mnt/ma]]></description><category></category></item></channel></rss>