<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Techdim</title>
  
  <subtitle>所有的最好，都不如刚刚好</subtitle>
  <link href="/atom.xml" rel="self"/>
  
  <link href="http://techdim.github.io/"/>
  <updated>2020-09-14T02:42:34.577Z</updated>
  <id>http://techdim.github.io/</id>
  
  <author>
    <name>Techdim</name>
    
  </author>
  
  <generator uri="https://hexo.io/">Hexo</generator>
  
  <entry>
    <title>batchnorm</title>
    <link href="http://techdim.github.io/2020/09/14/batchnorm/"/>
    <id>http://techdim.github.io/2020/09/14/batchnorm/</id>
    <published>2020-09-14T02:42:02.000Z</published>
    <updated>2020-09-14T02:42:34.577Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;h2 id=&quot;Batchnorm原理详解&quot;&gt;&lt;a href=&quot;#Batchnorm原理详解&quot; class=&quot;headerlink&quot;
        
      
    
    </summary>
    
    
    
  </entry>
  
  <entry>
    <title>贪心算法</title>
    <link href="http://techdim.github.io/2020/09/06/tan-xin-suan-fa/"/>
    <id>http://techdim.github.io/2020/09/06/tan-xin-suan-fa/</id>
    <published>2020-09-06T07:35:23.000Z</published>
    <updated>2020-09-14T02:18:08.408Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;p&gt;问题1.钞票支付问题。&lt;br&gt;有1元、2元、5元、10元、20元、50元、100元的钞票无穷多张。现使用这些钞票支付x元，最少需要多少张？例如，X=628最佳支付方法：6张100块的，1张20块的，1张5块的，1张2块的，1张1块的；共需要6+1+1+1+1=10张。直觉告
        
      
    
    </summary>
    
    
    
  </entry>
  
  <entry>
    <title>高通snpe使用</title>
    <link href="http://techdim.github.io/2020/08/26/gao-tong-snpe-shi-yong/"/>
    <id>http://techdim.github.io/2020/08/26/gao-tong-snpe-shi-yong/</id>
    <published>2020-08-26T08:35:02.000Z</published>
    <updated>2020-08-31T07:49:18.986Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;p&gt;版本snpe1.32&lt;br&gt;支持Python的版本为Python2.7 和 Python3.4  &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;安装Python3.4&lt;br&gt;由于ubuntu18.04默认的Python版本为Python3.6
        
      
    
    </summary>
    
    
      <category term="深度学习" scheme="http://Techdim.github.io/categories/%E6%B7%B1%E5%BA%A6%E5%AD%A6%E4%B9%A0/"/>
    
    
      <category term="边缘计算" scheme="http://Techdim.github.io/tags/%E8%BE%B9%E7%BC%98%E8%AE%A1%E7%AE%97/"/>
    
  </entry>
  
  <entry>
    <title>深度学习常见的激活函数sigmod、tanh、ReLU、LeakyRelu、Relu6</title>
    <link href="http://techdim.github.io/2020/08/13/shen-du-xue-xi-chang-jian-de-ji-huo-han-shu-sigmod-tanh-relu-leakyrelu-relu6/"/>
    <id>http://techdim.github.io/2020/08/13/shen-du-xue-xi-chang-jian-de-ji-huo-han-shu-sigmod-tanh-relu-leakyrelu-relu6/</id>
    <published>2020-08-13T06:42:47.000Z</published>
    <updated>2020-08-13T09:29:45.712Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;p&gt;神经网络模型当中激活函数的作用主要是将线性映射做非线性转换。&lt;/p&gt;
