Title: cv2 error · Issue #57 · pythonlessons/mltu · GitHub
Open Graph Title: cv2 error · Issue #57 · pythonlessons/mltu
X Title: cv2 error · Issue #57 · pythonlessons/mltu
Description: this is the error i am getting while running the train.py script can you help me where exactly i am going wrong Traceback (most recent call last): File "E:\ML\ml_projects\project_folder\icpr\img_to_word\train.py", line 129, in model.fit(...
Open Graph Description: this is the error i am getting while running the train.py script can you help me where exactly i am going wrong Traceback (most recent call last): File "E:\ML\ml_projects\project_folder\icpr\img_to...
X Description: this is the error i am getting while running the train.py script can you help me where exactly i am going wrong Traceback (most recent call last): File "E:\ML\ml_projects\project_folder\icpr\i...
Opengraph URL: https://github.com/pythonlessons/mltu/issues/57
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"cv2 error ","articleBody":"this is the error i am getting while running the train.py script can you help me where exactly i am going wrong\r\nTraceback (most recent call last):\r\n File \"E:\\ML\\ml_projects\\project_folder\\icpr\\img_to_word\\train.py\", line 129, in \u003cmodule\u003e\r\n model.fit(\r\n File \"E:\\ML\\envs\\python3\\lib\\site-packages\\keras\\utils\\traceback_utils.py\", line 70, in error_handler\r\n raise e.with_traceback(filtered_tb) from None\r\n File \"E:\\ML\\envs\\python3\\lib\\site-packages\\mltu\\dataProvider.py\", line 142, in __getitem__\r\n data, annotation = preprocessor(data, annotation)\r\n File \"E:\\ML\\envs\\python3\\lib\\site-packages\\mltu\\preprocessors.py\", line 9, in __call__\r\n return cv2.imread(image_path, self._method), label\r\ncv2.error: OpenCV(4.10.0) :-1: error: (-5:Bad argument) in function 'imread'\r\n\u003e Overload resolution failed:\r\n\u003e - Argument 'flags' is required to be an integer\r\n\u003e - dst is not a numpy array, neither a scalar\r\n\u003e - Expected Ptr\u003ccv::UMat\u003e for argument 'dst'","author":{"url":"https://github.com/sachin7695","@type":"Person","name":"sachin7695"},"datePublished":"2024-06-25T14:34:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/57/mltu/issues/57"}
| 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:2b1a9d93-5148-2f9e-2882-2ddfdc4ccead |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 83B8:3BF558:1B3105:24EC09:6980F228 |
| html-safe-nonce | 038b46269fa67609fd972cbab3359b5fcca02c728ca99da2ebd72b9ae0043650 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0I4OjNCRjU1ODoxQjMxMDU6MjRFQzA5OjY5ODBGMjI4IiwidmlzaXRvcl9pZCI6Ijc5NDQzMDIwNDAyNDk4NTY1NTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 936bad5942c9826791723f5e6ca97a2d87728a52c2e1fd08edde40ab0d2284d8 |
| hovercard-subject-tag | issue:2372866818 |
| 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/57/issue_layout |
| twitter:image | https://opengraph.githubassets.com/576d3bd90d829ea66b730bc09a7fa98f8e2b3e85876c29abf087c1778d706e1e/pythonlessons/mltu/issues/57 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/576d3bd90d829ea66b730bc09a7fa98f8e2b3e85876c29abf087c1778d706e1e/pythonlessons/mltu/issues/57 |
| og:image:alt | this is the error i am getting while running the train.py script can you help me where exactly i am going wrong Traceback (most recent call last): File "E:\ML\ml_projects\project_folder\icpr\img_to... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sachin7695 |
| hostname | github.com |
| expected-hostname | github.com |
| None | cdeab60e665cf158f971f0b4329c9f8b2796cdbc03304a1f04aaa07e81bd107f |
| 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 | abc7f12a1279d78087ac998532a2819581bc3ceb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width