摘要: 安装Tensorflow ,使用PIP镜像, 速度非常慢, 可以考虑使用清华的镜像: GPU版本安装方法:pip install tensorflow-gpu==1.8 -i https://pypi.tuna.tsinghua.edu.cn/simple或 CPU版本安装: pip install 阅读全文
posted @ 2020-08-05 08:31 Montai 阅读(1450) 评论(1) 推荐(0) 编辑
摘要: 最近找到一台电脑,装了centos7,所以打算装一个keras玩啊。 主要过程如下,参考博客已在文中注明: 1. 安装centos7 , 自带python2.7,但是没有pip命令 根据(https://blog.csdn.net/boooobcsdn/article/details/7996927 阅读全文
posted @ 2020-08-05 08:28 Montai 阅读(511) 评论(0) 推荐(0) 编辑
摘要: “TensorFlow在Windows上支持Python 3.5.x和3.6.x.” 因此,您无法在Windows上使用Python 2.7的tensorflow 如果您被迫使用Python 2.7,则使用虚拟机框将Linux设置为guest虚拟机。 如果您可以选择使用python 3.x(例如py 阅读全文
posted @ 2020-08-05 08:27 Montai 阅读(281) 评论(0) 推荐(0) 编辑
摘要: 在使用VSC编写代码时,我们常常用到Ctrl+鼠标左键的方式来查看类或变量名的定义声明, 看完之后我们想回到程序原来的位置,此时可以通过Alt + ←(方向左键)来返回到原来的位置。 阅读全文
posted @ 2020-07-23 08:42 Montai 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 函数式编程里称之为高阶函数,大家都知道 React 的思想中是存在函数式编程的,高阶组件和高阶函数就是同一个东西。我们实现一个函数,传入一个组件,然后在函数内部再实现一个函数去扩展传入的组件,最后返回一个新的组件,这就是高阶组件的概念,作用就是为了更好的复用代码。 阅读全文
posted @ 2020-07-22 09:38 Montai 阅读(333) 评论(0) 推荐(0) 编辑
摘要: JS和JSX的区别 阅读全文
posted @ 2020-07-22 09:29 Montai 阅读(7204) 评论(0) 推荐(1) 编辑
摘要: JSON文件读取和显示 阅读全文
posted @ 2020-07-21 19:53 Montai 阅读(485) 评论(0) 推荐(0) 编辑
摘要: typescript继承 __extends = (this && this.__extends) || (function () { 代码解读 阅读全文
posted @ 2020-07-21 19:49 Montai 阅读(994) 评论(0) 推荐(0) 编辑
摘要: 如何通过npm编译Typescript代码, 将ts文件编译成js文件 阅读全文
posted @ 2020-07-21 19:38 Montai 阅读(1033) 评论(0) 推荐(0) 编辑
摘要: TypeScript 中的':' 和'?:'的区别 阅读全文
posted @ 2020-07-21 19:31 Montai 阅读(4869) 评论(0) 推荐(1) 编辑
摘要: 无法读取本地服务器JSON文件, 返回404错误 阅读全文
posted @ 2020-07-21 19:25 Montai 阅读(1107) 评论(0) 推荐(0) 编辑
摘要: 如何发布, 更新 npm包 阅读全文
posted @ 2020-07-19 10:18 Montai 阅读(557) 评论(0) 推荐(0) 编辑
摘要: npm ERR! Unexpected end of JSON input while parsing near '...-resolve":"^1.11.2" 阅读全文
posted @ 2020-07-17 21:05 Montai 阅读(151) 评论(0) 推荐(0) 编辑
摘要: npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/rschamp/gh-pages.git 阅读全文
posted @ 2020-07-17 21:00 Montai 阅读(2070) 评论(0) 推荐(0) 编辑
摘要: Nodejs开发之七: Vue-Cli脚手架创建项目 阅读全文
posted @ 2020-07-16 15:51 Montai 阅读(1472) 评论(0) 推荐(0) 编辑
摘要: Nodejs开发之六: Readme.MD文件使用 阅读全文
posted @ 2020-07-16 12:01 Montai 阅读(982) 评论(0) 推荐(0) 编辑
摘要: Nodejs开发之五: npm uninstall ,删除不需要的包加载 阅读全文
posted @ 2020-07-16 11:49 Montai 阅读(3127) 评论(0) 推荐(1) 编辑
摘要: Nodejs开发之四: Package依赖关系 npm install 原理 阅读全文
posted @ 2020-07-16 11:37 Montai 阅读(1368) 评论(0) 推荐(0) 编辑
摘要: NodeJs开发之三: package.json和Package_lock.json 阅读全文
posted @ 2020-07-16 11:20 Montai 阅读(309) 评论(0) 推荐(0) 编辑
摘要: nodejs 开发之二 npm install 安装依赖包 阅读全文
posted @ 2020-07-16 11:12 Montai 阅读(6561) 评论(0) 推荐(1) 编辑
摘要: Node开发之一 npm init 初始化, 生成pakeage.json文件 阅读全文
posted @ 2020-07-16 10:50 Montai 阅读(2574) 评论(0) 推荐(0) 编辑
摘要: DeprecationWarning: current URL string parser is deprecated 阅读全文
posted @ 2020-07-16 03:36 Montai 阅读(219) 评论(0) 推荐(0) 编辑
摘要: JavaScript要不要加分号";" 阅读全文
posted @ 2020-07-15 17:02 Montai 阅读(1208) 评论(0) 推荐(0) 编辑
摘要: Nodejs 路径 /, ./, ../, ..// 的区别 阅读全文
posted @ 2020-07-15 16:43 Montai 阅读(1843) 评论(0) 推荐(0) 编辑
摘要: 玩转Vue24个小程序, 包含 v-bind, v-if, v-model绑定, v-on消息处理. 还有input, textarea, checkbox结合使用案例 阅读全文
posted @ 2020-07-07 17:51 Montai 阅读(478) 评论(0) 推荐(0) 编辑
摘要: NodeJs Web服务器 阅读全文
posted @ 2020-07-06 18:40 Montai 阅读(283) 评论(0) 推荐(0) 编辑
摘要: Ajax XMLHttpRequest POST方法传递参数失败了 阅读全文
posted @ 2020-07-05 14:14 Montai 阅读(1408) 评论(0) 推荐(0) 编辑
摘要: 使用python实现的对字典元素访问 阅读全文
posted @ 2020-07-03 23:21 Montai 阅读(725) 评论(0) 推荐(0) 编辑
摘要: beautifaul soup lxml 的方式,获取文本内容 阅读全文
posted @ 2020-07-03 17:46 Montai 阅读(10623) 评论(0) 推荐(0) 编辑
摘要: 如何查看网页中的Ajax请求,如何查看请求 阅读全文
posted @ 2020-07-02 19:03 Montai 阅读(2274) 评论(0) 推荐(0) 编辑
摘要: Java Script断电调试方法,如何单步跟踪 阅读全文
posted @ 2020-07-01 21:37 Montai 阅读(450) 评论(0) 推荐(0) 编辑
摘要: 百度如何发布招聘信息的 阅读全文
posted @ 2020-07-01 11:18 Montai 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 调试JavaScript代码的三种方法,控制台输出信息,alert信息输出,console.log信息输出。 阅读全文
posted @ 2020-07-01 11:10 Montai 阅读(928) 评论(0) 推荐(0) 编辑
摘要: 如何Clone JavaScript对象,介绍了三种方法 阅读全文
posted @ 2020-07-01 08:31 Montai 阅读(2294) 评论(0) 推荐(0) 编辑
摘要: 使用JavaScript,编写的可以进行演示的汉诺塔程序。 阅读全文
posted @ 2020-07-01 07:30 Montai 阅读(1170) 评论(0) 推荐(0) 编辑
摘要: python 实现汉诺塔程序,可以设置不同的塔高 阅读全文
posted @ 2020-06-29 23:38 Montai 阅读(455) 评论(0) 推荐(0) 编辑
摘要: 如何安装scrapy, 以及在安装过程中可能遇到的各种问题的处理方法 阅读全文
posted @ 2020-06-27 06:57 Montai 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 通过一个小程序,演示了JavaScript在HTML文本中的调用顺序。 阅读全文
posted @ 2020-06-21 11:16 Montai 阅读(587) 评论(0) 推荐(0) 编辑
摘要: 使用WebPI,安装MySQL 阅读全文
posted @ 2020-06-19 14:52 Montai 阅读(259) 评论(0) 推荐(0) 编辑
摘要: PHP 编译错误:HTTP错误500.21-错误模块“FastCgiModule”解决办法 阅读全文
posted @ 2020-06-19 13:40 Montai 阅读(1959) 评论(0) 推荐(0) 编辑