<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[LearningNews的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/LearningNews</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; LearningNews]]></copyright><item><title><![CDATA[PyCharm更改C盘.PyCharm配置文件夹存储位置]]></title><link>https://blog.youkuaiyun.com/LearningNews/article/details/121869597</link><guid>https://blog.youkuaiyun.com/LearningNews/article/details/121869597</guid><author>LearningNews</author><pubDate>Sat, 11 Dec 2021 10:21:41 +0800</pubDate><description><![CDATA[更改C盘.PyCharm配置文件夹存储位置
在启动 PyCharm 后选择 Help -&gt; Edit Custom Properties 的选项，弹出：
选择 Create ，之后在文件中添加配置文件新的存储位置即可，例如：
idea.config.path=D:/Program Files/.PyCharm/config
idea.system.path=D:/Program Files/.PyCharm/system

最后将原文件夹下的
 C:\Users\&lt;username&gt;\.P]]></description><category></category></item><item><title><![CDATA[python-批量letterbox_resize图片]]></title><link>https://blog.youkuaiyun.com/LearningNews/article/details/109540360</link><guid>https://blog.youkuaiyun.com/LearningNews/article/details/109540360</guid><author>LearningNews</author><pubDate>Fri, 06 Nov 2020 22:26:25 +0800</pubDate><description><![CDATA[import numpy as np
import cv2
import os

def letterbox_resize(img, new_width, new_height, interp=0):
    '''
    Letterbox resize. keep the original aspect ratio in the resized image.
    '''
    ori_height, ori_width = img.shape[:2]

    resize_ratio = mi]]></description><category></category></item><item><title><![CDATA[ACL2019代码开源论文]]></title><link>https://blog.youkuaiyun.com/LearningNews/article/details/108227316</link><guid>https://blog.youkuaiyun.com/LearningNews/article/details/108227316</guid><author>LearningNews</author><pubDate>Tue, 25 Aug 2020 19:16:15 +0800</pubDate><description><![CDATA[来自：
GitHub  yizhen20133868
 WeChat Subscription 程序员遇见GitHub
#### Incremental Transformer with Deliberation Decoder for Document Grounded Conversations

- 论文链接：https://www.aclweb.org/anthology/P19-1002.pdf
- 代码链接： https://github.com/lizekang/ITDD

#### Impr]]></description><category></category></item><item><title><![CDATA[测试GPU是否参与模型训练等运算]]></title><link>https://blog.youkuaiyun.com/LearningNews/article/details/108032326</link><guid>https://blog.youkuaiyun.com/LearningNews/article/details/108032326</guid><author>LearningNews</author><pubDate>Sun, 16 Aug 2020 09:39:49 +0800</pubDate><description><![CDATA[import tensorflow as tf
# Creates a graph.
a = tf.constant([6.0, 5.0, 3.0, 3.0, 2.0, 1.0], shape=[2, 3], name='a')
b = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0, 6.0], shape=[3, 2], name='b')
c = tf.matmul(a, b)
# Creates a session with log_device_placement set]]></description><category></category></item><item><title><![CDATA[python：ubuntu下安装tensorflow-gpu并自动配置cuda及cudnn]]></title><link>https://blog.youkuaiyun.com/LearningNews/article/details/108013201</link><guid>https://blog.youkuaiyun.com/LearningNews/article/details/108013201</guid><author>LearningNews</author><pubDate>Fri, 14 Aug 2020 20:41:05 +0800</pubDate><description><![CDATA[conda create --name my_tf python=3.6 tensorflow-gpu=1.14

cuda及cudnn会自动配置完成。
以上命令执行完毕后激活环境，继续安装其他库如：opencv等

]]></description><category></category></item><item><title><![CDATA[python：cifar10的data_batch_1提取为png图片]]></title><link>https://blog.youkuaiyun.com/LearningNews/article/details/107885365</link><guid>https://blog.youkuaiyun.com/LearningNews/article/details/107885365</guid><author>LearningNews</author><pubDate>Sat, 08 Aug 2020 20:39:32 +0800</pubDate><description><![CDATA[import cv2
import numpy as np
file = 'data_batch_1'
def unpickle(file):
    import pickle
    with open(file, 'rb') as fo:
        dict = pickle.load(fo,encoding='latin1')
    return dict
dict1 = unpickle(file)
for i in range(1000):#我只保存的100张
    img = dic]]></description><category></category></item><item><title><![CDATA[vivado：流水灯]]></title><link>https://blog.youkuaiyun.com/LearningNews/article/details/107699817</link><guid>https://blog.youkuaiyun.com/LearningNews/article/details/107699817</guid><author>LearningNews</author><pubDate>Thu, 30 Jul 2020 20:26:52 +0800</pubDate><description><![CDATA[`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Create Date: 2020/07/30 17:08:48
// Module Name: run_led
// Revision 0.01 - File Created
// Additional Comments:
//高电平灯亮
//16个灯，约束文件按照开发板分配
//viva...]]></description><category></category></item><item><title><![CDATA[python：4维list及numpy单位矩阵和零矩阵的for循环实现]]></title><link>https://blog.youkuaiyun.com/LearningNews/article/details/107574838</link><guid>https://blog.youkuaiyun.com/LearningNews/article/details/107574838</guid><author>LearningNews</author><pubDate>Sat, 25 Jul 2020 10:29:48 +0800</pubDate><description><![CDATA[零矩阵
n = 2 #第一维
m = 3 #第二维
k = 4 #第三维
l = 2 #第三维
matrix = [None] * n
for i in range(len(matrix)):
     matrix[i] = [0] * m

for i in range(n):
    for j in range(m):
        matrix[i][j] = [0] * k

for i in range(n):
    for j in range(m):
        for x in ]]></description><category></category></item><item><title><![CDATA[vivado：查看各模块资源占用情况方法]]></title><link>https://blog.youkuaiyun.com/LearningNews/article/details/107431871</link><guid>https://blog.youkuaiyun.com/LearningNews/article/details/107431871</guid><author>LearningNews</author><pubDate>Sat, 18 Jul 2020 17:15:38 +0800</pubDate><description><![CDATA[完成Implementation后，在Flow Navigator下的IMPLMENTATION中点击Open Implemented Design，然后选择Report Utilization。

在生成的结果中选中某一类资源，会看到按模块排列的资源占用情况。b包含按数目或百分比显示的情况。



在Tcl Console里面运行如下Tcl命令：report_utilization -hierarchical


...]]></description><category></category></item><item><title><![CDATA[vivado：[DRC BIVC-1] Bank IO standard Vcc: Conflicting Vcc voltages in bank 34.]]></title><link>https://blog.youkuaiyun.com/LearningNews/article/details/107427414</link><guid>https://blog.youkuaiyun.com/LearningNews/article/details/107427414</guid><author>LearningNews</author><pubDate>Sat, 18 Jul 2020 13:03:02 +0800</pubDate><description><![CDATA[报错：
[USF-XSim-62] 'elaborate' step failed with error(s). Please check the Tcl console output or 'F:/vivado_project/timer/timer.sim/sim_1/behav/xsim/elaborate.log' file for more information.
[Vivado 12-4473] Detected error while running simulation. Please c]]></description><category></category></item></channel></rss>