<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[计算机视觉算法、工程、产品]]></title><description><![CDATA[1、专注技术实现和用户体验，不断沉淀和专业；2、深度思考cv行业落地]]></description><link>https://blog.csdn.net/forest_world</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; forest_world]]></copyright><item><title><![CDATA[加密算法分类介绍]]></title><link>https://blog.csdn.net/forest_world/article/details/129907095</link><guid>https://blog.csdn.net/forest_world/article/details/129907095</guid><author>forest_world</author><pubDate>Sun, 02 Apr 2023 09:39:42 +0800</pubDate><description><![CDATA[2、非对称加密算法: 加密和解密用不同的密钥, 如RSA 算法。1、对称加密算法: 加密和解密用同一个密钥，如AES 算法。3、散列（hash）算法。]]></description><category></category></item><item><title><![CDATA[数据加密模型（学习笔记）]]></title><link>https://blog.csdn.net/forest_world/article/details/129907006</link><guid>https://blog.csdn.net/forest_world/article/details/129907006</guid><author>forest_world</author><pubDate>Sun, 02 Apr 2023 09:31:25 +0800</pubDate><description><![CDATA[3、加解密算法 E(D)：实现从明文到密文或从密文到明文的一种转换方法。1、明文 P：准备加密的文本, 称为明文。4、密钥 K：加密和解密算法中的关键参数。2、密文 Y：加密后的文本, 称为密文。]]></description><category></category></item><item><title><![CDATA[/bin/sh: 1: bison: not found]]></title><link>https://blog.csdn.net/forest_world/article/details/129115034</link><guid>https://blog.csdn.net/forest_world/article/details/129115034</guid><author>forest_world</author><pubDate>Sun, 19 Feb 2023 21:22:42 +0800</pubDate><description><![CDATA[/bin/sh: 1: bison: not found。]]></description><category></category></item><item><title><![CDATA[no permissions (user in plugdev group； are your udev rules wrong?)]]></title><link>https://blog.csdn.net/forest_world/article/details/128826105</link><guid>https://blog.csdn.net/forest_world/article/details/128826105</guid><author>forest_world</author><pubDate>Wed, 01 Feb 2023 07:44:49 +0800</pubDate><description><![CDATA[问题：

$ adb devices
List of devices attached
******  no permissions (user in plugdev group; are your udev rules wrong?); see [http://developer.android.com/tools/device.html]
解决方法：


]]></description><category></category></item><item><title><![CDATA[pegasus help]]></title><link>https://blog.csdn.net/forest_world/article/details/128769070</link><guid>https://blog.csdn.net/forest_world/article/details/128769070</guid><author>forest_world</author><pubDate>Fri, 27 Jan 2023 09:18:49 +0800</pubDate><description><![CDATA[pegasus help]]></description><category></category></item><item><title><![CDATA[file=sys.stderr) ^SyntaxError: invalid syntax]]></title><link>https://blog.csdn.net/forest_world/article/details/128764389</link><guid>https://blog.csdn.net/forest_world/article/details/128764389</guid><author>forest_world</author><pubDate>Thu, 26 Jan 2023 11:02:12 +0800</pubDate><description><![CDATA[file=sys.stderr) ^SyntaxError: invalid syntax]]></description><category></category></item><item><title><![CDATA[gdbusauth.c: In function ‘_g_dbus_auth_run_server‘:gdbusauth.c:1302:11: error: ‘%s‘ directive argum]]></title><link>https://blog.csdn.net/forest_world/article/details/128759625</link><guid>https://blog.csdn.net/forest_world/article/details/128759625</guid><author>forest_world</author><pubDate>Wed, 25 Jan 2023 10:26:58 +0800</pubDate><description><![CDATA['%s' directive argument is null [-Werror=format-overflow=]]]></description><category></category></item><item><title><![CDATA[You seem to have the current working directory in yourLD_LIBRARY_PATH environment variable. This do]]></title><link>https://blog.csdn.net/forest_world/article/details/128759543</link><guid>https://blog.csdn.net/forest_world/article/details/128759543</guid><author>forest_world</author><pubDate>Wed, 25 Jan 2023 10:08:39 +0800</pubDate><description><![CDATA[You seem to have the current working directory in yourLD_LIBRARY_PATH environment variable. ]]></description><category></category></item><item><title><![CDATA[arch/arm/Makefile:331: recipe for target ‘uImage‘ failed]]></title><link>https://blog.csdn.net/forest_world/article/details/128757784</link><guid>https://blog.csdn.net/forest_world/article/details/128757784</guid><author>forest_world</author><pubDate>Tue, 24 Jan 2023 19:55:59 +0800</pubDate><description><![CDATA[arch/arm/Makefile:331: recipe for target 'uImage' failed]]></description><category></category></item><item><title><![CDATA[Format: “png“ not recognized. Use one of: canon cmap cmapx cmapx_np dot dot_json eps fig gv imap ima]]></title><link>https://blog.csdn.net/forest_world/article/details/115057087</link><guid>https://blog.csdn.net/forest_world/article/details/115057087</guid><author>forest_world</author><pubDate>Sun, 20 Nov 2022 10:46:49 +0800</pubDate><description><![CDATA[ValueError: When using data tensors as input to a model, you should specify the `steps_per_epoch` argument.

]]></description><category></category></item><item><title><![CDATA[每天讲解一点PyTorch 【18】多卡训练torch.nn.DataParallel]]></title><link>https://blog.csdn.net/forest_world/article/details/124218902</link><guid>https://blog.csdn.net/forest_world/article/details/124218902</guid><author>forest_world</author><pubDate>Sat, 16 Apr 2022 19:39:21 +0800</pubDate><description><![CDATA[使用多GPU训练模型：
net = ......
device_ids = [0, 1]
net = torch.nn.DataParallel(net, device_ids=device_ids)