&lt;h3 id=&quot;sigmod&quot;&gt;&lt;a href=&quot;#sigmod&quot; class=&quot;headerlink&quot; title=&quot;sigmod&quot;&gt;&lt;/a&gt;sigmod&lt;/h3&gt;&lt;p&gt;sigmod激活函数和导数 
        
      
    
    </summary>
    
    
      <category term="算法剖析" scheme="http://Techdim.github.io/categories/%E7%AE%97%E6%B3%95%E5%89%96%E6%9E%90/"/>
    
    
      <category term="深度学习" scheme="http://Techdim.github.io/tags/%E6%B7%B1%E5%BA%A6%E5%AD%A6%E4%B9%A0/"/>
    
  </entry>
  
  <entry>
    <title>MOSAIC 数据增强</title>
    <link href="http://techdim.github.io/2020/08/05/mosaic-shu-ju-zeng-qiang/"/>
    <id>http://techdim.github.io/2020/08/05/mosaic-shu-ju-zeng-qiang/</id>
    <published>2020-08-05T09:30:37.638Z</published>
    <updated>2020-08-13T07:10:49.690Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;p&gt;mosaic数据增强理解起来十分方便，主要思想是将四张图片进行随机裁剪，再拼接到一张图上作为训练数据。原文中提到这样做的好处是丰富了图片的背景，并且四张图片拼接在一起变相地提高了batch_size，在进行BN的时候也会计算四张图片，所以对本身batch_size不是很依赖
        
      
    
    </summary>
    
    
      <category term="算法剖析" scheme="http://Techdim.github.io/categories/%E7%AE%97%E6%B3%95%E5%89%96%E6%9E%90/"/>
    
    
      <category term="目标检测" scheme="http://Techdim.github.io/tags/%E7%9B%AE%E6%A0%87%E6%A3%80%E6%B5%8B/"/>
    
      <category term="数据增强" scheme="http://Techdim.github.io/tags/%E6%95%B0%E6%8D%AE%E5%A2%9E%E5%BC%BA/"/>
    
  </entry>
  
  <entry>
    <title>CVPR 论文Bridging the Gap Between Anchor-based and Anchor-free Detection via Adaptive Training Sample Selection</title>
    <link href="http://techdim.github.io/2020/08/03/bridging-the-gap-between-anchor-based-and-anchor-free-detection-via-adaptive-training-sample-selection/"/>
    <id>http://techdim.github.io/2020/08/03/bridging-the-gap-between-anchor-based-and-anchor-free-detection-via-adaptive-training-sample-selection/</id>
    <published>2020-08-03T03:17:00.000Z</published>
    <updated>2020-08-13T07:02:21.723Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;p&gt;&amp;ensp;&amp;ensp;在这篇文章中，作者首先指出了anchor-based和anchor-free方法最终训练结果的性能差异主要来来自于正负样本的选择。如果在训练的过程中采取相似的正负样本定义策略那么在最终的结果上是几乎相同的。也就是说如何选取正负样本对于目标检测任务是十
        
      
    
    </summary>
    
    
      <category term="算法剖析" scheme="http://Techdim.github.io/categories/%E7%AE%97%E6%B3%95%E5%89%96%E6%9E%90/"/>
    
    
      <category term="深度学习" scheme="http://Techdim.github.io/tags/%E6%B7%B1%E5%BA%A6%E5%AD%A6%E4%B9%A0/"/>
    
      <category term="目标检测" scheme="http://Techdim.github.io/tags/%E7%9B%AE%E6%A0%87%E6%A3%80%E6%B5%8B/"/>
    
  </entry>
  
  <entry>
    <title>目标检测算法损失函数1</title>
    <link href="http://techdim.github.io/2020/07/17/mu-biao-jian-ce-suan-fa-sun-shi-han-shu/"/>
    <id>http://techdim.github.io/2020/07/17/mu-biao-jian-ce-suan-fa-sun-shi-han-shu/</id>
    <published>2020-07-17T07:01:18.000Z</published>
    <updated>2020-08-13T07:10:38.892Z</updated>
    
    <summary type="html">
    
      &lt;p&gt;目标检测任务的损失函数由Classificition Loss（分类损失）和Regeression Loss（回归损失）两部分构成。&lt;br&gt;目标检测任务中损失函数的大致演变过程按照时间线可以划分如为Smooth L1 Loss-&amp;gt;IoU Loss-&amp;gt; GIoU Loss -&amp;gt; DIoU Loss -&amp;gt;CIoU Loss。本文将简单介绍集中IOU损失函数 详细的介绍欢迎阅读全文：&lt;/p&gt;
    
    </summary>
    
    
      <category term="深度学习" scheme="http://Techdim.github.io/categories/%E6%B7%B1%E5%BA%A6%E5%AD%A6%E4%B9%A0/"/>
    
    
      <category term="深度学习" scheme="http://Techdim.github.io/tags/%E6%B7%B1%E5%BA%A6%E5%AD%A6%E4%B9%A0/"/>
    
  </entry>
  
  <entry>
    <title>Python 偏函数</title>
    <link href="http://techdim.github.io/2020/07/15/python-pian-han-shu/"/>
    <id>http://techdim.github.io/2020/07/15/python-pian-han-shu/</id>
    <published>2020-07-15T06:43:09.000Z</published>
    <updated>2020-08-07T02:03:18.431Z</updated>
    
    <summary type="html">
    
      &lt;p&gt;&lt;a href=&quot;https://baijiahao.baidu.com/s?id=1613459698249266824&amp;amp;wfr=spider&amp;amp;for=pc&quot;&gt;https://baijiahao.baidu.com/s?id=1613459698249266824&amp;amp;wfr=spider&amp;amp;for=pc&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;偏函数（Partial function）是通过将一个函数的部分参数预先绑定为某些值，从而得到一个新的具有较少可变参数的函数。在Python中，可以通过functools中的partial高阶函数来实现偏函数功能。&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://ss2.baidu.com/6ONYsjip0QIZ8tyhnq/it/u=2495948681,1851434534&amp;fm=173&amp;app=25&amp;f=JPEG?w=640&amp;h=360&amp;s=F21C7E8657A3D8E45A2B826E03007078&quot;&gt;&lt;/p&gt;
