【卷积神经网络-进化史】从LeNet到AlexNet 【卷积神经网络-进化史】从LeNet到AlexNet

【卷积神经网络-进化史】从LeNet到AlexNet 本博客是【卷积神经网络-进化史】的第一部分《从LeNet到AlexNet》 转载自本文链接:http://blog.csdn.net/cyh_24/article/details/51440344 更多...
分类: 其他 发布时间: 08-28 23:34 阅读次数: 0

[Leetcode]Subarray Sum Equals K 子数组和为K

题目 Given an array of integers and an integer k, you need to find the total number of continuous subarrays whose sum equals to k. Example 1: Input:nums = [1,1,1], k = 2 Output: 2 Note: The le...
分类: 其他 发布时间: 08-28 23:34 阅读次数: 0

[LeetCode] Task Scheduler 任务行程表

题目 Given a char array representing tasks CPU need to do. It contains capital letters A to Z where different letters represent different tasks.Tasks could be done without original order. Each task cou...
分类: 其他 发布时间: 08-28 23:34 阅读次数: 0

[LeetCode] Largest Rectangle in Histogram 直方图中最大的矩形

题目   Given n non-negative integers representing the histogram’s bar height where the width of each bar is 1, find the area of largest rectangle in the histogram.   A...
分类: 其他 发布时间: 08-28 23:34 阅读次数: 0

[LeetCode] Sort Colors 颜色排序

题目 Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, white and blue. Here, we will use the integer...
分类: 其他 发布时间: 08-28 23:33 阅读次数: 0