优化器
optimizer = torch.optim.SGD(net.parameters(), lr=lr)
optimizer = nn.DataParallel(optimizer, device_ids=device_ids)python



]]></description><category></category></item><item><title><![CDATA[每天讲解一点PyTorch 【17】Spatial Affinity代码实现分析]]></title><link>https://blog.csdn.net/forest_world/article/details/124216391</link><guid>https://blog.csdn.net/forest_world/article/details/124216391</guid><author>forest_world</author><pubDate>Sat, 16 Apr 2022 16:56:22 +0800</pubDate><description><![CDATA[&gt;&gt;&gt; import torch
&gt;&gt;&gt; import torch.nn as nn
&gt;&gt;&gt; fm_in = torch.randn(1,3,2,3)
&gt;&gt;&gt; fm_in
tensor([[[[-0.1291, -0.0966,  0.0632],
          [-0.1640, -0.2832,  1.0553]],

         [[ 1.2854,  0.3400,  1.6823],
          [ 0.1]]></description><category></category></item><item><title><![CDATA[每天讲解一点PyTorch 【16】Variable 三个属性 .grad .data .grad_fn]]></title><link>https://blog.csdn.net/forest_world/article/details/121347704</link><guid>https://blog.csdn.net/forest_world/article/details/121347704</guid><author>forest_world</author><pubDate>Tue, 16 Nov 2021 07:58:44 +0800</pubDate><description><![CDATA[今天我们讲解Variable，Variable是对Tensor的封装
from torch.autograd import Variable

x = torch.from_numpy(np.ones([1, 1, 36], dtype=np.bool)).cuda()

y =Variable(x,requires_grad=True)

#然后支持以下函数功能
y.grad
y.data
y.grad_fn #求梯度方法 

后面我们计划讲解.backward(retain_graph=True)

.]]></description><category></category></item><item><title><![CDATA[每天讲解一点PyTorch 【15】model.load_state_dict torch.load torch.save]]></title><link>https://blog.csdn.net/forest_world/article/details/121344424</link><guid>https://blog.csdn.net/forest_world/article/details/121344424</guid><author>forest_world</author><pubDate>Mon, 15 Nov 2021 21:58:36 +0800</pubDate><description><![CDATA[今天我们讲解：
state_dict = torch.load('checkpoint.pt')
#或者
state_dict = torch.load('checkpoint.pth') #torch.load加载**模型参数**
model.load_state_dict(state_dict) #把模型参数加载到模型中

model.cuda()
model.eval() #model.eval()没有Batch Normalization和Dropout

#加载模型结构和模型参数
model = ]]></description><category></category></item><item><title><![CDATA[每天讲解一点PyTorch 【14】模型定义，继承nn.Module]]></title><link>https://blog.csdn.net/forest_world/article/details/121327118</link><guid>https://blog.csdn.net/forest_world/article/details/121327118</guid><author>forest_world</author><pubDate>Mon, 15 Nov 2021 07:32:30 +0800</pubDate><description><![CDATA[今天我们讲解class的定义和实现：
class Dec(nn.Module):
def init(self, ***, ***):
super(Dec, self).init()
self.***= ***
self.***= ***
def forward(self, x, ***):
    x = ***
    return self.***(x)


]]></description><category></category></item><item><title><![CDATA[每天讲解一点PyTorch 【13】global]]></title><link>https://blog.csdn.net/forest_world/article/details/121323386</link><guid>https://blog.csdn.net/forest_world/article/details/121323386</guid><author>forest_world</author><pubDate>Sun, 14 Nov 2021 21:04:53 +0800</pubDate><description><![CDATA[今天讲解global
Python中需要在函数内部声明变量为global，具体示例如下：
&gt;&gt;&gt; x = "qwertyuiopasdfghjklzxcvbnm" 
&gt;&gt;&gt; def test():
...   global x
...   print(x)
... 
&gt;&gt;&gt; test()
qwertyuiopasdfghjklzxcvbnm
&gt;&gt;&gt; 
&gt;&gt;&gt; 
&gt;&gt;&gt; a = 2
&gt;&gt;&g]]></description><category></category></item><item><title><![CDATA[每天讲解一点PyTorch 【12】enumerate]]></title><link>https://blog.csdn.net/forest_world/article/details/121322938</link><guid>https://blog.csdn.net/forest_world/article/details/121322938</guid><author>forest_world</author><pubDate>Sun, 14 Nov 2021 20:41:14 +0800</pubDate><description><![CDATA[今天我们讲解函数enumerate的使用：
&gt;&gt;&gt; x = "qwertyuiopasdfghjklzxcvbnm" 
&gt;&gt;&gt; x
'qwertyuiopasdfghjklzxcvbnm'
&gt;&gt;&gt; for a, b in enumerate(x):
...   print(a,b,'\n')
... 
0 q 
1 w 
2 e 
3 r 
4 t 
5 y 
6 u 
7 i 
8 o 
9 p 
10 a 
11 s 
12 d 
13 f 
14 ]]></description><category></category></item><item><title><![CDATA[每天讲解一点PyTorch 【10】argparse.ArgumentParser]]></title><link>https://blog.csdn.net/forest_world/article/details/121321742</link><guid>https://blog.csdn.net/forest_world/article/details/121321742</guid><author>forest_world</author><pubDate>Sun, 14 Nov 2021 19:24:49 +0800</pubDate><description><![CDATA[今天我们讲解：argparse.ArgumentParser
import argparse 
ap = argparse.ArgumentParser() 
ap.add_argument("-batchsize", required=True, help="batchsize set")
args = vars(ap.parse_args())
 