&lt;p&gt;目前，在网上可以找到很多关于functools.partial用法的文章和例子。比如下面这个：&lt;/p&gt;
    
    </summary>
    
    
      <category term="编程学习" scheme="http://Techdim.github.io/categories/%E7%BC%96%E7%A8%8B%E5%AD%A6%E4%B9%A0/"/>
    
    
      <category term="Python" scheme="http://Techdim.github.io/tags/Python/"/>
    
  </entry>
  
  <entry>
    <title>pycharm快捷键</title>
    <link href="http://techdim.github.io/2020/07/14/pycharm-kuai-jie-jian/"/>
    <id>http://techdim.github.io/2020/07/14/pycharm-kuai-jie-jian/</id>
    <published>2020-07-14T09:07:28.000Z</published>
    <updated>2020-08-07T02:03:00.943Z</updated>
    
    <summary type="html">
    
      &lt;h1 id=&quot;pycharm快捷键&quot;&gt;&lt;a href=&quot;#pycharm快捷键&quot; class=&quot;headerlink&quot; title=&quot;pycharm快捷键&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://www.cnblogs.com/xidongyu/p/10995323.html&quot;&gt;pycharm快捷键&lt;/a&gt;&lt;/h1&gt;&lt;p&gt;pycharm快捷键&lt;/p&gt;
&lt;p&gt;查看PyCharm自带的默认快捷键的方法，请移步：&lt;/p&gt;
    
    </summary>
    
    
      <category term="编程学习" scheme="http://Techdim.github.io/categories/%E7%BC%96%E7%A8%8B%E5%AD%A6%E4%B9%A0/"/>
    
    
      <category term="Python" scheme="http://Techdim.github.io/tags/Python/"/>
    
  </entry>
  
  <entry>
    <title>日志模块</title>
    <link href="http://techdim.github.io/2020/07/10/ri-zhi-mo-kuai/"/>
    <id>http://techdim.github.io/2020/07/10/ri-zhi-mo-kuai/</id>
    <published>2020-07-10T05:32:31.000Z</published>
    <updated>2020-08-07T08:53:42.704Z</updated>
    
    <summary type="html">
    
      &lt;h1 id=&quot;日志模块-logging&quot;&gt;&lt;a href=&quot;#日志模块-logging&quot; class=&quot;headerlink&quot; title=&quot;日志模块 logging&quot;&gt;&lt;/a&gt;日志模块 logging&lt;/h1&gt;&lt;p&gt;日志等级系统&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th align=&quot;center&quot;&gt;级别&lt;/th&gt;
