上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页
摘要: You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you cl 阅读全文
posted @ 2018-03-01 21:28 zeroingToOne 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 在学习莫烦教程中keras教程时,报错:TypeError: to_categorical() got an unexpected keyword argument 'nb_classes',代码如下 错误原因:keras版本问题,将nb_classes改为num_classes参考keras文档: 阅读全文
posted @ 2018-02-28 17:30 zeroingToOne 阅读(2060) 评论(0) 推荐(0) 编辑
摘要: 1. 确保成功安装了tensorflow 2. 查看当前tensorflow下的库文件,判断是否已经安装了h5py,scipy:conda list 3. 若没有安装,安装h5py,scipy。我的电脑中没有安装h5py,安装:pip install h5py安装scipy同理 4. 安装tflea 阅读全文
posted @ 2018-02-28 17:16 zeroingToOne 阅读(1569) 评论(0) 推荐(0) 编辑
摘要: 在运行程序时,报错ImportError: No module named 'matplotlib',如图。经网上查询发现是没有安装matplotlib 因此记录一下在tensorflow环境下安装matplotlib的过程: 1.打开anaconda prompt,进入tensorflow的环境: 阅读全文
posted @ 2018-02-25 14:41 zeroingToOne 阅读(1672) 评论(0) 推荐(0) 编辑
摘要: Spyder打不开,报错:This application failed to start because it could not find or load the Qt platform plugin "windows",如图 根据网上找的教程没有改对,比如platform文件夹下没有.dll文 阅读全文
posted @ 2018-02-24 14:25 zeroingToOne 阅读(2346) 评论(0) 推荐(0) 编辑
摘要: 小白一枚,安装过程走了很多坑,前前后后安装了好几天,因此记录一下。 一、安装anaconda 官方下载地址:https://repo.continuum.io/archive/ 选项相应的版本安装,我安装的Anaconda3-4.4.0-Windows-x86_64.exe版本,自带的Python版 阅读全文
posted @ 2018-02-02 20:42 zeroingToOne 阅读(29753) 评论(6) 推荐(7) 编辑
摘要: Given two non-negative integers num1 and num2 represented as string, return the sum of num1 and num2. Note: 题意:给定以字符串形式表示的两个非负整数num1和num2,返回这两个整数的和。No 阅读全文
posted @ 2018-01-30 22:01 zeroingToOne 阅读(261) 评论(0) 推荐(0) 编辑
摘要: Given an m * n matrix M initialized with all 0's and several update operations. Operations are represented by a 2D array, and each operation is repres 阅读全文
posted @ 2018-01-14 14:56 zeroingToOne 阅读(126) 评论(0) 推荐(0) 编辑
摘要: You have a total of n coins that you want to form in a staircase shape, where every k-th row must have exactly k coins. Given n, find the total number 阅读全文
posted @ 2018-01-10 21:38 zeroingToOne 阅读(128) 评论(0) 推荐(0) 编辑
摘要: A self-dividing number is a number that is divisible by every digit it contains. For example, 128 is a self-dividing number because 128 % 1 == 0, 128 阅读全文
posted @ 2018-01-10 20:24 zeroingToOne 阅读(218) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页