随笔分类 -  Python

摘要:在网上看了十几篇文章,都是说的是IE的代理设置,具体是: Tools->Internet Options->Connections->Lan Settings 将代理服务器的小勾勾去掉。 但是。。。我根本没有打√啊。。。 直到看到了一个评论: 临时性修改试试 os.environ['http_pro 阅读全文
posted @ 2017-08-01 16:53 油焖大黄瓜 阅读(1080) 评论(0) 推荐(0)
摘要:Download AnacondaAnaconda is a completely free Python distribution (including for commercial use and redistribution). It includes over 195 of the most... 阅读全文
posted @ 2014-08-07 11:46 油焖大黄瓜 阅读(267) 评论(0) 推荐(0)
摘要:参考:https://groups.google.com/forum/#!topic/theano-users/teA-07wOFpE这个问题出现的原因是,我在读文件的时候,应该Train_X读成matrix(rows * dimensions),Train_Y读成vector(因为只有label一... 阅读全文
posted @ 2014-08-01 22:40 油焖大黄瓜 阅读(9819) 评论(0) 推荐(0)
摘要:参考https://groups.google.com/forum/#!topic/theano-users/tY3fNAPYd9k这个问题是由于outs的数量没有设置对。里面写到“except that you should specify "n_out=6", because there are... 阅读全文
posted @ 2014-08-01 22:25 油焖大黄瓜 阅读(933) 评论(0) 推荐(0)
摘要:天朝网络锁国,百度找了半个小时找不出来原因,只能谷歌谷歌第一条就是,顿时感觉幸福感来的太突然原因是输入的矩阵均是字符串(从文件里读的)那么就需要批量转数组,一行一行的转。下面是我的代码:rownum = 0f = open(train_Y_path)for line in f.readlines()... 阅读全文
posted @ 2014-08-01 15:28 油焖大黄瓜 阅读(5693) 评论(0) 推荐(0)