&lt;th align=&quot;center&quot;&gt;何时使用&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td align=&quot;center&quot;&gt;DEBUG&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;详细信息，典型地调试问题时会感兴趣。 详细的debug信息。&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot;&gt;INFO&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;证明事情按预期工作。 关键事件。&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot;&gt;WARNING&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;表明发生了一些意外，或者不久的将来会发生问题（如‘磁盘满了’）。软件还是在正常工作。&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot;&gt;ERROR&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;由于更严重的问题，软件已不能执行一些功能了。 一般错误消息。&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot;&gt;CRITICAL&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;严重错误，表明软件已不能继续运行了。&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot;&gt;NOTICE&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;不是错误，但是可能需要处理。普通但是重要的事件。&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot;&gt;ALERT&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;需要立即修复，例如系统数据库损坏。&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot;&gt;EMERGENCY&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;紧急情况，系统不可用（例如系统崩溃），一般会通知所有用户。&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
    
    </summary>
    
    
      <category term="编程学习" scheme="http://Techdim.github.io/categories/%E7%BC%96%E7%A8%8B%E5%AD%A6%E4%B9%A0/"/>
    
    
      <category term="Python" scheme="http://Techdim.github.io/tags/Python/"/>
    
  </entry>
  
  <entry>
    <title>Argparse的基本用法</title>
    <link href="http://techdim.github.io/2020/07/10/argparse-de-ji-ben-yong-fa/"/>
    <id>http://techdim.github.io/2020/07/10/argparse-de-ji-ben-yong-fa/</id>
    <published>2020-07-10T02:57:17.000Z</published>
    <updated>2020-08-07T08:53:13.442Z</updated>
    
    <summary type="html">
    
      &lt;h1 id=&quot;Argparse的基本用法&quot;&gt;&lt;a href=&quot;#Argparse的基本用法&quot; class=&quot;headerlink&quot; title=&quot;Argparse的基本用法&quot;&gt;&lt;/a&gt;Argparse的基本用法&lt;/h1&gt;&lt;p&gt;argparse是Python自带的命令行参数解析包&lt;/p&gt;
&lt;pre class=&quot;line-numbers language-python&quot; data-language=&quot;python&quot;&gt;&lt;code class=&quot;language-python&quot;&gt;&lt;span class=&quot;token keyword&quot;&gt;import&lt;/span&gt; argparse

&lt;span class=&quot;token keyword&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;token function&quot;&gt;main&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;:&lt;/span&gt;
    parser &lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt; argparse&lt;span class=&quot;token punctuation&quot;&gt;.&lt;/span&gt;ArgumentParser&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;description&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token string&quot;&gt;&quot;Demo of argparse&quot;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;
    parser&lt;span class=&quot;token punctuation&quot;&gt;.&lt;/span&gt;add_argument&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token string&quot;&gt;&#39;-n&#39;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;token string&quot;&gt;&#39;--name&#39;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;,&lt;/span&gt; default&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token string&quot;&gt;&#39; Li &#39;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;
    parser&lt;span class=&quot;token punctuation&quot;&gt;.&lt;/span&gt;add_argument&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token string&quot;&gt;&#39;-y&#39;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;token string&quot;&gt;&#39;--year&#39;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;,&lt;/span&gt; default&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token string&quot;&gt;&#39;20&#39;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;
    args &lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt; parser&lt;span class=&quot;token punctuation&quot;&gt;.&lt;/span&gt;parse_args&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;
    &lt;span class=&quot;token keyword&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;args&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;
    name &lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt; args&lt;span class=&quot;token punctuation&quot;&gt;.&lt;/span&gt;name
    year &lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt; args&lt;span class=&quot;token punctuation&quot;&gt;.&lt;/span&gt;year
    &lt;span class=&quot;token keyword&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token string&quot;&gt;&#39;Hello &amp;#123;&amp;#125;  &amp;#123;&amp;#125;&#39;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;token builtin&quot;&gt;format&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;name&lt;span class=&quot;token punctuation&quot;&gt;,&lt;/span&gt;year&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;

&lt;span class=&quot;token keyword&quot;&gt;if&lt;/span&gt; __name__ &lt;span class=&quot;token operator&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;token string&quot;&gt;&#39;__main__&#39;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;:&lt;/span&gt;
    main&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;
&lt;span aria-hidden=&quot;true&quot; class=&quot;line-numbers-rows&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
    
    </summary>
    
    
      <category term="编程学习" scheme="http://Techdim.github.io/categories/%E7%BC%96%E7%A8%8B%E5%AD%A6%E4%B9%A0/"/>
    
    
      <category term="Python" scheme="http://Techdim.github.io/tags/Python/"/>
    
  </entry>
  
  <entry>
    <title>自留地</title>
    <link href="http://techdim.github.io/2019/12/05/zi-liu-di/"/>
    <id>http://techdim.github.io/2019/12/05/zi-liu-di/</id>
    <published>2019-12-05T02:46:31.000Z</published>
    <updated>2020-08-06T06:10:06.565Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;p&gt;matery:&lt;br&gt;&lt;a
        
      
    
    </summary>
    
    
    
  </entry>
  
</feed>
