Title: ValueError: Only call `sparse_softmax_cross_entropy_with_logits` with named arguments (labels=..., logits=..., ...) · Issue #4 · nejyeah/DeepPicker-python · GitHub
Open Graph Title: ValueError: Only call `sparse_softmax_cross_entropy_with_logits` with named arguments (labels=..., logits=..., ...) · Issue #4 · nejyeah/DeepPicker-python
X Title: ValueError: Only call `sparse_softmax_cross_entropy_with_logits` with named arguments (labels=..., logits=..., ...) · Issue #4 · nejyeah/DeepPicker-python
Description: Hi, whenever I am trying to train my own model which has only three .mrc images using the following query it results in some errors please anyone help me with solution (tfg) C:\Users\admin\Desktop\my deeppicker>python train.py --train_ty...
Open Graph Description: Hi, whenever I am trying to train my own model which has only three .mrc images using the following query it results in some errors please anyone help me with solution (tfg) C:\Users\admin\Desktop\...
X Description: Hi, whenever I am trying to train my own model which has only three .mrc images using the following query it results in some errors please anyone help me with solution (tfg) C:\Users\admin\Desktop\...
Opengraph URL: https://github.com/nejyeah/DeepPicker-python/issues/4
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ValueError: Only call `sparse_softmax_cross_entropy_with_logits` with named arguments (labels=..., logits=..., ...)","articleBody":"Hi, whenever I am trying to train my own model which has only three .mrc images using the following query it results in some errors please anyone help me with solution \r\n\r\n\r\n(tfg) C:\\Users\\admin\\Desktop\\my deeppicker>python train.py --train_type 1 --train_inputDir \"mrc\" --particle_size 50 --mrc_number 3 --particle_number 3 --coordinate_symbol \"_manual_checked\" --model_save_dir \"trained_model\" --model_save_file \"model_demo_type1\"\r\n(0, 64, 64, 1) float64\r\n(0,) int64\r\n(0, 64, 64, 1) float64\r\n(0,) int64\r\nLoad training data successfully!\r\nTraceback (most recent call last):\r\n File \"train.py\", line 176, in \u003cmodule>\r\n main()\r\n File \"train.py\", line 172, in main\r\n train()\r\n File \"train.py\", line 130, in train\r\n deepModel.init_model_graph_train()\r\n File \"C:\\Users\\admin\\Desktop\\my deeppicker\\deepModel.py\", line 160, in init_model_graph_train\r\n self.loss_operation = self.__loss(self.__inference(self.train_data_node,train=True))\r\n File \"C:\\Users\\admin\\Desktop\\my deeppicker\\deepModel.py\", line 91, in __loss\r\n self.train_label_node, name = 'cross_entropy_all')\r\n File \"C:\\Users\\admin\\Anaconda3\\envs\\tfg\\lib\\site-packages\\tensorflow\\python\\ops\\nn_ops.py\", line 2011, in sparse_softmax_cross_entropy_with_logits\r\n labels, logits)\r\n File \"C:\\Users\\admin\\Anaconda3\\envs\\tfg\\lib\\site-packages\\tensorflow\\python\\ops\\nn_ops.py\", line 1759, in _ensure_xent_args\r\n \"named arguments (labels=..., logits=..., ...)\" % name)\r\nValueError: Only call `sparse_softmax_cross_entropy_with_logits` with named arguments (labels=..., logits=..., ...)","author":{"url":"https://github.com/vidyaprashant","@type":"Person","name":"vidyaprashant"},"datePublished":"2019-01-23T12:43:42Z","url":"https://github.com/nejyeah/DeepPicker-python/issues/4"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:1c08bc03-da66-c5df-05ca-4b5bc7493f34 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A6F6:1773CF:B3480E:EBA2F1:6B026A51 |
| html-safe-nonce | 365c3c4d6d641cef521527b3a71d0163c507f76014292d91cdb8652f4e441a4e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkY2OjE3NzNDRjpCMzQ4MEU6RUJBMkYxOjZCMDI2QTUxIiwidmlzaXRvcl9pZCI6IjEwOTQzMjI5MDEwNTU4NTkyODEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2ba2d7906b93ac2b1b7929b10ecc62a036eab2395feab3a7c61978cde1f9dd20 |
| hovercard-subject-tag | issue:402222046 |
| 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/nejyeah/DeepPicker-python/4/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f1fcd31631df22574c130e96e07743ea925bcc7b16766cff3aa5504b087d39d2/nejyeah/DeepPicker-python/issues/4 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f1fcd31631df22574c130e96e07743ea925bcc7b16766cff3aa5504b087d39d2/nejyeah/DeepPicker-python/issues/4 |
| og:image:alt | Hi, whenever I am trying to train my own model which has only three .mrc images using the following query it results in some errors please anyone help me with solution (tfg) C:\Users\admin\Desktop\... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vidyaprashant |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/nejyeah/DeepPicker-python git https://github.com/nejyeah/DeepPicker-python.git |
| octolytics-dimension-user_id | 8085057 |
| octolytics-dimension-user_login | nejyeah |
| octolytics-dimension-repository_id | 61037548 |
| octolytics-dimension-repository_nwo | nejyeah/DeepPicker-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 61037548 |
| octolytics-dimension-repository_network_root_nwo | nejyeah/DeepPicker-python |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width