我想在我的笔记本电脑上实现Sugyan Tensorflow Mnist,.It是一个数字识别系统的实现。
我使用的是ubuntu16.04LTS。我已经从requirement.txt安装了所有的需求。
下一步我应该经过什么步骤?如何使用npm安装?
在终端中执行npm命令后,将收到以下警告。
aniruddh@Aspire-5742Z:~/Desktop/tensorflow-mnist-master$ npm install
> tensorflow-mnist@1.0.0 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 tensorflow-mnist@1.0.0 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在这之后就被困在这里了。
我该怎么纠正呢?
发布于 2016-12-15 06:54:52
谢谢你对我的存储库感兴趣。
npm install是生成static/js/main.js的命令。可以忽略警告消息。
如果已经创建了static/js/main.js,只需运行gunicorn main:app --log-file=-命令并访问浏览器中的localhost:8000。
https://stackoverflow.com/questions/41157493
复制相似问题