print(args["batchsize"])

执行测试代码：
(base) user@ubuntu:~$ python test.py -batchs]]></description><category></category></item><item><title><![CDATA[每天讲解一点PyTorch 【8】np.zeros]]></title><link>https://blog.csdn.net/forest_world/article/details/121315335</link><guid>https://blog.csdn.net/forest_world/article/details/121315335</guid><author>forest_world</author><pubDate>Sun, 14 Nov 2021 11:15:16 +0800</pubDate><description><![CDATA[今天讲解函数np.zeros的使用，具体如下：
np.zeros((2,3),int)
&gt;&gt;&gt; x = np.zeros(2,int)
&gt;&gt;&gt; x
array([0, 0])

&gt;&gt;&gt; type(x)
&lt;class 'numpy.ndarray'&gt;
&gt;&gt;&gt; 
&gt;&gt;&gt; 
&gt;&gt;&gt; y = np.zeros(2,float)
&gt;&gt;&gt; y
array([0., 0.])
&gt;]]></description><category></category></item><item><title><![CDATA[每天讲解一点PyTorch 【7】np.transpose torch.from_numpy]]></title><link>https://blog.csdn.net/forest_world/article/details/121315029</link><guid>https://blog.csdn.net/forest_world/article/details/121315029</guid><author>forest_world</author><pubDate>Sun, 14 Nov 2021 10:56:39 +0800</pubDate><description><![CDATA[今天开始讲解：np.transpose、torch.from_numpy、.float()
 img = cv2.imread(img_path)
 img.shape
 cv2.imshow(img)
 img = img  / 255.
 img = np.transpose(img, (2, 0, 1)) # numpy中transpose支持高维度
 # numpy转换成tensor
 img = torch.from_numpy(img).float()


...]]></description><category></category></item></channel></rss>