自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(44)
  • 资源 (1)
  • 收藏
  • 关注

原创 深度学习卷积参数量,图像输出尺寸,感受野的计算

深度学习卷积参数量,图像输出尺寸,感受野的计算,是针对我之前一篇博客的一些单独抽离和总结,方便复习文章目录1. 分组卷积2. 深度可分离卷积3. 卷积后输出的图像尺寸4. 带孔卷积5. 感受野的计算1. 分组卷积详细的带图解释引用参考这个链接https://zhuanlan.zhihu.com/p/65377955概念将输入特征图按照通道数分成g组,每组分别进行卷积操作计算量的...

2019-09-08 11:29:29 2313 2

原创 Pytorch在dataloader类中设置shuffle的随机数种子

如题:Pytorch在dataloader类中设置shuffle的随机数种子虽然实验结果差别不大,但是有时候也悬殊两个百分点想要复现实验结果发现用到随机数的地方就是dataloader类中封装的shuffle属性查了半天没有关于这个的设置,最后在设置随机数种子里面找到了答案以下方法即可:def setup_seed(seed): torch.manual_seed(see...

2019-07-05 10:30:06 16158 16

原创 深度学习语义分割论文笔记(待完善)

深度学习冠脉分割论文总结包含Unet,attention Unet等经典网络也包含deeplab,hrnet,danet,unet++等比较新的网络

2019-06-17 11:29:43 2043 10

原创 Unet 型的网络结构为什么在医学影像分割上表现不错

看过大量的文献和代码大部分都是Unet形的结构即分为编码和解码两部分,中间有skip connection不同的网络skip connection不同Unet 形的网络结构为什么在医学影像分割上表现不错呢?个人的理解:医学图像边界模糊、梯度复杂,需要较多的高分辨率信息,深度学习可以做到这一点,比如上采样下采样以及skip connection和concatenation待分割的目...

2019-05-30 09:00:46 4957

原创 Pytorch Unet深入浅出

1.Unet作为图像语义分割里比较基本的分割网络,自然不能缺席毕竟文题也叫Unet的深入浅出啊1.1语义分割做什么一开始我认为是这样的这么理解是没错的,深度学习确实也是这样端到端的小黑盒,目前大火的原因也是想让这个小黑盒变白在一维信号或者特征上非常好理解输入1*n的数据,n是特征的数量,输出一个预测值,这个值代表某种意思但是一直不太理解在图像中应该怎么理解直到某一天看的论文累...

2019-05-10 11:06:50 3986 3

原创 Pytorch 项目架构模板推荐

楼主因为时间没有商量好,没去上腾讯实习,阿里被路网捞起来没有去上CV岗沉迷深度学习,故在此记录严于律己,放上近期时间安排图,然后我们开始。1.PytorchTensorflow 静态图模型,每次要放到session里,然后feed,blablaPytorch 动态图模型,定义好了就能用,符合Python编程习惯哈哈哈哈,所以刷题刷的多,当然用Pytorch啊安装不用多说,pip i...

2019-05-10 10:41:15 2921 1

原创 Python刷题实用小tips集合(持续更新)

哈希表定义:dict = {},python中叫做字典必须键和值对应,成对出现,重复出现的键会被后续出现的值代替 判断是否在字典中,可以使用关键字in进行组合,例如: if a in dict: 详细需参考https://www.cnblogs.com/scios/p/8108243.html...

2019-04-03 17:07:54 653

原创 安装spacy遇到OSError问题和HTTPSConnectionPool SSLError的问题

碰到第一个问题OSError: Can’t find model ‘en’ ,使用如下命令大部分情况可以解决python -m spacy download en 如果运气好,直接过了运气不好会提示第二个问题HTTPSConnectionPool SSLError “bad handshake”那么大概率你和我一样用的conda,但是用的pip装的spacy原因是因为conda的ssl依赖不正确的问题所有前面装spacy的时候记住不要用pip install下面的语句可以解决conda

2020-06-08 15:08:45 475

原创 Jupyter lab extentions安装踩坑防雷教程

不知道大家什么情况啊本来很简单两句话然后打开开关接着下载的事情我就是不好使,一直提示安装nodejs和npm可是我检查了好几遍绝对是稳妥无误的安装了的简直是抠破脑袋也不知道大家都说了就那几个命令为什么同样9年义务教务您们却乳齿优秀正当我哭泣之时看到了这篇博文:https://lyric.im/c/the-craft-of-selfteaching/T-appendix.jupyter-installation-and-setup博主太详细了从头开始的教程无限好评啊,于是我在这里随手

2020-05-21 18:14:25 1544 3

原创 pip install或者conda install下载中卡顿,输入任意字符之后恢复

win10系统中使用pip install或者conda install的时候出线卡顿不下载但是随便输入字符之后立马刷新下载的问题pip install或者conda install下载中卡顿,输入任意字符之后恢复其实这个问题非常简单win10的cmd非常。。。你一旦选中了里面的东西比如你再下载的时候点击了里面的某一行下载东西的进度条就不更新了所以解决方法如下:点击控制台的...

2020-05-06 17:09:30 816

原创 商汤科技面试准备

商汤科技面试准备1.医学影像方向相关知识dicom图像的各种指标CTA图像的特点MRI图像的特点世界坐标和人体坐标及其相互转换2.传统图像处理算法区域生长法水平集算法CV模型及snake模型血管增强的Frangi算法及Hessian矩阵的特征值含义各种去噪算法(各向异性扩散滤波,小波滤波,中值滤波)3.深度学习图像处理算法深度学习...

2019-10-29 20:00:43 2584

原创 Leetcode经典面试题 -- 第4周

Leetcode经典面试题 – 第4周题目来源于Leetcode报了一个百面机器学习面试的课程每周都有定时打卡的作业都是常出现于面试中的题总结在此,时常温习,刷题小能手们觉得写的不错可以移步个人主页(ps:最近忙着笔试面试,更新太少)1.递归(树)(Leetcode 110)Given a binary tree, determine if it is height-balan...

2019-09-24 09:23:37 146

原创 计算机网络常用知识点总结

参考书籍《计算机网络》第六版,作者谢希仁,电子工业出版社总结在这里方便复习OSIOSI(Open System interconnection)开放式系统互联OSI七层 体系结构物理层,数据链路层,网络层,运输层,会话层,表示层,应用层TCP/IP四层体系结构网络接口层,网际层,运输层,应用层OSI简化的五层结构物理层,数据链路层,网络层,运输层,应用层...

2019-09-19 10:58:03 364

原创 神经网络相关论文总结

NameYearChararcteristicsPaper linkLeNet-51998开山之作,实现了参数共享,局部感知,平均池化降采样LeNet-5(1)AlexNet2012使用ReLU解决梯度弥散,使用dropout解决过拟合,多GPU训练提升速度,提出了局部响应归一化(LRN)进一步防止梯度爆炸(后来证明不如BN),数据增强提升了泛化性能Ale...

2019-09-04 10:38:50 747

原创 KMP算法Python实现

KMP算法Python实现问题由模式串匹配,不是由字符串匹配Next数组:当模式匹配串失配之后,Next数组对应的元素指导应该用T串的哪个元素进行下一轮的匹配...

2019-08-30 11:22:54 274

原创 Python约瑟夫环问题

在2019腾讯提前批实习的笔试题中就出现了约瑟夫环的问题,当时我用collections.deque来做的,每次动态的删除节点,并重新改变指向来实现的,并没有细想过有没有更快的方法。参考知乎的这篇博客,我受到了很大的启发,因此记录其中的递归方法在这里,方便自己复习。index before123456第1轮12x456第2轮45x12...

2019-08-28 14:44:48 715

原创 2019字节跳动秋招算法工程师面试经历

一面:这里只记录,不作答,除了那道概率题,因为答案因人而异,而且很多问题的答案是需要自己的经验回答的,标准答案反而可能会使得面试官方案核函数的定义,介绍几种核函数如何理解深度学习中的分布和数据的一致性深度学习的损失函数对分割的影响(具体),介绍几种损失函数概率题:你和面试官摇骰子比大小,面试官可以摇n次选最大的一次,而你只能摇一次,问你获胜的概率16∗((16)n+...+(56...

2019-07-22 22:46:51 7281

原创 Leetcode 42. Trapping Rain Water

Leetcode 42. Trapping Rain WaterPython 解题思路class Solution(object): def trap(self, height): res = 0 mx = 0 n = len(height) dp = [] for i in range(n): ...

2019-06-29 19:25:38 117

原创 Leetcode 41. First Missing Positive

Leetcode 41. First Missing PositivePython 解题思路class Solution: def firstMissingPositive(self, nums): nums.sort() res = 1 for num in nums: if num == res: ...

2019-06-29 19:24:32 98

原创 Leetcode 40. Combination Sum II

Leetcode 40. Combination Sum IIPython 解题思路class Solution: def __init__(self): self.res = [] self.path = [] self.candidates = [] def dfs(self, target, ind): i...

2019-06-29 17:11:11 101

原创 Leetcode 43. Multiply Strings

Leetcode 43. Multiply StringsPython 解题思路class Solution: def multiply(self, num1, num2): num1, num2 = int(num1), int(num2) ret = return str(num1 * num2)solu = Solution()...

2019-06-29 17:07:19 109

原创 Leetcode 39. Combination Sum

iven a set of candidate numbers (candidates) (without duplicates) and a target number (target), find all unique combinations in candidates where the candidate numbers sums to target.The same repeated...

2019-06-14 15:46:25 112

原创 Leetcode 37. Sudoku Solver

Write a program to solve a Sudoku puzzle by filling the empty cells.A sudoku solution must satisfy all of the following rules:Each of the digits 1-9 must occur exactly once in each row.Each of the ...

2019-06-14 14:08:03 107

原创 Leetcode 36. Valid Sudoku

Determine if a 9x9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules:Each row must contain the digits 1-9 without repetition.Each column must contain...

2019-06-14 13:21:37 108

原创 Leetcode 35. Search Insert Position

Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.You may assume no duplicates in the array.Ex...

2019-06-12 21:14:40 83

原创 Leetcode 34. Find First and Last Position of Element in Sorted Array

Given an array of integers nums sorted in ascending order, find the starting and ending position of a given target value.Your algorithm’s runtime complexity must be in the order of O(log n).If the t...

2019-06-12 21:06:45 98

原创 联想Lico+singularity容器制作+anaconda3安装教程

最近在使用联想Lico框架下的高性能计算平台学校以后要扩建这个平台,现在就7个P4和两个P100未来有更多显卡会加入(手动微笑)这个平台不像自己电脑那样有可视化界面为了方便管理和兼容不同环境下的训练需求采用容器的方式规避不同框架和需求的包之间的冲突目前Lico只支持singularity 2版本制作的镜像这篇博文是用来引导如何安装使用singularity 2版本来制作私有镜像s...

2019-06-11 10:20:52 3613 3

原创 Leetcode 31. Next Permutation

Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.If such arrangement is not possible, it must rearrange it as the lowest possible or...

2019-06-04 20:31:39 77

原创 Leetcode 30. Substring with Concatenation of All Words

You are given a string, s, and a list of words, words, that are all of the same length. Find all starting indices of substring(s) in s that is a concatenation of each word in words exactly once and wi...

2019-06-04 19:43:00 95

原创 Pytorch 中的view理解

一开始根据名字以为是可视化函数但是却在别人开源的代码中发现用途不是可视化view用法view的作用类似于reshape比如现在有一tensor:a = torch.range(1, 25)a 是一个长度为25 的张量。如果想将这个张量改成 5 x 5 大小的,可以使用a = a.view(5, 5)此时, a 的形状就成为了 5 x 5 大小的张量。注意维度要匹配参数-1的意...

2019-06-04 15:44:59 2044 1

原创 Leetcode 29. Divide Two Integers

Given two integers dividend and divisor, divide two integers without using multiplication, division and mod operator.Return the quotient after dividing dividend by divisor.The integer division shoul...

2019-06-03 20:59:29 146

原创 Leetcode 28. Implement strStr()

Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.Example 1:Input: haystack = “hello”, needle = “ll”Output: 2Example 2:Input: haystack = “aaa...

2019-06-03 20:40:17 68

原创 Leetcode 27. Remove Element

Given an array nums and a value val, remove all instances of that value in-place and return the new length.Do not allocate extra space for another array, you must do this by modifying the input array...

2019-06-03 20:32:15 74

原创 Leetcode 26. Remove Duplicates from Sorted Array

Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length.Do not allocate extra space for another array, you must do this by modifyin...

2019-06-03 19:47:28 81

原创 Leetcode 25.Reverse Nodes in k-Group

Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.k is a positive integer and is less than or equal to the length of the linked list. If the number of n...

2019-06-03 19:29:33 107

原创 Leetcode 24. Swap Nodes in Pairs

Given a linked list, swap every two adjacent nodes and return its head.You may not modify the values in the list’s nodes, only nodes itself may be changed.Example:Given 1->2->3->4, you sho...

2019-06-03 18:32:20 90

原创 Pytorch tversky损失函数

楼主最近疯狂Pytorch做的项目是关于冠状动脉血管分割的看了很多论文,建议修改loss函数解决不平衡的分类目标但是只要换成默认的BCEloss网络训练的dice指数一直是0。。。。。。。。。。。。只能勉强用微笑掩盖自己的泪水疯了好久。。。。。。只要换掉默认的BCE损失函数训练的dice指数bee为0且不随时间改变稳定的程度简直让我!@#¥%……&**…………...

2019-05-14 21:55:41 6603 11

原创 Leetcode经典面试题 -- 第3周

Leetcode经典面试题 – 第3周题目来源于Leetcode报了一个百面机器学习面试的课程每周都有定时打卡的作业都是常出现于面试中的题总结在此,时常温习,刷题小能手们觉得写的不错可以移步个人主页(ps:最近忙着笔试面试,更新太少)1.字符串(Leetcode 409)Given a string which consists of lowercase or uppercas...

2019-04-04 21:45:24 497

原创 Leetcode经典面试题 -- 第2周

Leetcode经典面试题 – 第2周题目来源于Leetcode报了一个百面机器学习面试的课程每周都有定时打卡的作业都是常出现于面试中的题总结在此,时常温习,刷题小能手们觉得写的不错可以移步个人主页(ps:最近忙着笔试面试,更新太少)1.二分(Leetcode 69)Implement int sqrt(int x).Compute and return the square ...

2019-04-02 21:59:21 389

原创 Leetcode经典面试题 -- 第1周

Leetcode经典面试题 – 第一周题目来源于Leetcode报了一个百面机器学习面试的课程每周都有定时打卡的作业都是常出现于面试中的题总结在此,时常温习1.双指针(Leetcode 167)Given an array of integers that is already sorted in ascending order, find two numbers such that...

2019-04-02 15:14:09 725

随机森林matlab工具箱

随手转发matlab随机森林的工具箱,觉得有用的可以为学生党捐献微乎其微的1积分,谢谢

2017-10-04

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除