如何安装Sugyan-Tensorflow-MNIST?

我想在我的笔记本电脑上实现Sugyan Tensorflow Mnist,这是一个数字识别系统的实现。

我使用的是Ubuntu 16.04 LTS。我已经从requirement.txt安装了所有必需的软件包。

接下来我应该进行哪些步骤?如何使用npm install命令?

当我在终端执行npm install命令后,我得到了以下警告。

 aniruddh@Aspire-5742Z:~/Desktop/tensorflow-mnist-master$ npm install > [email protected] postinstall /home/aniruddh/Desktop/tensorflow-mnist-master > gulp [11:29:47] Using gulpfile ~/Desktop/tensorflow-mnist-master/gulpfile.js [11:29:47] Starting 'build'... [11:29:48] Finished 'build' after 883 ms [11:29:48] Starting 'default'... [11:29:48] Finished 'default' after 27 μs npm WARN [email protected] No repository field. aniruddh@Aspire-5742Z:~/Desktop/tensorflow-mnist-master$gunicorn main:app --log-file=- [2016-12-15 12:34:49 +0530] [6108] [INFO] Starting gunicorn 19.6.0 [2016-12-15 12:34:49 +0530] [6108] [INFO] Listening at: http://127.0.0.1:8000 (6108) [2016-12-15 12:34:49 +0530] [6108] [INFO] Using worker: sync [2016-12-15 12:34:49 +0530] [6111] [INFO] Booting worker with pid: 6111

之后就卡在这里了。

我该如何解决这个问题?


回答:

感谢您对我的仓库的关注。

npm install命令用于生成static/js/main.js。警告信息可以忽略。

如果static/js/main.js已经创建,只需运行gunicorn main:app --log-file=-命令,并在浏览器中访问localhost:8000即可。

Related Posts

使用LSTM在Python中预测未来值

这段代码可以预测指定股票的当前日期之前的值,但不能预测…

如何在gensim的word2vec模型中查找双词组的相似性

我有一个word2vec模型,假设我使用的是googl…

dask_xgboost.predict 可以工作但无法显示 – 数据必须是一维的

我试图使用 XGBoost 创建模型。 看起来我成功地…

ML Tuning – Cross Validation in Spark

我在https://spark.apache.org/…

如何在React JS中使用fetch从REST API获取预测

我正在开发一个应用程序,其中Flask REST AP…

如何分析ML.NET中多类分类预测得分数组?

我在ML.NET中创建了一个多类分类项目。该项目可以对…

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注