[Leetcode Longest Palindromic Substring 最长回文子串

Palindromic Substrings 回文子串 Given a string, your task is to count how many palindromic substrings in this string. The substrings with different start indexes or end indexes are counted as different ...
分类: 其他 发布时间: 08-28 23:33 阅读次数: 0

Keras学习︱训练时显存out of memory的解决办法——fit_generator函数

keras默认情况下用fit方法载数据,就是全部载入。换用fit_generator方法就会以自己手写的方法用yield逐块装入 问题分析:fit()函数训练时,将全部训练集载入显存之后,才开始分批训练。显然很容易就超出了12G 解决办法:用fit_generator函数进行训练 fit_generator函数将训练集分批载入显存,但需要自定义其第一个参数——generator函数,从而分批...
分类: 其他 发布时间: 08-28 23:33 阅读次数: 0

random.randint和numpy.random.randint

random.randint()的函数原型为:random.randint(a, b),用于生成一个指定范围内的整数。其中参数a是下限,参数b是上限,生成的随机数n: a <= n <= b numpy.random.randint()的函数原型为:numpy.random.randint(low,high=None,size=None,dtype) 生成在半开半闭区间[low,hi...
分类: 其他 发布时间: 08-28 23:32 阅读次数: 0

Keras学习| ImageDataGenerator的参数 Keras ImageDataGenerator的参数

转载自 [https://blog.csdn.net/jacke121/article/details/79245732](https://blog.csdn.net/jacke121/article/details/79245732) Keras ImageDataGenerator的参数 ...
分类: 其他 发布时间: 08-28 23:32 阅读次数: 0

[LeetCode] Minimum ASCII Delete Sum for Two Strings 两个字符串的最小ASCII删除和

题目 Given two strings s1, s2, find the lowest ASCII sum of deleted characters to make two strings equal. Example 1: Input: s1 = “sea”, s2 = “eat” Output: 231 Explanation: Deleting “s” from “sea” a...
分类: 其他 发布时间: 08-28 23:32 阅读次数: 0

[LeetCode] Maximum Length of Pair Chain 链对的最大长度[DP解法]

题目 You are given n pairs of numbers. In every pair, the first number is always smaller than the second number. Now, we define a pair (c, d) can follow another pair (a, b) if and only if b < c. Ch...
分类: 其他 发布时间: 08-28 23:32 阅读次数: 0

Keras学习笔记:Chapter1-Keras入门

Keras Keras是一个高层神经网络库。Keras是由Python编写而成的,后端实现是基于Tensorflow,CNTK或Theano(Keras是一个库,可以理解为一个基于多种不同机器学习库提供相同api的库)。 Keras发展的要义是:将想法快速转换实验成果,(类似Python的理念:人生苦短,我用Python),正因为这样,Keras很适合做研究使用。 如果你对深度学习...
分类: 其他 发布时间: 08-28 23:31 阅读次数: 0

Keras学习笔记:Chapter2-初探Keras模型 Keras学习笔记:Chapter2-初探Keras模型

Keras学习笔记:Chapter2-初探Keras模型 Sequential模型就是简单的“线性”堆叠,一层接着一层的连接,可通过.add()方法将一个一个层添加至模型,例: network = Sequential() network.add(Den...
分类: 其他 发布时间: 08-28 23:31 阅读次数: 0

[LeetCode] Integer Break 整数拆分

题目 Given a positive integer n, break it into the sum of at least two positive integers and maximize the product of those integers. Return the maximum product you can get. For example, given n = 2, r...
分类: 其他 发布时间: 08-28 23:31 阅读次数: 0

BP神经网络模型及梯度下降法 BP神经网络模型及梯度下降法

BP神经网络模型及梯度下降法 BP(Back Propagation)网络是1985年由Rumelhart和McCelland为首的科学家小组提出,是一种按误差逆传播算法训练的多层前馈网络,是目前应用最广泛的神经网络模型之一。 BP网络能学习和存贮大量的输入-输出模式映射关系,而无需事...
分类: 其他 发布时间: 08-28 23:31 阅读次数: 0

JDK 1.6,1.8 api 中文

转自:http://blog.csdn.net/qw599186875/article/details/52265995     java 1.6 帮助文档 中文   链接:http://download.csdn.net/detail/qw599186875/9608735   Java1.8 帮助文档 中文下载地址:https://download.csdn.net/d...
分类: 其他 发布时间: 08-28 23:30 阅读次数: 0

SpringBoot 上传文件 Caused by: java.io.IOException: The temporary upload location [***] is not valid

Caused by: java.io.IOException: The temporary upload location [C:\Users\coffee\AppData\Local\Temp\tomcat.8572785615189560421.9999\work\Tomcat\localhost\ROOT] is not valid at org.apache.catalina.c...
分类: 其他 发布时间: 08-28 23:29 阅读次数: 0

Linux 下实现SSH免密码登录

    最近在学习hadoop,自然要自己搭建一个hadoop集群,当然,hadoop集群也可以搞个为分布式集群,但是,咱有条件,搞个Vmware,启三个linux虚拟机,当然也可以装一个虚拟机 然后克隆2个,这个自己恶补一番,这里不详述。      完全分布式集群的搭建,涉及到集群中各个机器之间的互访,因为Hadoop集群中的各个机器间会相互地通过SSH访问,每次访问都输入密码是不现实的,所以...
分类: 其他 发布时间: 08-28 23:29 阅读次数: 0

Hadoop 2.x日志存放位置

Hadoop 2.x中YARN系统的服务日志包括ResourceManager日志和各个NodeManager日志,他们的日志位置如下: ResourceManager日志存放位置是Hadoop安装目录下的logs目录下的yarn-*-resourcemanager-*.log NodeManager日志存放位置是各个NodeManager节点上hadoop安装目录下的logs目录下的yarn...
分类: 其他 发布时间: 08-28 23:29 阅读次数: 0

Hadoop集群所有的DataNode都启动不了解决办法

首先会出现几种情况,才会出现启动不了datanode的情况。 1.首先修改过master那台的配置文件, 2.多次Hadoop namenode -format这种不好的习惯。 一般会出现一下报错: java.io.IOException: Cannot lock storage /usr/hadoop/tmp/dfs/name. The directory is already lock...
分类: 其他 发布时间: 08-28 23:29 阅读次数: 0