Title: model.onnx file is not creating · Issue #64 · pythonlessons/mltu · GitHub
Open Graph Title: model.onnx file is not creating · Issue #64 · pythonlessons/mltu
X Title: model.onnx file is not creating · Issue #64 · pythonlessons/mltu
Description: Hello, I ran your code and it worked and created a model for me, but only in the h5 format, the model is not created in the onnx format. Apparently, I have a weak video card, it does not support calculations... This is what happened at t...
Open Graph Description: Hello, I ran your code and it worked and created a model for me, but only in the h5 format, the model is not created in the onnx format. Apparently, I have a weak video card, it does not support ca...
X Description: Hello, I ran your code and it worked and created a model for me, but only in the h5 format, the model is not created in the onnx format. Apparently, I have a weak video card, it does not support ca...
Opengraph URL: https://github.com/pythonlessons/mltu/issues/64
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"model.onnx file is not creating","articleBody":"Hello,\n\nI ran your code and it worked and created a model for me, but only in the h5 format, the model is not created in the onnx format. Apparently, I have a weak video card, it does not support calculations... This is what happened at the end of training the model:\n2025-01-31 18:26:02.160816: F tensorflow/stream_executor/cuda/cuda_driver.cc:345] Check failed: CUDA_SUCCESS == cuDevicePrimaryCtxGetState(device, &former_primary_context_flags, &former_primary_context_is_active) (0 vs. 303)\n\nBut when I tried to check the model, I ran the file, an error occurred:\n(venv) G:\\testPyton>python inferenceModel.py\nTraceback (most recent call last):\n File \"G:\\testPyton\\inferenceModel.py\", line 31, in \u003cmodule>\n model = ImageToWordModel(model_path=configs.model_path, char_list=configs.vocab)\n File \"G:\\testPyton\\inferenceModel.py\", line 10, in __init__\n super().__init__(*args, **kwargs)\n File \"G:\\testPyton\\venv\\lib\\site-packages\\mltu\\inferenceModel.py\", line 51, in __init__\n raise Exception(f\"Model path ({self.model_path}) does not exist\")\nException: Model path (Models/02_captcha_to_text/202501311820\\model.onnx) does not exist\nPlease tell me how to run the model in h5 format? Otherwise I can’t do anything with it, neither check nor use it...\ntensorflow 2.10.0\nmltu 1.2.5\nonnx 1.17.0\n\n\n\n","author":{"url":"https://github.com/Igor5005","@type":"Person","name":"Igor5005"},"datePublished":"2025-01-31T16:32:23Z","url":"https://github.com/pythonlessons/mltu/issues/64"}
| 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:46ea21c1-a477-b8e4-ab81-ba602612c61a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ADCA:1525E:51D81A:730EC2:6B0415F5 |
| html-safe-nonce | dd394152b291cd8105041ee9d73de4ede25bb815915be291830d397d4d088ab7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRENBOjE1MjVFOjUxRDgxQTo3MzBFQzI6NkIwNDE1RjUiLCJ2aXNpdG9yX2lkIjoiNDU4NDgwMjQ4NDE4MjMyNDcyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d8486077f54a7a8a5304c8f97725a2460dfe0841cdc986f55b603b389ee22639 |
| hovercard-subject-tag | issue:2823944108 |
| 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/pythonlessons/mltu/64/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c21b37e2f8af0b11e885336adffe2402bd4c50edbfffbe1432ff1e9ed05b6cd9/pythonlessons/mltu/issues/64 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c21b37e2f8af0b11e885336adffe2402bd4c50edbfffbe1432ff1e9ed05b6cd9/pythonlessons/mltu/issues/64 |
| og:image:alt | Hello, I ran your code and it worked and created a model for me, but only in the h5 format, the model is not created in the onnx format. Apparently, I have a weak video card, it does not support ca... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Igor5005 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/pythonlessons/mltu git https://github.com/pythonlessons/mltu.git |
| octolytics-dimension-user_id | 43852392 |
| octolytics-dimension-user_login | pythonlessons |
| octolytics-dimension-repository_id | 572996960 |
| octolytics-dimension-repository_nwo | pythonlessons/mltu |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 572996960 |
| octolytics-dimension-repository_network_root_nwo | pythonlessons/mltu |
| 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:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width