- 博客(15)
- 收藏
- 关注
原创 GAN综述
https://zhuanlan.zhihu.com/p/531835521、G, D相互博弈:在训练的过程中,G 的目标是尽可能生成足够真实的数据去迷惑 D,而 D 就是要将 G 生成的图片都辨别出来,这样两者就是互相博弈,最终是要达到一个平衡,也就是纳什均衡。2、为什么GAN中的优化器不常用SGD:SGD 容易震荡,容易使 GAN 的训练更加不稳定,GAN 的目的是在高维非凸的参数空间...
2019-06-27 17:58:37
229
原创 debug log
gan 训练g d 网络时loss回传两次的问题。https://www.twblogs.net/a/5b7e26eb2b717768385597ae
2019-06-27 16:46:17
197
转载 杂货铺
https://medium.com/@yaoyaowd/读论文也读代码-cycle-gan与pix2pix-gan-24e36fce71ed
2019-06-27 13:48:23
190
原创 some code snippet
寻找最大面积的轮廓_, contours, hierarchy = cv2.findContours(canny, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)#cv2.drawContours(img, contours, -1, (0, 0, 255), 3)maxArea = 0for i in range(len(contours)):if (c...
2019-06-03 10:24:56
151
原创 实习命令记录
5.301 虚拟环境配置sudo apt-get install python3.6virtualenv -p python3.6 ‘myvenv’(第一次创建文件夹时用,后面可省)source /gpu/tangpeng2959/tmp/myvenv/bin/activate 激活pip install -r requirements.txt2 oh my zsh 高亮命令行htt...
2019-05-30 18:49:13
241
转载 Mac下配置OpenCV的开发环境
http://www.1zlab.com/wiki/python-opencv-tutorial/opencv-mac-environment/
2019-05-09 20:46:35
319
原创 win10下Ubuntu18.04双系统
过程参考博客:http://www.cnblogs.com/Duane/p/5424218.html问题:1)用legand不要用UFI的BOIS2)解决Windows安装Ubuntu双系统时候无法将grub安装到/dev/sda第一条:https://www.zhihu.com/question/52850062...
2019-04-16 02:12:22
230
原创 图像分割笔记
原文:https://zhuanlan.zhihu.com/p/608471361、非语义分割:阈值分割区域分割:区域生长和区域分裂合并聚类边缘分割2、语义分割
2019-04-08 02:25:22
261
转载 4/06 leetcode in python3
Roman to Integer(zancun)class Solution: def romanToInt(self, s: str) -> int: dic = {'I': 1, 'V': 5, 'X': 10, 'L': 50, 'C': 100, 'D': 500, 'M': 1000} res = 0 if len(s)...
2019-04-06 22:25:47
167
转载 leetcode in python3 4/01
Search Insert Position思路:遍历list 找index;若target不在list里将其append后sort再递归class Solution: def searchInsert(self, nums: List[int], target: int) -> int: for i in range(len(nums)): ...
2019-04-02 02:59:34
118
转载 leetcode in python 3/31 二叉树套装
参考: https://blog.youkuaiyun.com/coder_orz/article/details/51399234100. Same Tree思路:实则是遍历二叉树(1)递归# Definition for a binary tree node.# class TreeNode:# def __init__(self, x):# self.val = x...
2019-04-01 03:02:56
109
转载 leetcode in python3 3/27
70. Climbing Stairs用动态规划记录历史数据(用递归复杂度太大)。当还剩i个台阶时,走法分为两类:1)跨1阶再跨完剩下i-1阶;2)跨2阶再跨完剩下i-2阶class Solution: def climbStairs(self, n: int) -> int: if n == 0 or n == 1 or n == 2: ...
2019-03-28 03:56:30
146
转载 DL的tricks总结(持续更)
一、普通分类任务的经典tricks1 模型优化方面SGD,Adam, RMSprop2 数据层面的增强方法3 learning rate的更新策略4 损失函数优化5 正则化6 BatchNorm二、目标检测训练优化tricksBag of Freebies for Training Object Detection Neural Networks-15 Feb, 2019参考博...
2019-03-28 03:14:37
215
转载 leetcode in python 3/26
1 两数之和给定 nums = [2, 7, 11, 15], target = 9因为 nums[0] + nums[1] = 2 + 7 = 9所以返回 [0, 1]思路1: 双层遍历class Solution: def twoSum(self, nums: List[int], target: int) -> List[int]: res = []...
2019-03-27 01:24:10
171
转载 win下安装dlib for python
python dlib学习(一):人脸检测转载自:https://blog.youkuaiyun.com/hongbin_xu/article/details/78347484其中window下安装dlib会有问题,简单方法:直接使用 conda install -c menpo dlib=18.18转载自:https://blog.youkuaiyun.com/wjzhangcsu/article/detail...
2019-03-13 19:19:12
152
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