不积跬步,无以至千里;不积小流,无以成江海。——荀子

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 5 6 7 8 9 10 下一页

2017年9月29日

摘要: Step 0:导入必要的库 Step 1:获取图片文件名以及对应的标签 首先是读取给定路径下所有图片的名称以及对应的标签。os.listdir(file_dir)可以列出file_dir路径下所有文件名;str.split(sep='.')将字符串str以点(.)分割。 step3:分批次读取图片 阅读全文
posted @ 2017-09-29 00:38 hejunlin 阅读(4281) 评论(0) 推荐(0) 编辑

2017年9月27日

摘要: Given a non-empty string s and a dictionary wordDict containing a list of non-empty words, determine if s can be segmented into a space-separated sequ 阅读全文
posted @ 2017-09-27 12:46 hejunlin 阅读(154) 评论(0) 推荐(0) 编辑

摘要: Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. For example, given the fo 阅读全文
posted @ 2017-09-27 00:46 hejunlin 阅读(194) 评论(0) 推荐(0) 编辑

摘要: Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2. For example,Given:s1 = "aabcc",s2 = "dbbca", When s3 = "aadbbcbcac", ret 阅读全文
posted @ 2017-09-27 00:05 hejunlin 阅读(207) 评论(0) 推荐(0) 编辑

2017年9月26日

摘要: Given n, how many structurally unique BST's (binary search trees) that store values 1...n? For example,Given n = 3, there are a total of 5 unique BST' 阅读全文
posted @ 2017-09-26 13:10 hejunlin 阅读(147) 评论(0) 推荐(0) 编辑

摘要: A message containing letters from A-Z is being encoded to numbers using the following mapping: Given an encoded message containing digits, determine t 阅读全文
posted @ 2017-09-26 01:10 hejunlin 阅读(217) 评论(0) 推荐(0) 编辑

2017年9月24日

摘要: Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calculate the number of 1's in their binary representation and r 阅读全文
posted @ 2017-09-24 00:37 hejunlin 阅读(184) 评论(0) 推荐(0) 编辑

2017年9月23日

摘要: CNN中减少网络的参数的三个思想: 1) 局部连接(Local Connectivity) 2) 权值共享(Shared Weights) 3) 池化(Pooling) 局部连接 局部连接是相对于全连接来说的。全连接示意图如下: 比如说,输入图像为1000*1000大小,即输入层有1000*1000 阅读全文
posted @ 2017-09-23 23:16 hejunlin 阅读(4703) 评论(0) 推荐(0) 编辑

2017年9月20日

摘要: Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telepho 阅读全文
posted @ 2017-09-20 01:26 hejunlin 阅读(187) 评论(0) 推荐(0) 编辑

摘要: Given an array of integers, find out whether there are two distinct indices i and j in the array such that the absolute difference between nums[i] and 阅读全文
posted @ 2017-09-20 00:40 hejunlin 阅读(317) 评论(0) 推荐(0) 编辑

上一页 1 ··· 5 6 7 8 9 10 下一页