0. 需求 当训练的数据非常多时,是不希望分配过多的内存将数据存入,否则其他占用内存的数据处理步骤就没法进行了。我们最好是以小批量地方式读入数据,然后预处理,然后送到网络,之后释放内存,以此循环。 1. 方法的简要说明 tf.keras中有一个高度封装的图片预处理类:ImageDataGenerat ...
分类:
其他好文 时间:
2020-04-10 09:17:28
阅读次数:
174
Problem : Given an arbitrary ransom note string and another string containing letters from all the magazines, write a function that will return true i ...
分类:
其他好文 时间:
2020-04-09 12:57:58
阅读次数:
78
Given an array of strings, group anagrams together. Example: Note: All inputs will be in lowercase. The order of your output does not matter. 这道题就是用每个 ...
分类:
其他好文 时间:
2020-04-07 10:00:31
阅读次数:
94
Problem : Given an array, rotate the array to the right by k steps, where k is non negative. Example 1: Example 2: Note: Try to come up as many soluti ...
分类:
其他好文 时间:
2020-04-06 18:59:35
阅读次数:
67
Problem : Reverse bits of a given 32 bits unsigned integer. Example 1: Example 2: Note: 思路 : Solution (C++) : 性能 : Runtime: 4 ms Memory Usage: 6.7 MB ...
分类:
其他好文 时间:
2020-04-06 17:33:56
阅读次数:
69
android 拍摄视频 拍摄照片的 流程 https://www.cnblogs.com/younghao/p/5089118.html,https://www.jianshu.com/p/e5312fd916dd?utm_campaign=maleskine&utm_content=note&u ...
分类:
移动开发 时间:
2020-04-06 17:24:14
阅读次数:
65
Given a non empty array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runti ...
分类:
其他好文 时间:
2020-04-06 09:48:06
阅读次数:
63
一级标题 shell 脚本编程基础篇 二级标题 1.编程基础 Linus:Talk is cheap, show me the code 程序组成 程序:算法+数据结构 数据:是程序的核心 算法:处理数据的方式 数据结构:数据在计算机中的类型和组织方式 面向过程语言 做一件事情,排出个步骤,第一步干 ...
分类:
系统相关 时间:
2020-04-06 09:22:35
阅读次数:
80
1.安装 http://note.youdao.com/noteshare?id=83cbd486d6ec7ae941420047b24e62a8 2.基本概念 http://note.youdao.com/noteshare?id=542df719d3118f2848861d3435967e4e ...
分类:
其他好文 时间:
2020-04-06 00:07:10
阅读次数:
64
资料分享]{文档:2020年4月3号全网资料.xlsx 链接:http://note.youdao.com/noteshare?id=5e237a90028a094b518d9417839e67cd&sub=924C2E92945B4A369CBA1DD4490AC344} ...
分类:
其他好文 时间:
2020-04-05 11:23:32
阅读次数:
63