Title: 是不是少提交了文件? · Issue #25 · lcdevelop/ChatBotCourse · GitHub
Open Graph Title: 是不是少提交了文件? · Issue #25 · lcdevelop/ChatBotCourse
X Title: 是不是少提交了文件? · Issue #25 · lcdevelop/ChatBotCourse
Description: python demo.py predict Building prefix dict from the default dictionary ... Loading model from cache /tmp/jieba.cache Loading model cost 0.207 seconds. Prefix dict has been built succesfully. 2019-01-14 19:45:31.871135: I tensorflow/core...
Open Graph Description: python demo.py predict Building prefix dict from the default dictionary ... Loading model from cache /tmp/jieba.cache Loading model cost 0.207 seconds. Prefix dict has been built succesfully. 2019-...
X Description: python demo.py predict Building prefix dict from the default dictionary ... Loading model from cache /tmp/jieba.cache Loading model cost 0.207 seconds. Prefix dict has been built succesfully. 2019-...
Opengraph URL: https://github.com/lcdevelop/ChatBotCourse/issues/25
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"是不是少提交了文件?","articleBody":"```bash\r\npython demo.py predict\r\n\r\nBuilding prefix dict from the default dictionary ...\r\nLoading model from cache /tmp/jieba.cache\r\nLoading model cost 0.207 seconds.\r\nPrefix dict has been built succesfully.\r\n2019-01-14 19:45:31.871135: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA\r\nWARNING:tensorflow:From demo.py:136: __init__ (from tensorflow.python.ops.rnn_cell_impl) is deprecated and will be removed in a future version.\r\nInstructions for updating:\r\nThis class is deprecated, please use tf.nn.rnn_cell.LSTMCell, which supports all the feature this cell currently has. Please replace the existing code with tf.nn.rnn_cell.LSTMCell(name='basic_lstm_cell').\r\nTraceback (most recent call last):\r\n File \"demo.py\", line 244, in \u003cmodule\u003e\r\n predict()\r\n File \"demo.py\", line 205, in predict\r\n saver.restore(sess, './model/demo')\r\n File \"/usr/lib/python2.7/site-packages/tensorflow/python/training/saver.py\", line 1536, in restore\r\n if not checkpoint_management.checkpoint_exists(compat.as_text(save_path)):\r\n File \"/usr/lib/python2.7/site-packages/tensorflow/python/training/checkpoint_management.py\", line 364, in checkpoint_exists\r\n if file_io.get_matching_files(pathname):\r\n File \"/usr/lib/python2.7/site-packages/tensorflow/python/lib/io/file_io.py\", line 344, in get_matching_files\r\n compat.as_bytes(single_filename), status)\r\n File \"/usr/lib/python2.7/site-packages/tensorflow/python/framework/errors_impl.py\", line 528, in __exit__\r\n c_api.TF_GetCode(self.status.status))\r\ntensorflow.python.framework.errors_impl.NotFoundError: ./model; No such file or directory\r\n```\r\n\r\n代码段:\r\n\r\n\r\n代码位置: \r\n```bash\r\n# pwd\r\n/home/pzqu/ChatBotCourse/ChatBotCourse/chatbotv5\r\n# ls\r\ndemo.py readme.md samples word_token.py word_token.pyc\r\n```","author":{"url":"https://github.com/minibear2333","@type":"Person","name":"minibear2333"},"datePublished":"2019-01-14T11:46:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/25/ChatBotCourse/issues/25"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a8cfc1b6-3c5f-77cd-e62e-9bd7912dc9e5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ADF8:DD69B:25C25C0:3244750:696EDCE0 |
| html-safe-nonce | 827969bb1aa8fbe79d802a0a615d2f56127ec23d3ce5dc7d45d59dc03ff33c70 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBREY4OkRENjlCOjI1QzI1QzA6MzI0NDc1MDo2OTZFRENFMCIsInZpc2l0b3JfaWQiOiIxNjU0NzQ4NzI3OTQwNjY4NjQwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d8f351055af4511b54890c6e3ef73f162217b8bb811bb7532af206cc86cd6901 |
| hovercard-subject-tag | issue:398853643 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/lcdevelop/ChatBotCourse/25/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e432acee6fc97a08a3d2b092a2ebff47ab56b49b69f40a9ccfc068ba93718e26/lcdevelop/ChatBotCourse/issues/25 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e432acee6fc97a08a3d2b092a2ebff47ab56b49b69f40a9ccfc068ba93718e26/lcdevelop/ChatBotCourse/issues/25 |
| og:image:alt | python demo.py predict Building prefix dict from the default dictionary ... Loading model from cache /tmp/jieba.cache Loading model cost 0.207 seconds. Prefix dict has been built succesfully. 2019-... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | minibear2333 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| turbo-cache-control | no-preview |
| go-import | github.com/lcdevelop/ChatBotCourse git https://github.com/lcdevelop/ChatBotCourse.git |
| octolytics-dimension-user_id | 6023463 |
| octolytics-dimension-user_login | lcdevelop |
| octolytics-dimension-repository_id | 61763248 |
| octolytics-dimension-repository_nwo | lcdevelop/ChatBotCourse |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 61763248 |
| octolytics-dimension-repository_network_root_nwo | lcdevelop/ChatBotCourse |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width