Anurag1734/cuda-error-resolution-analysis
07
1[2 {3 "post_stream": {4 "posts": [5 {6 "id": 453738,7 "name": null,8 "username": "Jonny",9 "avatar_template": "/letter_avatar_proxy/v4/letter/j/47e85d/{size}.png",10 "created_at": "2024-09-05T13:01:06.863Z",11 "cooked": "<p>Torch version 2.4.0+cu124 is installted,<br>\nThe nvidia driver 550.90.07 is also installed.<br>\nnvcc (release 12.4, V12.4.131) is installed.</p>\n<p>But torch.cuda.is_available() returns False.</p>\n<p><div class=\"lightbox-wrapper\"><a class=\"lightbox\" href=\"https://discuss.pytorch.org/uploads/default/original/3X/9/0/90cc135b4a8861cc55ab4dfbc3be7b4f997beb52.png\" data-download-href=\"https://discuss.pytorch.org/uploads/default/90cc135b4a8861cc55ab4dfbc3be7b4f997beb52\" title=\"image\"><img src=\"https://discuss.pytorch.org/uploads/default/original/3X/9/0/90cc135b4a8861cc55ab4dfbc3be7b4f997beb52.png\" alt=\"image\" data-base62-sha1=\"kEVZ78bA1QY9tMJfQA5SHJBQe5k\" width=\"690\" height=\"434\" data-dominant-color=\"151515\"><div class=\"meta\"><svg class=\"fa d-icon d-icon-far-image svg-icon\" aria-hidden=\"true\"><use href=\"#far-image\"></use></svg><span class=\"filename\">image</span><span class=\"informations\">730×460 9.82 KB</span><svg class=\"fa d-icon d-icon-discourse-expand svg-icon\" aria-hidden=\"true\"><use href=\"#discourse-expand\"></use></svg></div></a></div></p>\n<p>Does someone has an idea to fix this issue.<br>\nWhy does torch not work on Red Hat Enterprise Linux 8.10 (Ootpa), Linux 4.18.0-553.8.1.el8_10.x86_64 with CUDA?</p>",12 "post_number": 1,13 "post_type": 1,14 "posts_count": 2,15 "updated_at": "2024-09-05T13:01:06.863Z",16 "reply_count": 0,17 "reply_to_post_number": null,18 "quote_count": 0,19 "incoming_link_count": 81,20 "reads": 5,21 "readers_count": 4,22 "score": 406.0,23 "yours": false,24 "topic_id": 209151,25 "topic_slug": "redhat-cuda-12-4-torch-gpu-not-avaiable",26 "display_username": null,27 "primary_group_name": null,28 "flair_name": null,29 "flair_url": null,30 "flair_bg_color": null,31 "flair_color": null,32 "flair_group_id": null,33 "badges_granted": [],34 "version": 1,35 "can_edit": false,36 "can_delete": false,37 "can_recover": false,38 "can_see_hidden_post": false,39 "can_wiki": false,40 "read": true,41 "user_title": null,42 "bookmarked": false,43 "actions_summary": [],44 "moderator": false,45 "admin": false,46 "staff": false,47 "user_id": 78704,48 "hidden": false,49 "trust_level": 0,50 "deleted_at": null,51 "user_deleted": false,52 "edit_reason": null,53 "can_view_edit_history": true,54 "wiki": false,55 "post_url": "/t/redhat-cuda-12-4-torch-gpu-not-avaiable/209151/1",56 "can_accept_answer": false,57 "can_unaccept_answer": false,58 "accepted_answer": false,59 "topic_accepted_answer": null,60 "can_vote": false61 },62 {63 "id": 453744,64 "name": "",65 "username": "ptrblck",66 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",67 "created_at": "2024-09-05T14:04:23.187Z",68 "cooked": "<p>You’ve enabled <code>MIG</code> so make sure the right MIG setup is used and the desired slice is passed to <code>CUDA_VISIBLE_DEVICES</code>.</p>",69 "post_number": 2,70 "post_type": 1,71 "posts_count": 2,72 "updated_at": "2024-09-05T14:04:23.187Z",73 "reply_count": 0,74 "reply_to_post_number": null,75 "quote_count": 0,76 "incoming_link_count": 3,77 "reads": 4,78 "readers_count": 3,79 "score": 15.8,80 "yours": false,81 "topic_id": 209151,82 "topic_slug": "redhat-cuda-12-4-torch-gpu-not-avaiable",83 "display_username": "",84 "primary_group_name": null,85 "flair_name": null,86 "flair_url": null,87 "flair_bg_color": null,88 "flair_color": null,89 "flair_group_id": null,90 "badges_granted": [],91 "version": 1,92 "can_edit": false,93 "can_delete": false,94 "can_recover": false,95 "can_see_hidden_post": false,96 "can_wiki": false,97 "read": true,98 "user_title": "",99 "bookmarked": false,100 "actions_summary": [],101 "moderator": true,102 "admin": true,103 "staff": true,104 "user_id": 3534,105 "hidden": false,106 "trust_level": 2,107 "deleted_at": null,108 "user_deleted": false,109 "edit_reason": null,110 "can_view_edit_history": true,111 "wiki": false,112 "post_url": "/t/redhat-cuda-12-4-torch-gpu-not-avaiable/209151/2",113 "can_accept_answer": false,114 "can_unaccept_answer": false,115 "accepted_answer": false,116 "topic_accepted_answer": null117 }118 ],119 "stream": [120 453738,121 453744122 ]123 },124 "timeline_lookup": [125 [126 1,127 415128 ]129 ],130 "suggested_topics": [131 {132 "fancy_title": "GAN: RuntimeError: mat1 and mat2 shapes cannot be multiplied (32x189 and 10x512)",133 "id": 213088,134 "title": "GAN: RuntimeError: mat1 and mat2 shapes cannot be multiplied (32x189 and 10x512)",135 "slug": "gan-runtimeerror-mat1-and-mat2-shapes-cannot-be-multiplied-32x189-and-10x512",136 "posts_count": 1,137 "reply_count": 0,138 "highest_post_number": 1,139 "image_url": null,140 "created_at": "2024-11-17T21:59:16.402Z",141 "last_posted_at": "2024-11-17T21:59:16.460Z",142 "bumped": true,143 "bumped_at": "2024-11-17T22:01:14.585Z",144 "archetype": "regular",145 "unseen": false,146 "pinned": false,147 "unpinned": null,148 "visible": true,149 "closed": false,150 "archived": false,151 "bookmarked": null,152 "liked": null,153 "tags_descriptions": {},154 "like_count": 0,155 "views": 22,156 "category_id": 1,157 "featured_link": null,158 "has_accepted_answer": false,159 "posters": [160 {161 "extras": "latest single",162 "description": "Original Poster, Most Recent Poster",163 "user": {164 "id": 80971,165 "username": "Soham_Lotlikar",166 "name": "Soham Lotlikar",167 "avatar_template": "/user_avatar/discuss.pytorch.org/soham_lotlikar/{size}/73112_2.png",168 "trust_level": 0169 }170 }171 ]172 },173 {174 "fancy_title": "Infer FM synth register settings from freq. spectrum?",175 "id": 213011,176 "title": "Infer FM synth register settings from freq. spectrum?",177 "slug": "infer-fm-synth-register-settings-from-freq-spectrum",178 "posts_count": 1,179 "reply_count": 0,180 "highest_post_number": 1,181 "image_url": null,182 "created_at": "2024-11-15T14:22:22.183Z",183 "last_posted_at": "2024-11-15T14:22:22.264Z",184 "bumped": true,185 "bumped_at": "2024-11-16T06:48:06.788Z",186 "archetype": "regular",187 "unseen": false,188 "pinned": false,189 "unpinned": null,190 "visible": true,191 "closed": false,192 "archived": false,193 "bookmarked": null,194 "liked": null,195 "tags_descriptions": {},196 "like_count": 0,197 "views": 104,198 "category_id": 1,199 "featured_link": null,200 "has_accepted_answer": false,201 "posters": [202 {203 "extras": "latest single",204 "description": "Original Poster, Most Recent Poster",205 "user": {206 "id": 80934,207 "username": "Craig_Iannello",208 "name": "Craig Iannello",209 "avatar_template": "/user_avatar/discuss.pytorch.org/craig_iannello/{size}/74015_2.png",210 "trust_level": 0211 }212 }213 ]214 },215 {216 "fancy_title": "Reduce memory usage during iterative algorithm",217 "id": 215646,218 "title": "Reduce memory usage during iterative algorithm",219 "slug": "reduce-memory-usage-during-iterative-algorithm",220 "posts_count": 2,221 "reply_count": 0,222 "highest_post_number": 3,223 "image_url": null,224 "created_at": "2025-01-21T05:40:14.862Z",225 "last_posted_at": "2025-01-22T08:25:39.660Z",226 "bumped": true,227 "bumped_at": "2025-01-22T08:25:39.660Z",228 "archetype": "regular",229 "unseen": false,230 "pinned": false,231 "unpinned": null,232 "visible": true,233 "closed": false,234 "archived": false,235 "bookmarked": null,236 "liked": null,237 "tags_descriptions": {},238 "like_count": 0,239 "views": 149,240 "category_id": 1,241 "featured_link": null,242 "has_accepted_answer": false,243 "posters": [244 {245 "extras": null,246 "description": "Original Poster",247 "user": {248 "id": 72757,249 "username": "sherlock.h",250 "name": "",251 "avatar_template": "/user_avatar/discuss.pytorch.org/sherlock.h/{size}/62377_2.png",252 "trust_level": 1253 }254 },255 {256 "extras": "latest",257 "description": "Most Recent Poster",258 "user": {259 "id": 68149,260 "username": "Soumya_Kundu",261 "name": "Soumya Snigdha Kundu",262 "avatar_template": "/user_avatar/discuss.pytorch.org/soumya_kundu/{size}/71716_2.png",263 "trust_level": 2264 }265 }266 ]267 },268 {269 "fancy_title": "Pytorch and Cuda version compatibility",270 "id": 216242,271 "title": "Pytorch and Cuda version compatibility",272 "slug": "pytorch-and-cuda-version-compatibility",273 "posts_count": 4,274 "reply_count": 2,275 "highest_post_number": 4,276 "image_url": null,277 "created_at": "2025-02-04T21:43:58.736Z",278 "last_posted_at": "2025-02-06T01:58:24.857Z",279 "bumped": true,280 "bumped_at": "2025-02-06T01:58:24.857Z",281 "archetype": "regular",282 "unseen": false,283 "pinned": false,284 "unpinned": null,285 "visible": true,286 "closed": false,287 "archived": false,288 "bookmarked": null,289 "liked": null,290 "tags_descriptions": {},291 "like_count": 0,292 "views": 814,293 "category_id": 1,294 "featured_link": null,295 "has_accepted_answer": false,296 "posters": [297 {298 "extras": null,299 "description": "Original Poster",300 "user": {301 "id": 82490,302 "username": "pooja-kabra",303 "name": "Pooja Kabra",304 "avatar_template": "/user_avatar/discuss.pytorch.org/pooja-kabra/{size}/75471_2.png",305 "trust_level": 1306 }307 },308 {309 "extras": "latest",310 "description": "Most Recent Poster",311 "user": {312 "id": 3534,313 "username": "ptrblck",314 "name": "",315 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",316 "admin": true,317 "moderator": true,318 "trust_level": 2319 }320 }321 ]322 },323 {324 "fancy_title": "Why can the attribute “device” not be resolved within the namespace of torch?",325 "id": 216720,326 "title": "Why can the attribute \"device\" not be resolved within the namespace of torch?",327 "slug": "why-can-the-attribute-device-not-be-resolved-within-the-namespace-of-torch",328 "posts_count": 5,329 "reply_count": 2,330 "highest_post_number": 5,331 "image_url": null,332 "created_at": "2025-02-15T16:48:11.651Z",333 "last_posted_at": "2025-02-16T15:14:44.858Z",334 "bumped": true,335 "bumped_at": "2025-02-16T15:14:44.858Z",336 "archetype": "regular",337 "unseen": false,338 "pinned": false,339 "unpinned": null,340 "visible": true,341 "closed": false,342 "archived": false,343 "bookmarked": null,344 "liked": null,345 "tags_descriptions": {},346 "like_count": 0,347 "views": 1682,348 "category_id": 1,349 "featured_link": null,350 "has_accepted_answer": false,351 "posters": [352 {353 "extras": null,354 "description": "Original Poster",355 "user": {356 "id": 82705,357 "username": "make1234",358 "name": "",359 "avatar_template": "/user_avatar/discuss.pytorch.org/make1234/{size}/74826_2.png",360 "trust_level": 1361 }362 },363 {364 "extras": null,365 "description": "Frequent Poster",366 "user": {367 "id": 82720,368 "username": "classic-21",369 "name": "Priyanshu Singh",370 "avatar_template": "/user_avatar/discuss.pytorch.org/classic-21/{size}/75688_2.png",371 "trust_level": 0372 }373 },374 {375 "extras": "latest",376 "description": "Most Recent Poster",377 "user": {378 "id": 3534,379 "username": "ptrblck",380 "name": "",381 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",382 "admin": true,383 "moderator": true,384 "trust_level": 2385 }386 }387 ]388 }389 ],390 "tags_descriptions": {},391 "fancy_title": "RedHat, CUDA 12.4 - torch GPU not avaiable",392 "id": 209151,393 "title": "RedHat, CUDA 12.4 - torch GPU not avaiable",394 "posts_count": 2,395 "created_at": "2024-09-05T13:01:06.808Z",396 "views": 214,397 "reply_count": 0,398 "like_count": 0,399 "last_posted_at": "2024-09-05T14:04:23.187Z",400 "visible": true,401 "closed": false,402 "archived": false,403 "has_summary": false,404 "archetype": "regular",405 "slug": "redhat-cuda-12-4-torch-gpu-not-avaiable",406 "category_id": 1,407 "word_count": 91,408 "deleted_at": null,409 "user_id": 78704,410 "featured_link": null,411 "pinned_globally": false,412 "pinned_at": null,413 "pinned_until": null,414 "image_url": "https://discuss.pytorch.org/uploads/default/original/3X/9/0/90cc135b4a8861cc55ab4dfbc3be7b4f997beb52.png",415 "slow_mode_seconds": 0,416 "draft": null,417 "draft_key": "topic_209151",418 "draft_sequence": null,419 "unpinned": null,420 "pinned": false,421 "current_post_number": 1,422 "highest_post_number": 2,423 "deleted_by": null,424 "actions_summary": [425 {426 "id": 4,427 "count": 0,428 "hidden": false,429 "can_act": false430 },431 {432 "id": 8,433 "count": 0,434 "hidden": false,435 "can_act": false436 },437 {438 "id": 10,439 "count": 0,440 "hidden": false,441 "can_act": false442 },443 {444 "id": 7,445 "count": 0,446 "hidden": false,447 "can_act": false448 }449 ],450 "chunk_size": 20,451 "bookmarked": false,452 "topic_timer": null,453 "message_bus_last_id": 0,454 "participant_count": 2,455 "show_read_indicator": false,456 "thumbnails": [457 {458 "max_width": null,459 "max_height": null,460 "width": 730,461 "height": 460,462 "url": "https://discuss.pytorch.org/uploads/default/original/3X/9/0/90cc135b4a8861cc55ab4dfbc3be7b4f997beb52.png"463 }464 ],465 "slow_mode_enabled_until": null,466 "can_vote": false,467 "vote_count": 0,468 "user_voted": false,469 "discourse_zendesk_plugin_zendesk_id": null,470 "discourse_zendesk_plugin_zendesk_url": "https://your-url.zendesk.com/agent/tickets/",471 "details": {472 "can_edit": false,473 "notification_level": 1,474 "participants": [475 {476 "id": 3534,477 "username": "ptrblck",478 "name": "",479 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",480 "post_count": 1,481 "primary_group_name": null,482 "flair_name": null,483 "flair_url": null,484 "flair_color": null,485 "flair_bg_color": null,486 "flair_group_id": null,487 "admin": true,488 "moderator": true,489 "trust_level": 2490 },491 {492 "id": 78704,493 "username": "Jonny",494 "name": null,495 "avatar_template": "/letter_avatar_proxy/v4/letter/j/47e85d/{size}.png",496 "post_count": 1,497 "primary_group_name": null,498 "flair_name": null,499 "flair_url": null,500 "flair_color": null,501 "flair_bg_color": null,502 "flair_group_id": null,503 "trust_level": 0504 }505 ],506 "created_by": {507 "id": 78704,508 "username": "Jonny",509 "name": null,510 "avatar_template": "/letter_avatar_proxy/v4/letter/j/47e85d/{size}.png"511 },512 "last_poster": {513 "id": 3534,514 "username": "ptrblck",515 "name": "",516 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png"517 }518 },519 "bookmarks": []520 },521 {522 "post_stream": {523 "posts": [524 {525 "id": 107811,526 "name": "Zach C",527 "username": "zachc",528 "avatar_template": "/letter_avatar_proxy/v4/letter/z/e19b73/{size}.png",529 "created_at": "2019-04-25T00:38:11.262Z",530 "cooked": "<p>Hello,</p>\n<p>PyTorch is great!</p>\n<p>I’m not an image/vision expert and I’m looking for a function analogous to <a href=\"https://www.tensorflow.org/versions/r1.9/api_docs/python/tf/contrib/image/sparse_image_warp?hl=en\" rel=\"nofollow noopener\">sparse_image_warp</a> from TensorFlow, but in Pytorch. Does anyone know if it it exists?</p>\n<p>Closest candidates I’ve found that don’t quite match:</p>\n<ul>\n<li><a href=\"https://torchgeometry.readthedocs.io/en/latest/_modules/torchgeometry/core/homography_warper.html\" rel=\"nofollow noopener\">Homography Warper</a></li>\n</ul>\n<p>Thanks a lot!</p>",531 "post_number": 1,532 "post_type": 1,533 "posts_count": 9,534 "updated_at": "2019-04-25T01:21:21.440Z",535 "reply_count": 0,536 "reply_to_post_number": null,537 "quote_count": 0,538 "incoming_link_count": 1636,539 "reads": 55,540 "readers_count": 54,541 "score": 8208.0,542 "yours": false,543 "topic_id": 43514,544 "topic_slug": "does-sparse-image-warp-from-tf-exist-in-pytorch",545 "display_username": "Zach C",546 "primary_group_name": null,547 "flair_name": null,548 "flair_url": null,549 "flair_bg_color": null,550 "flair_color": null,551 "flair_group_id": null,552 "badges_granted": [],553 "version": 2,554 "can_edit": false,555 "can_delete": false,556 "can_recover": false,557 "can_see_hidden_post": false,558 "can_wiki": false,559 "link_counts": [560 {561 "url": "https://torchgeometry.readthedocs.io/en/latest/_modules/torchgeometry/core/homography_warper.html",562 "internal": false,563 "reflection": false,564 "title": "torchgeometry.core.homography_warper — PyTorch Geometry documentation",565 "clicks": 43566 },567 {568 "url": "https://www.tensorflow.org/versions/r1.9/api_docs/python/tf/contrib/image/sparse_image_warp?hl=en",569 "internal": false,570 "reflection": false,571 "clicks": 37572 }573 ],574 "read": true,575 "user_title": null,576 "bookmarked": false,577 "actions_summary": [578 {579 "id": 2,580 "count": 1581 }582 ],583 "moderator": false,584 "admin": false,585 "staff": false,586 "user_id": 18007,587 "hidden": false,588 "trust_level": 1,589 "deleted_at": null,590 "user_deleted": false,591 "edit_reason": null,592 "can_view_edit_history": true,593 "wiki": false,594 "post_url": "/t/does-sparse-image-warp-from-tf-exist-in-pytorch/43514/1",595 "can_accept_answer": false,596 "can_unaccept_answer": false,597 "accepted_answer": false,598 "topic_accepted_answer": null,599 "can_vote": false600 },601 {602 "id": 108632,603 "name": "Liam Schoneveld",604 "username": "liam.schoneveld",605 "avatar_template": "/user_avatar/discuss.pytorch.org/liam.schoneveld/{size}/11574_2.png",606 "created_at": "2019-04-29T11:41:48.189Z",607 "cooked": "<p>Someone appears to have implemented it here:</p>\n<aside class=\"onebox githubblob\">\n <header class=\"source\">\n <a href=\"https://github.com/zcaceres/spec_augment/blob/77335b74efc453c6bcd589357e8365ddcb7688aa/exp/nb_SparseImageWarp.py\" target=\"_blank\" rel=\"nofollow noopener\">github.com</a>\n </header>\n <article class=\"onebox-body\">\n <h4><a href=\"https://github.com/zcaceres/spec_augment/blob/77335b74efc453c6bcd589357e8365ddcb7688aa/exp/nb_SparseImageWarp.py\" target=\"_blank\" rel=\"nofollow noopener\">zcaceres/spec_augment/blob/77335b74efc453c6bcd589357e8365ddcb7688aa/exp/nb_SparseImageWarp.py</a></h4>\n<pre><code class=\"lang-py\">\n#################################################\n### THIS FILE WAS AUTOGENERATED! DO NOT EDIT! ###\n#################################################\n# file to edit: dev_nb/SparseImageWarp.ipynb\n\nimport torch\nimport numpy as np\n\ndef sparse_image_warp(img_tensor,\n source_control_point_locations,\n dest_control_point_locations,\n interpolation_order=2,\n regularization_weight=0.0,\n num_boundaries_points=0):\n control_point_flows = (dest_control_point_locations - source_control_point_locations)\n\n# clamp_boundaries = num_boundary_points > 0\n# boundary_points_per_edge = num_boundary_points - 1\n batch_size, image_height, image_width = img_tensor.shape\n</code></pre>\n\n This file has been truncated. <a href=\"https://github.com/zcaceres/spec_augment/blob/77335b74efc453c6bcd589357e8365ddcb7688aa/exp/nb_SparseImageWarp.py\" target=\"_blank\" rel=\"nofollow noopener\">show original</a>\n\n </article>\n <div class=\"onebox-metadata\">\n \n \n </div>\n <div style=\"clear: both\"></div>\n</aside>\n\n<p>See also:<br>\n<aside class=\"onebox githubblob\">\n <header class=\"source\">\n <a href=\"https://github.com/zcaceres/spec_augment/blob/77335b74efc453c6bcd589357e8365ddcb7688aa/SparseImageWarp.ipynb\" target=\"_blank\" rel=\"nofollow noopener\">github.com</a>\n </header>\n <article class=\"onebox-body\">\n <h4><a href=\"https://github.com/zcaceres/spec_augment/blob/77335b74efc453c6bcd589357e8365ddcb7688aa/SparseImageWarp.ipynb\" target=\"_blank\" rel=\"nofollow noopener\">zcaceres/spec_augment/blob/77335b74efc453c6bcd589357e8365ddcb7688aa/SparseImageWarp.ipynb</a></h4>\n<pre><code class=\"lang-ipynb\">{\n \"cells\": [\n {\n \"cell_type\": \"markdown\",\n \"metadata\": {},\n \"source\": [\n \"# TensorFlow's `sparse_image_warp` in Pytorch\"\n ]\n },\n {\n \"cell_type\": \"code\",\n \"execution_count\": 111,\n \"metadata\": {},\n \"outputs\": [],\n \"source\": [\n \"# first call `%store spectro` in the other notebook to save spectro value here\\n\",\n \"%store -r spectro\"\n ]\n },\n {\n</code></pre>\n\n This file has been truncated. <a href=\"https://github.com/zcaceres/spec_augment/blob/77335b74efc453c6bcd589357e8365ddcb7688aa/SparseImageWarp.ipynb\" target=\"_blank\" rel=\"nofollow noopener\">show original</a>\n\n </article>\n <div class=\"onebox-metadata\">\n \n \n </div>\n <div style=\"clear: both\"></div>\n</aside>\n</p>",608 "post_number": 2,609 "post_type": 1,610 "posts_count": 9,611 "updated_at": "2019-04-29T11:41:48.189Z",612 "reply_count": 0,613 "reply_to_post_number": null,614 "quote_count": 0,615 "incoming_link_count": 35,616 "reads": 54,617 "readers_count": 53,618 "score": 200.8,619 "yours": false,620 "topic_id": 43514,621 "topic_slug": "does-sparse-image-warp-from-tf-exist-in-pytorch",622 "display_username": "Liam Schoneveld",623 "primary_group_name": null,624 "flair_name": null,625 "flair_url": null,626 "flair_bg_color": null,627 "flair_color": null,628 "flair_group_id": null,629 "badges_granted": [],630 "version": 1,631 "can_edit": false,632 "can_delete": false,633 "can_recover": false,634 "can_see_hidden_post": false,635 "can_wiki": false,636 "link_counts": [637 {638 "url": "https://github.com/zcaceres/spec_augment/blob/77335b74efc453c6bcd589357e8365ddcb7688aa/exp/nb_SparseImageWarp.py",639 "internal": false,640 "reflection": false,641 "title": "spec_augment/nb_SparseImageWarp.py at 77335b74efc453c6bcd589357e8365ddcb7688aa · zcaceres/spec_augment · GitHub",642 "clicks": 241643 },644 {645 "url": "https://github.com/zcaceres/spec_augment/blob/77335b74efc453c6bcd589357e8365ddcb7688aa/SparseImageWarp.ipynb",646 "internal": false,647 "reflection": false,648 "title": "spec_augment/SparseImageWarp.ipynb at 77335b74efc453c6bcd589357e8365ddcb7688aa · zcaceres/spec_augment · GitHub",649 "clicks": 52650 }651 ],652 "read": true,653 "user_title": null,654 "bookmarked": false,655 "actions_summary": [656 {657 "id": 2,658 "count": 1659 }660 ],661 "moderator": false,662 "admin": false,663 "staff": false,664 "user_id": 18170,665 "hidden": false,666 "trust_level": 1,667 "deleted_at": null,668 "user_deleted": false,669 "edit_reason": null,670 "can_view_edit_history": true,671 "wiki": false,672 "post_url": "/t/does-sparse-image-warp-from-tf-exist-in-pytorch/43514/2",673 "can_accept_answer": false,674 "can_unaccept_answer": false,675 "accepted_answer": false,676 "topic_accepted_answer": null677 },678 {679 "id": 108681,680 "name": "Zach C",681 "username": "zachc",682 "avatar_template": "/letter_avatar_proxy/v4/letter/z/e19b73/{size}.png",683 "created_at": "2019-04-29T15:09:32.601Z",684 "cooked": "<p>Thanks, that’s actually me <img src=\"/images/emoji/apple/slight_smile.png?v=9\" title=\":slight_smile:\" class=\"emoji\" alt=\":slight_smile:\"></p>",685 "post_number": 3,686 "post_type": 1,687 "posts_count": 9,688 "updated_at": "2019-04-29T15:09:32.601Z",689 "reply_count": 0,690 "reply_to_post_number": null,691 "quote_count": 0,692 "incoming_link_count": 6,693 "reads": 49,694 "readers_count": 48,695 "score": 39.8,696 "yours": false,697 "topic_id": 43514,698 "topic_slug": "does-sparse-image-warp-from-tf-exist-in-pytorch",699 "display_username": "Zach C",700 "primary_group_name": null,701 "flair_name": null,702 "flair_url": null,703 "flair_bg_color": null,704 "flair_color": null,705 "flair_group_id": null,706 "badges_granted": [],707 "version": 1,708 "can_edit": false,709 "can_delete": false,710 "can_recover": false,711 "can_see_hidden_post": false,712 "can_wiki": false,713 "read": true,714 "user_title": null,715 "bookmarked": false,716 "actions_summary": [],717 "moderator": false,718 "admin": false,719 "staff": false,720 "user_id": 18007,721 "hidden": false,722 "trust_level": 1,723 "deleted_at": null,724 "user_deleted": false,725 "edit_reason": null,726 "can_view_edit_history": true,727 "wiki": false,728 "post_url": "/t/does-sparse-image-warp-from-tf-exist-in-pytorch/43514/3",729 "can_accept_answer": false,730 "can_unaccept_answer": false,731 "accepted_answer": false,732 "topic_accepted_answer": null733 },734 {735 "id": 109012,736 "name": "Liam Schoneveld",737 "username": "liam.schoneveld",738 "avatar_template": "/user_avatar/discuss.pytorch.org/liam.schoneveld/{size}/11574_2.png",739 "created_at": "2019-05-01T13:00:26.474Z",740 "cooked": "<p>Aha, well great job and thank you! Have found this spec augmentation stuff to be useful</p>",741 "post_number": 4,742 "post_type": 1,743 "posts_count": 9,744 "updated_at": "2019-05-01T13:00:26.474Z",745 "reply_count": 0,746 "reply_to_post_number": null,747 "quote_count": 0,748 "incoming_link_count": 14,749 "reads": 44,750 "readers_count": 43,751 "score": 93.8,752 "yours": false,753 "topic_id": 43514,754 "topic_slug": "does-sparse-image-warp-from-tf-exist-in-pytorch",755 "display_username": "Liam Schoneveld",756 "primary_group_name": null,757 "flair_name": null,758 "flair_url": null,759 "flair_bg_color": null,760 "flair_color": null,761 "flair_group_id": null,762 "badges_granted": [],763 "version": 1,764 "can_edit": false,765 "can_delete": false,766 "can_recover": false,767 "can_see_hidden_post": false,768 "can_wiki": false,769 "read": true,770 "user_title": null,771 "bookmarked": false,772 "actions_summary": [773 {774 "id": 2,775 "count": 1776 }777 ],778 "moderator": false,779 "admin": false,780 "staff": false,781 "user_id": 18170,782 "hidden": false,783 "trust_level": 1,784 "deleted_at": null,785 "user_deleted": false,786 "edit_reason": null,787 "can_view_edit_history": true,788 "wiki": false,789 "post_url": "/t/does-sparse-image-warp-from-tf-exist-in-pytorch/43514/4",790 "can_accept_answer": false,791 "can_unaccept_answer": false,792 "accepted_answer": false,793 "topic_accepted_answer": null794 },795 {796 "id": 127123,797 "name": "TGLS",798 "username": "taogelose",799 "avatar_template": "/user_avatar/discuss.pytorch.org/taogelose/{size}/14693_2.png",800 "created_at": "2019-08-03T07:32:47.788Z",801 "cooked": "<p>It seems that the code post by <a class=\"mention\" href=\"/u/liam.schoneveld\">@liam.schoneveld</a> can only deal with one channel image, which is used to augment speech data. I am wondering where can I find the code to tackle color image (Maybe I can simply add a dimension in the code?)</p>",802 "post_number": 5,803 "post_type": 1,804 "posts_count": 9,805 "updated_at": "2019-08-03T07:32:47.788Z",806 "reply_count": 0,807 "reply_to_post_number": null,808 "quote_count": 0,809 "incoming_link_count": 37,810 "reads": 38,811 "readers_count": 37,812 "score": 192.6,813 "yours": false,814 "topic_id": 43514,815 "topic_slug": "does-sparse-image-warp-from-tf-exist-in-pytorch",816 "display_username": "TGLS",817 "primary_group_name": null,818 "flair_name": null,819 "flair_url": null,820 "flair_bg_color": null,821 "flair_color": null,822 "flair_group_id": null,823 "badges_granted": [],824 "version": 1,825 "can_edit": false,826 "can_delete": false,827 "can_recover": false,828 "can_see_hidden_post": false,829 "can_wiki": false,830 "read": true,831 "user_title": null,832 "bookmarked": false,833 "actions_summary": [],834 "moderator": false,835 "admin": false,836 "staff": false,837 "user_id": 14725,838 "hidden": false,839 "trust_level": 1,840 "deleted_at": null,841 "user_deleted": false,842 "edit_reason": null,843 "can_view_edit_history": true,844 "wiki": false,845 "post_url": "/t/does-sparse-image-warp-from-tf-exist-in-pytorch/43514/5",846 "can_accept_answer": false,847 "can_unaccept_answer": false,848 "accepted_answer": false,849 "topic_accepted_answer": null850 },851 {852 "id": 129879,853 "name": "",854 "username": "bnehoran",855 "avatar_template": "/user_avatar/discuss.pytorch.org/bnehoran/{size}/14925_2.png",856 "created_at": "2019-08-18T04:53:35.931Z",857 "cooked": "<p>The closest analog in PyTorch is <a href=\"https://pytorch.org/docs/stable/nn.functional.html#grid-sample\" rel=\"nofollow noopener\"><code>torch.nn.functional.grid_sample()</code></a>, but this is actually closer to the <code>dense_image_warp</code> function.</p>\n<p>The conventions for the grid are also slightly different in PyTorch, but you can probably do a conversion to fit your needs.</p>\n<p>I hope this helps!</p>",858 "post_number": 6,859 "post_type": 1,860 "posts_count": 9,861 "updated_at": "2019-08-18T15:34:52.511Z",862 "reply_count": 1,863 "reply_to_post_number": null,864 "quote_count": 0,865 "incoming_link_count": 23,866 "reads": 32,867 "readers_count": 31,868 "score": 141.4,869 "yours": false,870 "topic_id": 43514,871 "topic_slug": "does-sparse-image-warp-from-tf-exist-in-pytorch",872 "display_username": "",873 "primary_group_name": null,874 "flair_name": null,875 "flair_url": null,876 "flair_bg_color": null,877 "flair_color": null,878 "flair_group_id": null,879 "badges_granted": [],880 "version": 3,881 "can_edit": false,882 "can_delete": false,883 "can_recover": false,884 "can_see_hidden_post": false,885 "can_wiki": false,886 "link_counts": [887 {888 "url": "https://pytorch.org/docs/stable/nn.functional.html#grid-sample",889 "internal": false,890 "reflection": false,891 "title": "torch.nn.functional — PyTorch master documentation",892 "clicks": 103893 }894 ],895 "read": true,896 "user_title": null,897 "bookmarked": false,898 "actions_summary": [899 {900 "id": 2,901 "count": 1902 }903 ],904 "moderator": false,905 "admin": false,906 "staff": false,907 "user_id": 21229,908 "hidden": false,909 "trust_level": 1,910 "deleted_at": null,911 "user_deleted": false,912 "edit_reason": null,913 "can_view_edit_history": true,914 "wiki": false,915 "post_url": "/t/does-sparse-image-warp-from-tf-exist-in-pytorch/43514/6",916 "can_accept_answer": false,917 "can_unaccept_answer": false,918 "accepted_answer": false,919 "topic_accepted_answer": null920 },921 {922 "id": 391179,923 "name": "G Moreno",924 "username": "gziz",925 "avatar_template": "/user_avatar/discuss.pytorch.org/gziz/{size}/58124_2.png",926 "created_at": "2023-03-09T00:49:43.689Z",927 "cooked": "<p>Did you find one? Thanks</p>",928 "post_number": 7,929 "post_type": 1,930 "posts_count": 9,931 "updated_at": "2023-03-09T00:49:43.689Z",932 "reply_count": 0,933 "reply_to_post_number": null,934 "quote_count": 0,935 "incoming_link_count": 3,936 "reads": 9,937 "readers_count": 8,938 "score": 16.8,939 "yours": false,940 "topic_id": 43514,941 "topic_slug": "does-sparse-image-warp-from-tf-exist-in-pytorch",942 "display_username": "G Moreno",943 "primary_group_name": null,944 "flair_name": null,945 "flair_url": null,946 "flair_bg_color": null,947 "flair_color": null,948 "flair_group_id": null,949 "badges_granted": [],950 "version": 1,951 "can_edit": false,952 "can_delete": false,953 "can_recover": false,954 "can_see_hidden_post": false,955 "can_wiki": false,956 "read": true,957 "user_title": null,958 "bookmarked": false,959 "actions_summary": [],960 "moderator": false,961 "admin": false,962 "staff": false,963 "user_id": 64039,964 "hidden": false,965 "trust_level": 1,966 "deleted_at": null,967 "user_deleted": false,968 "edit_reason": null,969 "can_view_edit_history": true,970 "wiki": false,971 "post_url": "/t/does-sparse-image-warp-from-tf-exist-in-pytorch/43514/7",972 "can_accept_answer": false,973 "can_unaccept_answer": false,974 "accepted_answer": false,975 "topic_accepted_answer": null976 },977 {978 "id": 391183,979 "name": "G Moreno",980 "username": "gziz",981 "avatar_template": "/user_avatar/discuss.pytorch.org/gziz/{size}/58124_2.png",982 "created_at": "2023-03-09T01:11:26.970Z",983 "cooked": "<p>Can you ellaborate a bit on this?</p>",984 "post_number": 8,985 "post_type": 1,986 "posts_count": 9,987 "updated_at": "2023-03-09T01:11:26.970Z",988 "reply_count": 0,989 "reply_to_post_number": 6,990 "quote_count": 0,991 "incoming_link_count": 4,992 "reads": 9,993 "readers_count": 8,994 "score": 21.8,995 "yours": false,996 "topic_id": 43514,997 "topic_slug": "does-sparse-image-warp-from-tf-exist-in-pytorch",998 "display_username": "G Moreno",999 "primary_group_name": null,1000 "flair_name": null,1001 "flair_url": null,1002 "flair_bg_color": null,1003 "flair_color": null,1004 "flair_group_id": null,1005 "badges_granted": [],1006 "version": 1,1007 "can_edit": false,1008 "can_delete": false,1009 "can_recover": false,1010 "can_see_hidden_post": false,1011 "can_wiki": false,1012 "read": true,1013 "user_title": null,1014 "reply_to_user": {1015 "id": 21229,1016 "username": "bnehoran",1017 "name": "",1018 "avatar_template": "/user_avatar/discuss.pytorch.org/bnehoran/{size}/14925_2.png"1019 },1020 "bookmarked": false,1021 "actions_summary": [],1022 "moderator": false,1023 "admin": false,1024 "staff": false,1025 "user_id": 64039,1026 "hidden": false,1027 "trust_level": 1,1028 "deleted_at": null,1029 "user_deleted": false,1030 "edit_reason": null,1031 "can_view_edit_history": true,1032 "wiki": false,1033 "post_url": "/t/does-sparse-image-warp-from-tf-exist-in-pytorch/43514/8",1034 "can_accept_answer": false,1035 "can_unaccept_answer": false,1036 "accepted_answer": false,1037 "topic_accepted_answer": null1038 },1039 {1040 "id": 453740,1041 "name": "Billy Ztb",1042 "username": "Billy-ZTB",1043 "avatar_template": "/user_avatar/discuss.pytorch.org/billy-ztb/{size}/66751_2.png",1044 "created_at": "2024-09-05T13:11:14.150Z",1045 "cooked": "<p>You can refer to<br>\n<a href=\"https://pydrobert-pytorch.readthedocs.io/en/latest/api/pydrobert/torch/functional.html#pydrobert.torch.functional.sparse_image_warp\" class=\"inline-onebox\" rel=\"noopener nofollow ugc\">functional — pydrobert-pytorch documentation</a> for the same function.The function in spec_augment: <a href=\"https://github.com/zcaceres/spec_augment/blob/77335b74efc453c6bcd589357e8365ddcb7688aa/SparseImageWarp.ipynb\" class=\"inline-onebox\" rel=\"noopener nofollow ugc\">spec_augment/SparseImageWarp.ipynb at 77335b74efc453c6bcd589357e8365ddcb7688aa · zcaceres/spec_augment · GitHub</a> is not working correctly.</p>",1046 "post_number": 9,1047 "post_type": 1,1048 "posts_count": 9,1049 "updated_at": "2024-09-05T13:12:06.992Z",1050 "reply_count": 0,1051 "reply_to_post_number": null,1052 "quote_count": 0,1053 "incoming_link_count": 1,1054 "reads": 2,1055 "readers_count": 1,1056 "score": 5.4,1057 "yours": false,1058 "topic_id": 43514,1059 "topic_slug": "does-sparse-image-warp-from-tf-exist-in-pytorch",1060 "display_username": "Billy Ztb",1061 "primary_group_name": null,1062 "flair_name": null,1063 "flair_url": null,1064 "flair_bg_color": null,1065 "flair_color": null,1066 "flair_group_id": null,1067 "badges_granted": [],1068 "version": 2,1069 "can_edit": false,1070 "can_delete": false,1071 "can_recover": false,1072 "can_see_hidden_post": false,1073 "can_wiki": false,1074 "link_counts": [1075 {1076 "url": "https://pydrobert-pytorch.readthedocs.io/en/latest/api/pydrobert/torch/functional.html#pydrobert.torch.functional.sparse_image_warp",1077 "internal": false,1078 "reflection": false,1079 "title": "functional — pydrobert-pytorch documentation",1080 "clicks": 91081 },1082 {1083 "url": "https://github.com/zcaceres/spec_augment/blob/77335b74efc453c6bcd589357e8365ddcb7688aa/SparseImageWarp.ipynb",1084 "internal": false,1085 "reflection": false,1086 "title": "spec_augment/SparseImageWarp.ipynb at 77335b74efc453c6bcd589357e8365ddcb7688aa · zcaceres/spec_augment · GitHub",1087 "clicks": 61088 }1089 ],1090 "read": true,1091 "user_title": null,1092 "bookmarked": false,1093 "actions_summary": [],1094 "moderator": false,1095 "admin": false,1096 "staff": false,1097 "user_id": 72274,1098 "hidden": false,1099 "trust_level": 1,1100 "deleted_at": null,1101 "user_deleted": false,1102 "edit_reason": null,1103 "can_view_edit_history": true,1104 "wiki": false,1105 "post_url": "/t/does-sparse-image-warp-from-tf-exist-in-pytorch/43514/9",1106 "can_accept_answer": false,1107 "can_unaccept_answer": false,1108 "accepted_answer": false,1109 "topic_accepted_answer": null1110 }1111 ],1112 "stream": [1113 107811,1114 108632,1115 108681,1116 109012,1117 127123,1118 129879,1119 391179,1120 391183,1121 4537401122 ]1123 },1124 "timeline_lookup": [1125 [1126 1,1127 23761128 ],1129 [1130 2,1131 23711132 ],1133 [1134 4,1135 23691136 ],1137 [1138 5,1139 22751140 ],1141 [1142 6,1143 22611144 ],1145 [1146 7,1147 9621148 ],1149 [1150 9,1151 4151152 ]1153 ],1154 "suggested_topics": [1155 {1156 "fancy_title": "ValueError: too many values to unpack (expected 2) when using multi_clip input",1157 "id": 216260,1158 "title": "ValueError: too many values to unpack (expected 2) when using multi_clip input",1159 "slug": "valueerror-too-many-values-to-unpack-expected-2-when-using-multi-clip-input",1160 "posts_count": 3,1161 "reply_count": 1,1162 "highest_post_number": 3,1163 "image_url": null,1164 "created_at": "2025-02-05T09:30:46.490Z",1165 "last_posted_at": "2025-02-06T08:25:17.663Z",1166 "bumped": true,1167 "bumped_at": "2025-02-06T08:25:17.663Z",1168 "archetype": "regular",1169 "unseen": false,1170 "pinned": false,1171 "unpinned": null,1172 "visible": true,1173 "closed": false,1174 "archived": false,1175 "bookmarked": null,1176 "liked": null,1177 "tags_descriptions": {},1178 "like_count": 0,1179 "views": 47,1180 "category_id": 5,1181 "featured_link": null,1182 "has_accepted_answer": false,1183 "posters": [1184 {1185 "extras": "latest",1186 "description": "Original Poster, Most Recent Poster",1187 "user": {1188 "id": 68222,1189 "username": "amy2",1190 "name": "amy",1191 "avatar_template": "/user_avatar/discuss.pytorch.org/amy2/{size}/62675_2.png",1192 "trust_level": 11193 }1194 },1195 {1196 "extras": null,1197 "description": "Frequent Poster",1198 "user": {1199 "id": 3534,1200 "username": "ptrblck",