为了账号安全,请及时绑定邮箱和手机立即绑定

到底哪出问题了?

main函数运行没报错但是前端就是不显示结果,在regression和convolutional两个程序单独运行正确率也没问题。



E:\anaconda\python.exe C:/Users/hou/PycharmProjects/untitled1/main1.py

E:\anaconda\lib\site-packages\h5py\__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.

  from ._conv import register_converters as _register_converters

2018-09-23 19:21:22.243387: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2

 * Serving Flask app "main1" (lazy loading)

 * Environment: production

   WARNING: Do not use the development server in a production environment.

   Use a production WSGI server instead.

 * Debug mode: on

 * Restarting with stat

E:\anaconda\lib\site-packages\h5py\__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.

  from ._conv import register_converters as _register_converters

2018-09-23 19:21:27.446637: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2

 * Debugger is active!

 * Debugger PIN: 844-859-070

 * Running on http://127.0.0.1:8000/ (Press CTRL+C to quit)


https://img1.sycdn.imooc.com//5ba778350001aee219201020.jpg

正在回答

7 回答

http://img1.sycdn.imooc.com//5d761d740001655d06540271.jpg

http://img1.sycdn.imooc.com//5d761d9d0001da7005420329.jpg

我也是这个原因,http状态显示200是请求成功,但是就是不显示结果。打开F12页面报错了,不知道怎么解决。


0 回复 有任何疑惑可以回复我~
app.run(host='127.0.0.1', port=9000)

这样就可以了

1 回复 有任何疑惑可以回复我~
#1

合山川

还是不行呀
2019-10-06 回复 有任何疑惑可以回复我~
#2

qq_慕侠7435496

用了这个你启动后不手写都有识别率显示
2020-02-18 回复 有任何疑惑可以回复我~

请问,问题解决了吗?同样也是这样,出不来output.

0 回复 有任何疑惑可以回复我~

换ie浏览器完美运行

0 回复 有任何疑惑可以回复我~

我也是一样的问题,你解决了吗

0 回复 有任何疑惑可以回复我~

你好,请问一下可以看一下你的数字识别这些代码吗?



0 回复 有任何疑惑可以回复我~

ctrl + shit + i

问题应该出在js里

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

到底哪出问题了?

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信