CoolFace
Datasetpublic

Anurag1734/cuda-error-resolution-analysis

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes7downloads
topics_batch_115.json66703 linesDownload Raw Back to raw
1[2  {3    "post_stream": {4      "posts": [5        {6          "id": 414600,7          "name": "",8          "username": "asdfv904",9          "avatar_template": "/user_avatar/discuss.pytorch.org/asdfv904/{size}/63346_2.png",10          "created_at": "2023-08-21T12:35:32.411Z",11          "cooked": "<p>I’m currently implementing the model introduced in <a href=\"https://dl.acm.org/doi/10.1145/3402597.3402605\" rel=\"noopener nofollow ugc\">here</a>, where it just simply adds a branch that detects rotated bounding boxes to Faster R-CNN roi head. I’ve adapted torchvision Faster R-CNN model at <a href=\"https://github.com/crazyboy9103/oriented_detection\" class=\"inline-onebox\" rel=\"noopener nofollow ugc\">GitHub - crazyboy9103/oriented_detection</a>, but it does not seem to work well. It is able to detect bounding boxes, but their classifications are mostly wrong and I don’t know where to fix. The dataset I’m using is MVTec rotated screws dataset.</p>\n<p>Could anyone help me with this matter?<br>\nIn the repository, I’ve mainly adapted models/detection/box_coders.py, roi_heads.py, rotated_fatster_rcnn.py.</p>",12          "post_number": 1,13          "post_type": 1,14          "posts_count": 1,15          "updated_at": "2023-08-21T12:35:32.411Z",16          "reply_count": 0,17          "reply_to_post_number": null,18          "quote_count": 0,19          "incoming_link_count": 129,20          "reads": 8,21          "readers_count": 7,22          "score": 641.6,23          "yours": false,24          "topic_id": 186772,25          "topic_slug": "torchvision-faster-r-cnn-custom",26          "display_username": "",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          "link_counts": [41            {42              "url": "https://github.com/crazyboy9103/oriented_detection",43              "internal": false,44              "reflection": false,45              "title": "GitHub - crazyboy9103/oriented_detection",46              "clicks": 1147            },48            {49              "url": "https://dl.acm.org/doi/10.1145/3402597.3402605",50              "internal": false,51              "reflection": false,52              "clicks": 453            }54          ],55          "read": true,56          "user_title": null,57          "bookmarked": false,58          "actions_summary": [],59          "moderator": false,60          "admin": false,61          "staff": false,62          "user_id": 68866,63          "hidden": false,64          "trust_level": 1,65          "deleted_at": null,66          "user_deleted": false,67          "edit_reason": null,68          "can_view_edit_history": true,69          "wiki": false,70          "post_url": "/t/torchvision-faster-r-cnn-custom/186772/1",71          "can_accept_answer": false,72          "can_unaccept_answer": false,73          "accepted_answer": false,74          "topic_accepted_answer": null,75          "can_vote": false76        }77      ],78      "stream": [79        41460080      ]81    },82    "timeline_lookup": [83      [84        1,85        79686      ]87    ],88    "suggested_topics": [89      {90        "fancy_title": "Batch size at inference is influencing accuracy",91        "id": 218096,92        "title": "Batch size at inference is influencing accuracy",93        "slug": "batch-size-at-inference-is-influencing-accuracy",94        "posts_count": 1,95        "reply_count": 0,96        "highest_post_number": 1,97        "image_url": null,98        "created_at": "2025-03-20T21:02:58.000Z",99        "last_posted_at": "2025-03-20T21:02:58.052Z",100        "bumped": true,101        "bumped_at": "2025-03-20T21:02:58.052Z",102        "archetype": "regular",103        "unseen": false,104        "pinned": false,105        "unpinned": null,106        "visible": true,107        "closed": false,108        "archived": false,109        "bookmarked": null,110        "liked": null,111        "tags_descriptions": {},112        "like_count": 0,113        "views": 45,114        "category_id": 5,115        "featured_link": null,116        "has_accepted_answer": false,117        "posters": [118          {119            "extras": "latest single",120            "description": "Original Poster, Most Recent Poster",121            "user": {122              "id": 83393,123              "username": "danbull-scanabull",124              "name": "Danbull Scanabull",125              "avatar_template": "/user_avatar/discuss.pytorch.org/danbull-scanabull/{size}/76268_2.png",126              "trust_level": 1127            }128          }129        ]130      },131      {132        "fancy_title": "Model predicting one classe only after running inference on test data",133        "id": 212937,134        "title": "Model predicting one classe only after running inference on test data",135        "slug": "model-predicting-one-classe-only-after-running-inference-on-test-data",136        "posts_count": 1,137        "reply_count": 0,138        "highest_post_number": 1,139        "image_url": null,140        "created_at": "2024-11-13T15:57:08.333Z",141        "last_posted_at": "2024-11-13T15:57:08.392Z",142        "bumped": true,143        "bumped_at": "2024-11-13T15:57:08.392Z",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": 93,156        "category_id": 5,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": 68222,165              "username": "amy2",166              "name": "amy",167              "avatar_template": "/user_avatar/discuss.pytorch.org/amy2/{size}/62675_2.png",168              "trust_level": 1169            }170          }171        ]172      },173      {174        "fancy_title": "Switching from &ldquo;model.eval()&rdquo; to &ldquo;model.train()&rdquo; severely degrades performance",175        "id": 215519,176        "title": "Switching from \"model.eval()\" to \"model.train()\" severely degrades performance",177        "slug": "switching-from-model-eval-to-model-train-severely-degrades-performance",178        "posts_count": 1,179        "reply_count": 0,180        "highest_post_number": 1,181        "image_url": null,182        "created_at": "2025-01-17T14:54:50.152Z",183        "last_posted_at": "2025-01-17T14:54:50.195Z",184        "bumped": true,185        "bumped_at": "2025-01-20T06:05:12.301Z",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": 120,198        "category_id": 5,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": 76983,207              "username": "cloudydory",208              "name": "",209              "avatar_template": "/letter_avatar_proxy/v4/letter/c/dfb087/{size}.png",210              "trust_level": 1211            }212          }213        ]214      },215      {216        "fancy_title": "How to combine pre-trained weights of components from different multimodal LLMs?",217        "id": 215119,218        "title": "How to combine pre-trained weights of components from different multimodal LLMs?",219        "slug": "how-to-combine-pre-trained-weights-of-components-from-different-multimodal-llms",220        "posts_count": 1,221        "reply_count": 0,222        "highest_post_number": 1,223        "image_url": null,224        "created_at": "2025-01-08T12:57:20.583Z",225        "last_posted_at": "2025-01-08T12:57:20.618Z",226        "bumped": true,227        "bumped_at": "2025-01-08T12:57:20.618Z",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": 42,240        "category_id": 5,241        "featured_link": null,242        "has_accepted_answer": false,243        "posters": [244          {245            "extras": "latest single",246            "description": "Original Poster, Most Recent Poster",247            "user": {248              "id": 81933,249              "username": "tcm",250              "name": "Minh Tu",251              "avatar_template": "/user_avatar/discuss.pytorch.org/tcm/{size}/74956_2.png",252              "trust_level": 1253            }254          }255        ]256      },257      {258        "fancy_title": "Torchcodec stich new frames",259        "id": 219476,260        "title": "Torchcodec stich new frames",261        "slug": "torchcodec-stich-new-frames",262        "posts_count": 1,263        "reply_count": 0,264        "highest_post_number": 1,265        "image_url": null,266        "created_at": "2025-04-26T07:23:06.860Z",267        "last_posted_at": "2025-04-26T07:23:06.900Z",268        "bumped": true,269        "bumped_at": "2025-04-26T07:23:06.900Z",270        "archetype": "regular",271        "unseen": false,272        "pinned": false,273        "unpinned": null,274        "visible": true,275        "closed": false,276        "archived": false,277        "bookmarked": null,278        "liked": null,279        "tags_descriptions": {},280        "like_count": 0,281        "views": 53,282        "category_id": 5,283        "featured_link": null,284        "has_accepted_answer": false,285        "posters": [286          {287            "extras": "latest single",288            "description": "Original Poster, Most Recent Poster",289            "user": {290              "id": 40671,291              "username": "yassineAlouini",292              "name": "Yassine Alouini",293              "avatar_template": "/user_avatar/discuss.pytorch.org/yassinealouini/{size}/32990_2.png",294              "trust_level": 2295            }296          }297        ]298      }299    ],300    "tags_descriptions": {},301    "fancy_title": "Torchvision Faster R-CNN custom",302    "id": 186772,303    "title": "Torchvision Faster R-CNN custom",304    "posts_count": 1,305    "created_at": "2023-08-21T12:35:32.361Z",306    "views": 341,307    "reply_count": 0,308    "like_count": 0,309    "last_posted_at": "2023-08-21T12:35:32.411Z",310    "visible": true,311    "closed": false,312    "archived": false,313    "has_summary": false,314    "archetype": "regular",315    "slug": "torchvision-faster-r-cnn-custom",316    "category_id": 5,317    "word_count": 111,318    "deleted_at": null,319    "user_id": 68866,320    "featured_link": null,321    "pinned_globally": false,322    "pinned_at": null,323    "pinned_until": null,324    "image_url": null,325    "slow_mode_seconds": 0,326    "draft": null,327    "draft_key": "topic_186772",328    "draft_sequence": null,329    "unpinned": null,330    "pinned": false,331    "current_post_number": 1,332    "highest_post_number": 1,333    "deleted_by": null,334    "actions_summary": [335      {336        "id": 4,337        "count": 0,338        "hidden": false,339        "can_act": false340      },341      {342        "id": 8,343        "count": 0,344        "hidden": false,345        "can_act": false346      },347      {348        "id": 10,349        "count": 0,350        "hidden": false,351        "can_act": false352      },353      {354        "id": 7,355        "count": 0,356        "hidden": false,357        "can_act": false358      }359    ],360    "chunk_size": 20,361    "bookmarked": false,362    "topic_timer": null,363    "message_bus_last_id": 0,364    "participant_count": 1,365    "show_read_indicator": false,366    "thumbnails": null,367    "slow_mode_enabled_until": null,368    "can_vote": false,369    "vote_count": 0,370    "user_voted": false,371    "discourse_zendesk_plugin_zendesk_id": null,372    "discourse_zendesk_plugin_zendesk_url": "https://your-url.zendesk.com/agent/tickets/",373    "details": {374      "can_edit": false,375      "notification_level": 1,376      "participants": [377        {378          "id": 68866,379          "username": "asdfv904",380          "name": "",381          "avatar_template": "/user_avatar/discuss.pytorch.org/asdfv904/{size}/63346_2.png",382          "post_count": 1,383          "primary_group_name": null,384          "flair_name": null,385          "flair_url": null,386          "flair_color": null,387          "flair_bg_color": null,388          "flair_group_id": null,389          "trust_level": 1390        }391      ],392      "created_by": {393        "id": 68866,394        "username": "asdfv904",395        "name": "",396        "avatar_template": "/user_avatar/discuss.pytorch.org/asdfv904/{size}/63346_2.png"397      },398      "last_poster": {399        "id": 68866,400        "username": "asdfv904",401        "name": "",402        "avatar_template": "/user_avatar/discuss.pytorch.org/asdfv904/{size}/63346_2.png"403      },404      "links": [405        {406          "url": "https://github.com/crazyboy9103/oriented_detection",407          "title": "GitHub - crazyboy9103/oriented_detection",408          "internal": false,409          "attachment": false,410          "reflection": false,411          "clicks": 11,412          "user_id": 68866,413          "domain": "github.com",414          "root_domain": "github.com"415        },416        {417          "url": "https://dl.acm.org/doi/10.1145/3402597.3402605",418          "title": null,419          "internal": false,420          "attachment": false,421          "reflection": false,422          "clicks": 4,423          "user_id": 68866,424          "domain": "dl.acm.org",425          "root_domain": "acm.org"426        }427      ]428    },429    "bookmarks": []430  },431  {432    "post_stream": {433      "posts": [434        {435          "id": 414579,436          "name": "Jerry Gul",437          "username": "Jerry_Gill",438          "avatar_template": "/user_avatar/discuss.pytorch.org/jerry_gill/{size}/63343_2.png",439          "created_at": "2023-08-21T08:49:07.915Z",440          "cooked": "<p>I am running DNN model on synthetic datasets to draw decision boundaries polytope in order to study the tropical geometrical perspective of synthetic adversarial attack. And getting the following runtime error:</p>\n<blockquote>\n<pre><code> Cell In[26], line 20\n     17 sigma      = 0  #Sparsity Factor, CAUTION, this number should be less than epsilon1 otherwise, no   solution will be found\n     19 print(f'The model was classifing the x_0 as class {model_new(x_0).unsqueeze(dim=0).argmax(1).item()}, The target class is {target.item()}')\n---&gt; 20 delta_x,z,w,delta_a,eqq = str_atk_tg_for_syn(model_new,x_0,target,criterion,epsilon1,epsilon2,rho,eta,lamda,sigma,iterations)\n     21 print(f'The attacked model is now classifying x_0 as class {model_new(x_0+delta_x).unsqueeze(dim=0).argmax(1).item()}')\n\nCell In[14], line 36, in str_atk_tg_for_syn(net, x, target, criterion, eps1, eps2, rho_0, eta, lamda, sigma, iterations)\n     34 temp2   = 2*lamda*torch.mm(torch.mm(A.t(),delta_a),x.squeeze().reshape(-1,1))\n     35 temp2   = temp2.reshape(z.shape) + rho*z.squeeze() - u.squeeze() # This is the    B in Ax = B\n---&gt; 36 delta,_ = torch.linalg.solve(temp1, temp2.reshape(-1,1))\n     37 delta   = delta.reshape(z.shape)\n     39 #Updating w\n</code></pre>\n</blockquote>\n<blockquote>\n<pre><code>RuntimeError: Calling torch.linalg.lu_factor on a CPU tensor requires compiling PyTorch with LAPACK. Please use PyTorch built with LAPACK support.\n</code></pre>\n</blockquote>\n<p>I installed LAPACK and related packages in anaconda environment using</p>\n<blockquote>\n<p>conda install -c “conda-forge/label/lapack_rc” lapack</p>\n</blockquote>\n<p>command but still getting this runtime error. How can I compile Pytorch with LAPACK support?</p>",441          "post_number": 1,442          "post_type": 1,443          "posts_count": 2,444          "updated_at": "2023-08-21T08:55:22.699Z",445          "reply_count": 0,446          "reply_to_post_number": null,447          "quote_count": 0,448          "incoming_link_count": 1204,449          "reads": 15,450          "readers_count": 14,451          "score": 5998.0,452          "yours": false,453          "topic_id": 186760,454          "topic_slug": "how-to-resolve-runtime-error-related-to-compile-pytorch-with-lapack-support",455          "display_username": "Jerry Gul",456          "primary_group_name": null,457          "flair_name": null,458          "flair_url": null,459          "flair_bg_color": null,460          "flair_color": null,461          "flair_group_id": null,462          "badges_granted": [],463          "version": 2,464          "can_edit": false,465          "can_delete": false,466          "can_recover": false,467          "can_see_hidden_post": false,468          "can_wiki": false,469          "read": true,470          "user_title": null,471          "bookmarked": false,472          "actions_summary": [],473          "moderator": false,474          "admin": false,475          "staff": false,476          "user_id": 68863,477          "hidden": false,478          "trust_level": 0,479          "deleted_at": null,480          "user_deleted": false,481          "edit_reason": null,482          "can_view_edit_history": true,483          "wiki": false,484          "post_url": "/t/how-to-resolve-runtime-error-related-to-compile-pytorch-with-lapack-support/186760/1",485          "can_accept_answer": false,486          "can_unaccept_answer": false,487          "accepted_answer": false,488          "topic_accepted_answer": null,489          "can_vote": false490        },491        {492          "id": 414594,493          "name": "Ed Moman",494          "username": "Ed_Moman",495          "avatar_template": "/user_avatar/discuss.pytorch.org/ed_moman/{size}/62894_2.png",496          "created_at": "2023-08-21T11:08:12.676Z",497          "cooked": "<p>I am a newbie but my wild guess is that you are running the code on cpu what you need is mkl and mkl-include and, if you are using gpu, you need magma.</p>\n<p>Then recompile.</p>",498          "post_number": 2,499          "post_type": 1,500          "posts_count": 2,501          "updated_at": "2023-08-21T11:08:12.676Z",502          "reply_count": 0,503          "reply_to_post_number": null,504          "quote_count": 0,505          "incoming_link_count": 12,506          "reads": 14,507          "readers_count": 13,508          "score": 62.8,509          "yours": false,510          "topic_id": 186760,511          "topic_slug": "how-to-resolve-runtime-error-related-to-compile-pytorch-with-lapack-support",512          "display_username": "Ed Moman",513          "primary_group_name": null,514          "flair_name": null,515          "flair_url": null,516          "flair_bg_color": null,517          "flair_color": null,518          "flair_group_id": null,519          "badges_granted": [],520          "version": 1,521          "can_edit": false,522          "can_delete": false,523          "can_recover": false,524          "can_see_hidden_post": false,525          "can_wiki": false,526          "read": true,527          "user_title": null,528          "bookmarked": false,529          "actions_summary": [],530          "moderator": false,531          "admin": false,532          "staff": false,533          "user_id": 68411,534          "hidden": false,535          "trust_level": 1,536          "deleted_at": null,537          "user_deleted": false,538          "edit_reason": null,539          "can_view_edit_history": true,540          "wiki": false,541          "post_url": "/t/how-to-resolve-runtime-error-related-to-compile-pytorch-with-lapack-support/186760/2",542          "can_accept_answer": false,543          "can_unaccept_answer": false,544          "accepted_answer": false,545          "topic_accepted_answer": null546        }547      ],548      "stream": [549        414579,550        414594551      ]552    },553    "timeline_lookup": [554      [555        1,556        796557      ]558    ],559    "suggested_topics": [560      {561        "fancy_title": "Parameter loading",562        "id": 212327,563        "title": "Parameter loading",564        "slug": "parameter-loading",565        "posts_count": 6,566        "reply_count": 5,567        "highest_post_number": 7,568        "image_url": null,569        "created_at": "2024-10-30T19:55:47.573Z",570        "last_posted_at": "2024-11-01T18:55:59.308Z",571        "bumped": true,572        "bumped_at": "2024-11-01T18:55:59.308Z",573        "archetype": "regular",574        "unseen": false,575        "pinned": false,576        "unpinned": null,577        "visible": true,578        "closed": false,579        "archived": false,580        "bookmarked": null,581        "liked": null,582        "tags_descriptions": {},583        "like_count": 0,584        "views": 249,585        "category_id": 1,586        "featured_link": null,587        "has_accepted_answer": false,588        "posters": [589          {590            "extras": null,591            "description": "Original Poster",592            "user": {593              "id": 34549,594              "username": "yichao_Liu",595              "name": "yichao Liu",596              "avatar_template": "/user_avatar/discuss.pytorch.org/yichao_liu/{size}/18684_2.png",597              "trust_level": 1598            }599          },600          {601            "extras": "latest",602            "description": "Most Recent Poster",603            "user": {604              "id": 3534,605              "username": "ptrblck",606              "name": "",607              "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",608              "admin": true,609              "moderator": true,610              "trust_level": 2611            }612          }613        ]614      },615      {616        "fancy_title": "Any way to have DataParallel and DistributedDataParallel automatically handle buffers?",617        "id": 213550,618        "title": "Any way to have DataParallel and DistributedDataParallel automatically handle buffers?",619        "slug": "any-way-to-have-dataparallel-and-distributeddataparallel-automatically-handle-buffers",620        "posts_count": 2,621        "reply_count": 0,622        "highest_post_number": 3,623        "image_url": null,624        "created_at": "2024-11-27T18:58:30.414Z",625        "last_posted_at": "2024-11-28T17:31:04.654Z",626        "bumped": true,627        "bumped_at": "2024-11-28T17:31:04.654Z",628        "archetype": "regular",629        "unseen": false,630        "pinned": false,631        "unpinned": null,632        "visible": true,633        "closed": false,634        "archived": false,635        "bookmarked": null,636        "liked": null,637        "tags_descriptions": {},638        "like_count": 0,639        "views": 30,640        "category_id": 1,641        "featured_link": null,642        "has_accepted_answer": false,643        "posters": [644          {645            "extras": "latest single",646            "description": "Original Poster, Most Recent Poster",647            "user": {648              "id": 6296,649              "username": "pytorcher",650              "name": "",651              "avatar_template": "/letter_avatar_proxy/v4/letter/p/7ea924/{size}.png",652              "trust_level": 1653            }654          }655        ]656      },657      {658        "fancy_title": "Runtime error: &ldquo;ImportError: /usr/lib64/libtorch_cuda.so: undefined symbol: cudnnSetDropoutDescriptor&rdquo;",659        "id": 212671,660        "title": "Runtime error: \"ImportError: /usr/lib64/libtorch_cuda.so: undefined symbol: cudnnSetDropoutDescriptor\"",661        "slug": "runtime-error-importerror-usr-lib64-libtorch-cuda-so-undefined-symbol-cudnnsetdropoutdescriptor",662        "posts_count": 9,663        "reply_count": 6,664        "highest_post_number": 9,665        "image_url": null,666        "created_at": "2024-11-07T23:33:42.975Z",667        "last_posted_at": "2024-11-09T22:38:42.148Z",668        "bumped": true,669        "bumped_at": "2024-11-09T22:38:42.148Z",670        "archetype": "regular",671        "unseen": false,672        "pinned": false,673        "unpinned": null,674        "visible": true,675        "closed": false,676        "archived": false,677        "bookmarked": null,678        "liked": null,679        "tags_descriptions": {},680        "like_count": 0,681        "views": 2102,682        "category_id": 1,683        "featured_link": null,684        "has_accepted_answer": true,685        "posters": [686          {687            "extras": "latest",688            "description": "Original Poster, Most Recent Poster, Accepted Answer",689            "user": {690              "id": 75981,691              "username": "Geremia",692              "name": "Geremia",693              "avatar_template": "/user_avatar/discuss.pytorch.org/geremia/{size}/70165_2.png",694              "trust_level": 2695            }696          },697          {698            "extras": null,699            "description": "Frequent Poster",700            "user": {701              "id": 3534,702              "username": "ptrblck",703              "name": "",704              "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",705              "admin": true,706              "moderator": true,707              "trust_level": 2708            }709          }710        ]711      },712      {713        "fancy_title": "torch.OutOfMemoryError: CUDA out of memory",714        "id": 217669,715        "title": "torch.OutOfMemoryError: CUDA out of memory",716        "slug": "torch-outofmemoryerror-cuda-out-of-memory",717        "posts_count": 4,718        "reply_count": 2,719        "highest_post_number": 4,720        "image_url": null,721        "created_at": "2025-03-10T14:46:11.148Z",722        "last_posted_at": "2025-03-12T12:34:35.945Z",723        "bumped": true,724        "bumped_at": "2025-03-12T12:34:35.945Z",725        "archetype": "regular",726        "unseen": false,727        "pinned": false,728        "unpinned": null,729        "visible": true,730        "closed": false,731        "archived": false,732        "bookmarked": null,733        "liked": null,734        "tags_descriptions": {},735        "like_count": 0,736        "views": 580,737        "category_id": 1,738        "featured_link": null,739        "has_accepted_answer": false,740        "posters": [741          {742            "extras": "latest",743            "description": "Original Poster, Most Recent Poster",744            "user": {745              "id": 82794,746              "username": "Mohan_Krishna",747              "name": "Mohan Krishna",748              "avatar_template": "/user_avatar/discuss.pytorch.org/mohan_krishna/{size}/75758_2.png",749              "trust_level": 1750            }751          },752          {753            "extras": null,754            "description": "Frequent Poster",755            "user": {756              "id": 3534,757              "username": "ptrblck",758              "name": "",759              "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",760              "admin": true,761              "moderator": true,762              "trust_level": 2763            }764          }765        ]766      },767      {768        "fancy_title": "Aten arange behavior when dtype is int64 and step size is greater than range",769        "id": 217735,770        "title": "Aten arange behavior when dtype is int64 and step size is greater than range",771        "slug": "aten-arange-behavior-when-dtype-is-int64-and-step-size-is-greater-than-range",772        "posts_count": 3,773        "reply_count": 0,774        "highest_post_number": 3,775        "image_url": null,776        "created_at": "2025-03-12T08:57:33.017Z",777        "last_posted_at": "2025-03-13T03:12:02.406Z",778        "bumped": true,779        "bumped_at": "2025-03-13T03:12:02.406Z",780        "archetype": "regular",781        "unseen": false,782        "pinned": false,783        "unpinned": null,784        "visible": true,785        "closed": false,786        "archived": false,787        "bookmarked": null,788        "liked": null,789        "tags_descriptions": {},790        "like_count": 0,791        "views": 70,792        "category_id": 1,793        "featured_link": null,794        "has_accepted_answer": false,795        "posters": [796          {797            "extras": "latest",798            "description": "Original Poster, Most Recent Poster",799            "user": {800              "id": 82913,801              "username": "satheeshhab",802              "name": "satheesh babu sudarsanan",803              "avatar_template": "/user_avatar/discuss.pytorch.org/satheeshhab/{size}/75859_2.png",804              "trust_level": 0805            }806          },807          {808            "extras": null,809            "description": "Frequent Poster",810            "user": {811              "id": 18088,812              "username": "KFrank",813              "name": "K. Frank",814              "avatar_template": "/letter_avatar_proxy/v4/letter/k/ecb155/{size}.png",815              "trust_level": 2816            }817          }818        ]819      }820    ],821    "tags_descriptions": {},822    "fancy_title": "How to resolve runtime error related to compile PyTorch with LAPACK support?",823    "id": 186760,824    "title": "How to resolve runtime error related to compile PyTorch with LAPACK support?",825    "posts_count": 2,826    "created_at": "2023-08-21T08:49:07.851Z",827    "views": 1346,828    "reply_count": 0,829    "like_count": 0,830    "last_posted_at": "2023-08-21T11:08:12.676Z",831    "visible": true,832    "closed": false,833    "archived": false,834    "has_summary": false,835    "archetype": "regular",836    "slug": "how-to-resolve-runtime-error-related-to-compile-pytorch-with-lapack-support",837    "category_id": 1,838    "word_count": 281,839    "deleted_at": null,840    "user_id": 68863,841    "featured_link": null,842    "pinned_globally": false,843    "pinned_at": null,844    "pinned_until": null,845    "image_url": null,846    "slow_mode_seconds": 0,847    "draft": null,848    "draft_key": "topic_186760",849    "draft_sequence": null,850    "unpinned": null,851    "pinned": false,852    "current_post_number": 1,853    "highest_post_number": 2,854    "deleted_by": null,855    "actions_summary": [856      {857        "id": 4,858        "count": 0,859        "hidden": false,860        "can_act": false861      },862      {863        "id": 8,864        "count": 0,865        "hidden": false,866        "can_act": false867      },868      {869        "id": 10,870        "count": 0,871        "hidden": false,872        "can_act": false873      },874      {875        "id": 7,876        "count": 0,877        "hidden": false,878        "can_act": false879      }880    ],881    "chunk_size": 20,882    "bookmarked": false,883    "topic_timer": null,884    "message_bus_last_id": 0,885    "participant_count": 2,886    "show_read_indicator": false,887    "thumbnails": null,888    "slow_mode_enabled_until": null,889    "can_vote": false,890    "vote_count": 0,891    "user_voted": false,892    "discourse_zendesk_plugin_zendesk_id": null,893    "discourse_zendesk_plugin_zendesk_url": "https://your-url.zendesk.com/agent/tickets/",894    "details": {895      "can_edit": false,896      "notification_level": 1,897      "participants": [898        {899          "id": 68411,900          "username": "Ed_Moman",901          "name": "Ed Moman",902          "avatar_template": "/user_avatar/discuss.pytorch.org/ed_moman/{size}/62894_2.png",903          "post_count": 1,904          "primary_group_name": null,905          "flair_name": null,906          "flair_url": null,907          "flair_color": null,908          "flair_bg_color": null,909          "flair_group_id": null,910          "trust_level": 1911        },912        {913          "id": 68863,914          "username": "Jerry_Gill",915          "name": "Jerry Gul",916          "avatar_template": "/user_avatar/discuss.pytorch.org/jerry_gill/{size}/63343_2.png",917          "post_count": 1,918          "primary_group_name": null,919          "flair_name": null,920          "flair_url": null,921          "flair_color": null,922          "flair_bg_color": null,923          "flair_group_id": null,924          "trust_level": 0925        }926      ],927      "created_by": {928        "id": 68863,929        "username": "Jerry_Gill",930        "name": "Jerry Gul",931        "avatar_template": "/user_avatar/discuss.pytorch.org/jerry_gill/{size}/63343_2.png"932      },933      "last_poster": {934        "id": 68411,935        "username": "Ed_Moman",936        "name": "Ed Moman",937        "avatar_template": "/user_avatar/discuss.pytorch.org/ed_moman/{size}/62894_2.png"938      }939    },940    "bookmarks": []941  },942  {943    "post_stream": {944      "posts": [945        {946          "id": 28549,947          "name": "0phoff",948          "username": "0phoff",949          "avatar_template": "/user_avatar/discuss.pytorch.org/0phoff/{size}/2318_2.png",950          "created_at": "2017-12-22T16:27:14.081Z",951          "cooked": "<p>Hey,</p>\n<p>I am having some issues with how the dataloader works when multiple workers are used.</p>\n<p>In my dataset, I resize the images to the input dimensions of the network.<br>\nI am training a fully convolutional network and I can thus change the input dimension of my network in order to make it more robust whilst training.<br>\nThe way I have been doing this variable resizing is by passing a reference of my <code>network</code> variable to my <code>resize</code> transformer object. This way, the <code>resize</code> object can check <code>network.input_dimension</code> and resize the data accordingly!</p>\n<p>Now, what I had failed to understand correctly when I coded it like this, is that when you are using multiple workers for your data loading, it spawns new processes. This means that your dataset, and thus also your transformer objects, get copied to these new processes. Because my <code>resize</code> transformer has a reference to my <code>network</code> object, this <code>network</code> object will also be copied to every worker-process. This eventually means that when I change the input dimension in my main process, nothing changes in the worker processes (their reference to <code>network</code> didn’t change input dimensions).</p>\n<p>Now I want to only have a width and height variable in my <code>resize</code> object, because copying the entire network was stupid and useless. But I don’t know how I can communicate with my worker processes to tell them the input dimensions have changed!</p>\n<p>Any help is appreciated!</p>\n<p><strong>EDIT 1:</strong><br>\nThis is the code for spawning the workers.</p>\n<pre><code class=\"lang-auto\">self.workers = [\n                multiprocessing.Process(\n                    target=_worker_loop,\n                    args=(self.dataset, self.index_queue, self.data_queue, self.collate_fn))\n                for _ in range(self.num_workers)]\n</code></pre>\n<p>So if I add <code>self.input_dim = multiprocessing.Array('i', (width, height))</code> to my dataset, that variable will be shared?</p>\n<p><strong>EDIT 2:</strong><br>\nHmm, tried adding the multiprocessing.Array, with no luck so far… <img src=\"//discuss.pytorch.org/images/emoji/apple/sweat.png?v=5\" title=\":sweat:\" class=\"emoji\" alt=\":sweat:\"></p>",952          "post_number": 1,953          "post_type": 1,954          "posts_count": 9,955          "updated_at": "2017-12-22T17:26:11.342Z",956          "reply_count": 0,957          "reply_to_post_number": null,958          "quote_count": 0,959          "incoming_link_count": 4168,960          "reads": 204,961          "readers_count": 203,962          "score": 20880.8,963          "yours": false,964          "topic_id": 11473,965          "topic_slug": "communicating-with-dataloader-workers",966          "display_username": "0phoff",967          "primary_group_name": null,968          "flair_name": null,969          "flair_url": null,970          "flair_bg_color": null,971          "flair_color": null,972          "flair_group_id": null,973          "badges_granted": [],974          "version": 3,975          "can_edit": false,976          "can_delete": false,977          "can_recover": false,978          "can_see_hidden_post": false,979          "can_wiki": false,980          "read": true,981          "user_title": null,982          "bookmarked": false,983          "actions_summary": [984            {985              "id": 2,986              "count": 1987            }988          ],989          "moderator": false,990          "admin": false,991          "staff": false,992          "user_id": 4619,993          "hidden": false,994          "trust_level": 2,995          "deleted_at": null,996          "user_deleted": false,997          "edit_reason": null,998          "can_view_edit_history": true,999          "wiki": false,1000          "post_url": "/t/communicating-with-dataloader-workers/11473/1",1001          "can_accept_answer": false,1002          "can_unaccept_answer": false,1003          "accepted_answer": false,1004          "topic_accepted_answer": true,1005          "can_vote": false1006        },1007        {1008          "id": 28586,1009          "name": "Simon Wang",1010          "username": "SimonW",1011          "avatar_template": "/user_avatar/discuss.pytorch.org/simonw/{size}/1702_2.png",1012          "created_at": "2017-12-23T09:04:28.931Z",1013          "cooked": "<p><code>mp.Array</code> should work in theory… What behavior are you seeing?</p>",1014          "post_number": 2,1015          "post_type": 1,1016          "posts_count": 9,1017          "updated_at": "2017-12-26T09:03:23.641Z",1018          "reply_count": 0,1019          "reply_to_post_number": null,1020          "quote_count": 0,1021          "incoming_link_count": 5,1022          "reads": 180,1023          "readers_count": 179,1024          "score": 61.0,1025          "yours": false,1026          "topic_id": 11473,1027          "topic_slug": "communicating-with-dataloader-workers",1028          "display_username": "Simon Wang",1029          "primary_group_name": null,1030          "flair_name": null,1031          "flair_url": null,1032          "flair_bg_color": null,1033          "flair_color": null,1034          "flair_group_id": null,1035          "badges_granted": [],1036          "version": 1,1037          "can_edit": false,1038          "can_delete": false,1039          "can_recover": false,1040          "can_see_hidden_post": false,1041          "can_wiki": false,1042          "read": true,1043          "user_title": null,1044          "bookmarked": false,1045          "actions_summary": [],1046          "moderator": true,1047          "admin": false,1048          "staff": true,1049          "user_id": 3480,1050          "hidden": false,1051          "trust_level": 2,1052          "deleted_at": null,1053          "user_deleted": false,1054          "edit_reason": null,1055          "can_view_edit_history": true,1056          "wiki": false,1057          "post_url": "/t/communicating-with-dataloader-workers/11473/2",1058          "can_accept_answer": false,1059          "can_unaccept_answer": false,1060          "accepted_answer": false,1061          "topic_accepted_answer": true1062        },1063        {1064          "id": 28587,1065          "name": "0phoff",1066          "username": "0phoff",1067          "avatar_template": "/user_avatar/discuss.pytorch.org/0phoff/{size}/2318_2.png",1068          "created_at": "2017-12-23T09:35:22.749Z",1069          "cooked": "<p>I just realized I might have made a silly mistake…<br>\nI created the <code>mp.array</code> but when changing the dimensions, I just assigned a new (width, height) tuple.<br>\nI think I have to assign it like <code>var[0] = w; var[1] = h</code> in stead!</p>\n<p>I will try this out on Monday! <img src=\"//discuss.pytorch.org/images/emoji/apple/slight_smile.png?v=5\" title=\":slight_smile:\" class=\"emoji\" alt=\":slight_smile:\"></p>\n<p>What I’m still wondering though, is whether <code>mp.array</code> works when it is a property of an object… We’ll see!</p>",1070          "post_number": 3,1071          "post_type": 1,1072          "posts_count": 9,1073          "updated_at": "2017-12-26T09:59:37.258Z",1074          "reply_count": 1,1075          "reply_to_post_number": null,1076          "quote_count": 0,1077          "incoming_link_count": 36,1078          "reads": 179,1079          "readers_count": 178,1080          "score": 220.8,1081          "yours": false,1082          "topic_id": 11473,1083          "topic_slug": "communicating-with-dataloader-workers",1084          "display_username": "0phoff",1085          "primary_group_name": null,1086          "flair_name": null,1087          "flair_url": null,1088          "flair_bg_color": null,1089          "flair_color": null,1090          "flair_group_id": null,1091          "badges_granted": [],1092          "version": 1,1093          "can_edit": false,1094          "can_delete": false,1095          "can_recover": false,1096          "can_see_hidden_post": false,1097          "can_wiki": false,1098          "read": true,1099          "user_title": null,1100          "bookmarked": false,1101          "actions_summary": [],1102          "moderator": false,1103          "admin": false,1104          "staff": false,1105          "user_id": 4619,1106          "hidden": false,1107          "trust_level": 2,1108          "deleted_at": null,1109          "user_deleted": false,1110          "edit_reason": null,1111          "can_view_edit_history": true,1112          "wiki": false,1113          "post_url": "/t/communicating-with-dataloader-workers/11473/3",1114          "can_accept_answer": false,1115          "can_unaccept_answer": false,1116          "accepted_answer": false,1117          "topic_accepted_answer": true1118        },1119        {1120          "id": 28676,1121          "name": "Simon Wang",1122          "username": "SimonW",1123          "avatar_template": "/user_avatar/discuss.pytorch.org/simonw/{size}/1702_2.png",1124          "created_at": "2017-12-24T18:39:07.534Z",1125          "cooked": "<p>Yeah, you definitely need to assign data as elements of the array. It should work as attribute of an object.</p>",1126          "post_number": 4,1127          "post_type": 1,1128          "posts_count": 9,1129          "updated_at": "2017-12-24T18:39:07.534Z",1130          "reply_count": 1,1131          "reply_to_post_number": 3,1132          "quote_count": 0,1133          "incoming_link_count": 9,1134          "reads": 166,1135          "readers_count": 165,1136          "score": 83.2,1137          "yours": false,1138          "topic_id": 11473,1139          "topic_slug": "communicating-with-dataloader-workers",1140          "display_username": "Simon Wang",1141          "primary_group_name": null,1142          "flair_name": null,1143          "flair_url": null,1144          "flair_bg_color": null,1145          "flair_color": null,1146          "flair_group_id": null,1147          "badges_granted": [],1148          "version": 1,1149          "can_edit": false,1150          "can_delete": false,1151          "can_recover": false,1152          "can_see_hidden_post": false,1153          "can_wiki": false,1154          "read": true,1155          "user_title": null,1156          "reply_to_user": {1157            "id": 4619,1158            "username": "0phoff",1159            "name": "0phoff",1160            "avatar_template": "/user_avatar/discuss.pytorch.org/0phoff/{size}/2318_2.png"1161          },1162          "bookmarked": false,1163          "actions_summary": [],1164          "moderator": true,1165          "admin": false,1166          "staff": true,1167          "user_id": 3480,1168          "hidden": false,1169          "trust_level": 2,1170          "deleted_at": null,1171          "user_deleted": false,1172          "edit_reason": null,1173          "can_view_edit_history": true,1174          "wiki": false,1175          "post_url": "/t/communicating-with-dataloader-workers/11473/4",1176          "can_accept_answer": false,1177          "can_unaccept_answer": false,1178          "accepted_answer": false,1179          "topic_accepted_answer": true1180        },1181        {1182          "id": 28768,1183          "name": "0phoff",1184          "username": "0phoff",1185          "avatar_template": "/user_avatar/discuss.pytorch.org/0phoff/{size}/2318_2.png",1186          "created_at": "2017-12-26T08:46:25.770Z",1187          "cooked": "<p><a class=\"mention\" href=\"/u/simonw\">@SimonW</a>, thank you for your help, it works as expected!! <img src=\"//discuss.pytorch.org/images/emoji/apple/smile.png?v=5\" title=\":smile:\" class=\"emoji\" alt=\":smile:\"></p>",1188          "post_number": 5,1189          "post_type": 1,1190          "posts_count": 9,1191          "updated_at": "2017-12-26T08:46:25.770Z",1192          "reply_count": 0,1193          "reply_to_post_number": 4,1194          "quote_count": 0,1195          "incoming_link_count": 13,1196          "reads": 156,1197          "readers_count": 155,1198          "score": 111.2,1199          "yours": false,1200          "topic_id": 11473,

Showing the first 1,200 of 66703 lines. Download the file for the rest.