CoolFace
Datasetpublic

Anurag1734/cuda-error-resolution-analysis

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes7downloads
topics_batch_52.json66797 linesDownload Raw Back to raw
1[2  {3    "post_stream": {4      "posts": [5        {6          "id": 281579,7          "name": "Damiano Zappia",8          "username": "Damiano_Zappia",9          "avatar_template": "/user_avatar/discuss.pytorch.org/damiano_zappia/{size}/37280_2.png",10          "created_at": "2021-05-05T08:29:16.455Z",11          "cooked": "<p>Hi,<br>\nI’m working on a code that fine tune Mask-RCNN model on a dataset, then save it, and load the model to integrate it in a GAN framework as generator, thus the Mask-RCNN model that is loaded, has to be trained further.<br>\nAnyway when I load the model and launch the training, it doesn’t update like if the parameters are freezed, how can it be possible?<br>\nI add a code to better understand:</p>\n<pre><code class=\"lang-auto\"># save\nPATH = \"./saved_models/generator\"+str(epoch)\ntorch.save({\n            'epoch': epoch,\n            'model_state_dict': model.state_dict(),\n            'optimizer_state_dict': optimizer.state_dict(),\n            }, PATH)\n\n# load \nepoch = 0 # last epoch for which the model was saved\n\nmodel = get_instance_segmentation_model(num_classes)\noptimizer = optimizer = torch.optim.SGD(params, lr=0.005,\n                            momentum=0.9, weight_decay=0.0005)\n\ncheckpoint = torch.load(PATH, map_location=device)\nmodel.load_state_dict(checkpoint['model_state_dict'])\noptimizer.load_state_dict(checkpoint['optimizer_state_dict'])\nepoch = checkpoint['epoch']\n\n\nmodel.train()\n</code></pre>\n<p>Am I missing something? If I train the model without saving it and proceed to the GAN training phase, the model update works and I can see change in results, while If I do the same but with a loaded model, results don’t change.</p>",12          "post_number": 1,13          "post_type": 1,14          "posts_count": 8,15          "updated_at": "2021-05-05T08:29:16.455Z",16          "reply_count": 0,17          "reply_to_post_number": null,18          "quote_count": 0,19          "incoming_link_count": 712,20          "reads": 25,21          "readers_count": 24,22          "score": 3560.0,23          "yours": false,24          "topic_id": 120302,25          "topic_slug": "loaded-model-doesnt-train-anymore",26          "display_username": "Damiano Zappia",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": 44462,48          "hidden": false,49          "trust_level": 1,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/loaded-model-doesnt-train-anymore/120302/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": 281684,64          "name": "Juan Montesinos",65          "username": "JuanFMontesinos",66          "avatar_template": "/user_avatar/discuss.pytorch.org/juanfmontesinos/{size}/76115_2.png",67          "created_at": "2021-05-05T21:14:53.508Z",68          "cooked": "<p>Can you try to define the optimizer after loading the state dict?<br>\nNot sure if the optimizer is pointing to the proper tensors.</p>",69          "post_number": 2,70          "post_type": 1,71          "posts_count": 8,72          "updated_at": "2021-05-05T21:14:53.508Z",73          "reply_count": 1,74          "reply_to_post_number": null,75          "quote_count": 0,76          "incoming_link_count": 2,77          "reads": 20,78          "readers_count": 19,79          "score": 34.0,80          "yours": false,81          "topic_id": 120302,82          "topic_slug": "loaded-model-doesnt-train-anymore",83          "display_username": "Juan Montesinos",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            {102              "id": 2,103              "count": 1104            }105          ],106          "moderator": false,107          "admin": false,108          "staff": false,109          "user_id": 9081,110          "hidden": false,111          "trust_level": 2,112          "deleted_at": null,113          "user_deleted": false,114          "edit_reason": null,115          "can_view_edit_history": true,116          "wiki": false,117          "post_url": "/t/loaded-model-doesnt-train-anymore/120302/2",118          "can_accept_answer": false,119          "can_unaccept_answer": false,120          "accepted_answer": false,121          "topic_accepted_answer": null122        },123        {124          "id": 282441,125          "name": "Damiano Zappia",126          "username": "Damiano_Zappia",127          "avatar_template": "/user_avatar/discuss.pytorch.org/damiano_zappia/{size}/37280_2.png",128          "created_at": "2021-05-08T16:09:50.220Z",129          "cooked": "<p>Hi <a class=\"mention\" href=\"/u/juanfmontesinos\">@JuanFMontesinos</a>  and thanks for your answer.<br>\nDo you mean first load the state dict and then define the optimizer? I just tried but nothing.<br>\nLoaded model in training phase has zero gradient flow, basically it doesn’t train at all.</p>",130          "post_number": 3,131          "post_type": 1,132          "posts_count": 8,133          "updated_at": "2021-05-08T16:09:50.220Z",134          "reply_count": 1,135          "reply_to_post_number": 2,136          "quote_count": 0,137          "incoming_link_count": 3,138          "reads": 19,139          "readers_count": 18,140          "score": 23.8,141          "yours": false,142          "topic_id": 120302,143          "topic_slug": "loaded-model-doesnt-train-anymore",144          "display_username": "Damiano Zappia",145          "primary_group_name": null,146          "flair_name": null,147          "flair_url": null,148          "flair_bg_color": null,149          "flair_color": null,150          "flair_group_id": null,151          "badges_granted": [],152          "version": 1,153          "can_edit": false,154          "can_delete": false,155          "can_recover": false,156          "can_see_hidden_post": false,157          "can_wiki": false,158          "read": true,159          "user_title": null,160          "reply_to_user": {161            "id": 9081,162            "username": "JuanFMontesinos",163            "name": "Juan Montesinos",164            "avatar_template": "/user_avatar/discuss.pytorch.org/juanfmontesinos/{size}/76115_2.png"165          },166          "bookmarked": false,167          "actions_summary": [],168          "moderator": false,169          "admin": false,170          "staff": false,171          "user_id": 44462,172          "hidden": false,173          "trust_level": 1,174          "deleted_at": null,175          "user_deleted": false,176          "edit_reason": null,177          "can_view_edit_history": true,178          "wiki": false,179          "post_url": "/t/loaded-model-doesnt-train-anymore/120302/3",180          "can_accept_answer": false,181          "can_unaccept_answer": false,182          "accepted_answer": false,183          "topic_accepted_answer": null184        },185        {186          "id": 282587,187          "name": "Juan Montesinos",188          "username": "JuanFMontesinos",189          "avatar_template": "/user_avatar/discuss.pytorch.org/juanfmontesinos/{size}/76115_2.png",190          "created_at": "2021-05-09T19:13:59.893Z",191          "cooked": "<p>My insight was that loading the state dict after defining the optimizer was making the optimizer to update “other” weights (the ones corresponding to the model before replacing them by the loaded ones).</p>\n<p>If that’s not the case you will probably have some bug anywhere else.</p>",192          "post_number": 4,193          "post_type": 1,194          "posts_count": 8,195          "updated_at": "2021-05-09T19:13:59.893Z",196          "reply_count": 1,197          "reply_to_post_number": 3,198          "quote_count": 0,199          "incoming_link_count": 3,200          "reads": 17,201          "readers_count": 16,202          "score": 23.4,203          "yours": false,204          "topic_id": 120302,205          "topic_slug": "loaded-model-doesnt-train-anymore",206          "display_username": "Juan Montesinos",207          "primary_group_name": null,208          "flair_name": null,209          "flair_url": null,210          "flair_bg_color": null,211          "flair_color": null,212          "flair_group_id": null,213          "badges_granted": [],214          "version": 1,215          "can_edit": false,216          "can_delete": false,217          "can_recover": false,218          "can_see_hidden_post": false,219          "can_wiki": false,220          "read": true,221          "user_title": "",222          "reply_to_user": {223            "id": 44462,224            "username": "Damiano_Zappia",225            "name": "Damiano Zappia",226            "avatar_template": "/user_avatar/discuss.pytorch.org/damiano_zappia/{size}/37280_2.png"227          },228          "bookmarked": false,229          "actions_summary": [],230          "moderator": false,231          "admin": false,232          "staff": false,233          "user_id": 9081,234          "hidden": false,235          "trust_level": 2,236          "deleted_at": null,237          "user_deleted": false,238          "edit_reason": null,239          "can_view_edit_history": true,240          "wiki": false,241          "post_url": "/t/loaded-model-doesnt-train-anymore/120302/4",242          "can_accept_answer": false,243          "can_unaccept_answer": false,244          "accepted_answer": false,245          "topic_accepted_answer": null246        },247        {248          "id": 282621,249          "name": "Damiano Zappia",250          "username": "Damiano_Zappia",251          "avatar_template": "/user_avatar/discuss.pytorch.org/damiano_zappia/{size}/37280_2.png",252          "created_at": "2021-05-09T21:05:45.251Z",253          "cooked": "<p>Yeah maybe you are right and the error is somewhere else in the code. Loading the state dict before defining the optimizer would not be possible if I’m not wrong, because calling .load_state_dict() on the optimizer needs that it was defined.</p>",254          "post_number": 5,255          "post_type": 1,256          "posts_count": 8,257          "updated_at": "2021-05-09T21:05:45.251Z",258          "reply_count": 1,259          "reply_to_post_number": 4,260          "quote_count": 0,261          "incoming_link_count": 74,262          "reads": 17,263          "readers_count": 16,264          "score": 378.4,265          "yours": false,266          "topic_id": 120302,267          "topic_slug": "loaded-model-doesnt-train-anymore",268          "display_username": "Damiano Zappia",269          "primary_group_name": null,270          "flair_name": null,271          "flair_url": null,272          "flair_bg_color": null,273          "flair_color": null,274          "flair_group_id": null,275          "badges_granted": [],276          "version": 1,277          "can_edit": false,278          "can_delete": false,279          "can_recover": false,280          "can_see_hidden_post": false,281          "can_wiki": false,282          "read": true,283          "user_title": null,284          "reply_to_user": {285            "id": 9081,286            "username": "JuanFMontesinos",287            "name": "Juan Montesinos",288            "avatar_template": "/user_avatar/discuss.pytorch.org/juanfmontesinos/{size}/76115_2.png"289          },290          "bookmarked": false,291          "actions_summary": [],292          "moderator": false,293          "admin": false,294          "staff": false,295          "user_id": 44462,296          "hidden": false,297          "trust_level": 1,298          "deleted_at": null,299          "user_deleted": false,300          "edit_reason": null,301          "can_view_edit_history": true,302          "wiki": false,303          "post_url": "/t/loaded-model-doesnt-train-anymore/120302/5",304          "can_accept_answer": false,305          "can_unaccept_answer": false,306          "accepted_answer": false,307          "topic_accepted_answer": null308        },309        {310          "id": 282629,311          "name": "Juan Montesinos",312          "username": "JuanFMontesinos",313          "avatar_template": "/user_avatar/discuss.pytorch.org/juanfmontesinos/{size}/76115_2.png",314          "created_at": "2021-05-09T22:28:25.399Z",315          "cooked": "<p>Well I meant loading model’s state dict before passing its parameters to the optimizer.</p>",316          "post_number": 6,317          "post_type": 1,318          "posts_count": 8,319          "updated_at": "2021-05-09T22:28:25.399Z",320          "reply_count": 1,321          "reply_to_post_number": 5,322          "quote_count": 0,323          "incoming_link_count": 3,324          "reads": 17,325          "readers_count": 16,326          "score": 38.4,327          "yours": false,328          "topic_id": 120302,329          "topic_slug": "loaded-model-doesnt-train-anymore",330          "display_username": "Juan Montesinos",331          "primary_group_name": null,332          "flair_name": null,333          "flair_url": null,334          "flair_bg_color": null,335          "flair_color": null,336          "flair_group_id": null,337          "badges_granted": [],338          "version": 1,339          "can_edit": false,340          "can_delete": false,341          "can_recover": false,342          "can_see_hidden_post": false,343          "can_wiki": false,344          "read": true,345          "user_title": "",346          "reply_to_user": {347            "id": 44462,348            "username": "Damiano_Zappia",349            "name": "Damiano Zappia",350            "avatar_template": "/user_avatar/discuss.pytorch.org/damiano_zappia/{size}/37280_2.png"351          },352          "bookmarked": false,353          "actions_summary": [354            {355              "id": 2,356              "count": 1357            }358          ],359          "moderator": false,360          "admin": false,361          "staff": false,362          "user_id": 9081,363          "hidden": false,364          "trust_level": 2,365          "deleted_at": null,366          "user_deleted": false,367          "edit_reason": null,368          "can_view_edit_history": true,369          "wiki": false,370          "post_url": "/t/loaded-model-doesnt-train-anymore/120302/6",371          "can_accept_answer": false,372          "can_unaccept_answer": false,373          "accepted_answer": false,374          "topic_accepted_answer": null375        },376        {377          "id": 407128,378          "name": "Yyote",379          "username": "Yyote",380          "avatar_template": "/user_avatar/discuss.pytorch.org/yyote/{size}/61549_2.png",381          "created_at": "2023-06-22T22:16:28.863Z",382          "cooked": "<p>This worked for me, thanks! My loading code goes like this:</p>\n<pre><code class=\"lang-auto\"># Load the network\nmodel = NeuralNetwork().to(device)\n# model.load_state_dict(torch.load(save_name))\ncheckpoint = torch.load(save_name)\nmodel.load_state_dict(checkpoint['state_dict'])\noptimizer = torch.optim.SGD(model.parameters(), lr=1e-3)\noptimizer.load_state_dict(checkpoint['optimizer'])\nprint(\"Model loaded!\")\n</code></pre>",383          "post_number": 7,384          "post_type": 1,385          "posts_count": 8,386          "updated_at": "2023-06-22T22:16:42.530Z",387          "reply_count": 1,388          "reply_to_post_number": 6,389          "quote_count": 0,390          "incoming_link_count": 6,391          "reads": 10,392          "readers_count": 9,393          "score": 37.0,394          "yours": false,395          "topic_id": 120302,396          "topic_slug": "loaded-model-doesnt-train-anymore",397          "display_username": "Yyote",398          "primary_group_name": null,399          "flair_name": null,400          "flair_url": null,401          "flair_bg_color": null,402          "flair_color": null,403          "flair_group_id": null,404          "badges_granted": [],405          "version": 1,406          "can_edit": false,407          "can_delete": false,408          "can_recover": false,409          "can_see_hidden_post": false,410          "can_wiki": false,411          "read": true,412          "user_title": null,413          "reply_to_user": {414            "id": 9081,415            "username": "JuanFMontesinos",416            "name": "Juan Montesinos",417            "avatar_template": "/user_avatar/discuss.pytorch.org/juanfmontesinos/{size}/76115_2.png"418          },419          "bookmarked": false,420          "actions_summary": [],421          "moderator": false,422          "admin": false,423          "staff": false,424          "user_id": 67245,425          "hidden": false,426          "trust_level": 0,427          "deleted_at": null,428          "user_deleted": false,429          "edit_reason": null,430          "can_view_edit_history": true,431          "wiki": false,432          "post_url": "/t/loaded-model-doesnt-train-anymore/120302/7",433          "can_accept_answer": false,434          "can_unaccept_answer": false,435          "accepted_answer": false,436          "topic_accepted_answer": null437        },438        {439          "id": 447725,440          "name": "Arafat Al Zaman",441          "username": "Arafat_Al_Zaman",442          "avatar_template": "/user_avatar/discuss.pytorch.org/arafat_al_zaman/{size}/62988_2.png",443          "created_at": "2024-07-01T20:27:32.491Z",444          "cooked": "<p>Hello <a class=\"mention\" href=\"/u/yyote\">@Yyote</a>,</p>\n<p>I am doing as the below:</p>\n<pre><code class=\"lang-auto\">model = self.model\nmodel.load_state_dict(checkpoint['model_state_dict'])\noptimizer = get_optimizer(model, lr=self.lr, lr_scale=self.lr_scale)\noptimizer.load_state_dict(checkpoint['optimizer_state_dict'])\nscheduler = get_linear_schedule_with_warmup(optimizer, num_warmup_steps=0, num_training_steps=self.total_steps)\nscheduler.load_state_dict(checkpoint['scheduler_state_dict'])\n\nself.model = model\nself.optimizer = optimizer\nself.scheduler = scheduler\n</code></pre>\n<p>But still doesn’t work. Could you help me, please?</p>",445          "post_number": 8,446          "post_type": 1,447          "posts_count": 8,448          "updated_at": "2024-07-01T20:48:26.708Z",449          "reply_count": 0,450          "reply_to_post_number": 7,451          "quote_count": 0,452          "incoming_link_count": 0,453          "reads": 5,454          "readers_count": 4,455          "score": 1.0,456          "yours": false,457          "topic_id": 120302,458          "topic_slug": "loaded-model-doesnt-train-anymore",459          "display_username": "Arafat Al Zaman",460          "primary_group_name": null,461          "flair_name": null,462          "flair_url": null,463          "flair_bg_color": null,464          "flair_color": null,465          "flair_group_id": null,466          "badges_granted": [],467          "version": 2,468          "can_edit": false,469          "can_delete": false,470          "can_recover": false,471          "can_see_hidden_post": false,472          "can_wiki": false,473          "read": true,474          "user_title": null,475          "reply_to_user": {476            "id": 67245,477            "username": "Yyote",478            "name": "Yyote",479            "avatar_template": "/user_avatar/discuss.pytorch.org/yyote/{size}/61549_2.png"480          },481          "bookmarked": false,482          "actions_summary": [],483          "moderator": false,484          "admin": false,485          "staff": false,486          "user_id": 77079,487          "hidden": false,488          "trust_level": 0,489          "deleted_at": null,490          "user_deleted": false,491          "edit_reason": null,492          "can_view_edit_history": true,493          "wiki": false,494          "post_url": "/t/loaded-model-doesnt-train-anymore/120302/8",495          "can_accept_answer": false,496          "can_unaccept_answer": false,497          "accepted_answer": false,498          "topic_accepted_answer": null499        }500      ],501      "stream": [502        281579,503        281684,504        282441,505        282587,506        282621,507        282629,508        407128,509        447725510      ]511    },512    "timeline_lookup": [513      [514        1,515        1634516      ],517      [518        3,519        1631520      ],521      [522        4,523        1630524      ],525      [526        7,527        856528      ],529      [530        8,531        481532      ]533    ],534    "suggested_topics": [535      {536        "fancy_title": "Pooling with a custom kernel?",537        "id": 217660,538        "title": "Pooling with a custom kernel?",539        "slug": "pooling-with-a-custom-kernel",540        "posts_count": 2,541        "reply_count": 0,542        "highest_post_number": 2,543        "image_url": null,544        "created_at": "2025-03-10T11:11:41.968Z",545        "last_posted_at": "2025-03-10T15:10:50.281Z",546        "bumped": true,547        "bumped_at": "2025-03-10T15:10:50.281Z",548        "archetype": "regular",549        "unseen": false,550        "pinned": false,551        "unpinned": null,552        "visible": true,553        "closed": false,554        "archived": false,555        "bookmarked": null,556        "liked": null,557        "tags_descriptions": {},558        "like_count": 0,559        "views": 65,560        "category_id": 5,561        "featured_link": null,562        "has_accepted_answer": false,563        "posters": [564          {565            "extras": null,566            "description": "Original Poster",567            "user": {568              "id": 83175,569              "username": "shroomite",570              "name": "Karol",571              "avatar_template": "/user_avatar/discuss.pytorch.org/shroomite/{size}/76075_2.png",572              "trust_level": 1573            }574          },575          {576            "extras": "latest",577            "description": "Most Recent Poster",578            "user": {579              "id": 18088,580              "username": "KFrank",581              "name": "K. Frank",582              "avatar_template": "/letter_avatar_proxy/v4/letter/k/ecb155/{size}.png",583              "trust_level": 2584            }585          }586        ]587      },588      {589        "fancy_title": "ResUnet implementation in pytorch for medical image segmentation",590        "id": 212702,591        "title": "ResUnet implementation in pytorch for medical image segmentation",592        "slug": "resunet-implementation-in-pytorch-for-medical-image-segmentation",593        "posts_count": 2,594        "reply_count": 0,595        "highest_post_number": 2,596        "image_url": null,597        "created_at": "2024-11-08T11:32:30.168Z",598        "last_posted_at": "2024-11-11T19:57:35.383Z",599        "bumped": true,600        "bumped_at": "2024-11-11T19:57:35.383Z",601        "archetype": "regular",602        "unseen": false,603        "pinned": false,604        "unpinned": null,605        "visible": true,606        "closed": false,607        "archived": false,608        "bookmarked": null,609        "liked": null,610        "tags_descriptions": {},611        "like_count": 0,612        "views": 106,613        "category_id": 5,614        "featured_link": null,615        "has_accepted_answer": false,616        "posters": [617          {618            "extras": null,619            "description": "Original Poster",620            "user": {621              "id": 80772,622              "username": "Saurav_K_Mhptra",623              "name": "Saurav Kausik Mahapatra",624              "avatar_template": "/user_avatar/discuss.pytorch.org/saurav_k_mhptra/{size}/73231_2.png",625              "trust_level": 0626            }627          },628          {629            "extras": "latest",630            "description": "Most Recent Poster",631            "user": {632              "id": 75871,633              "username": "qq-me",634              "name": "Ivan Nikishev",635              "avatar_template": "/user_avatar/discuss.pytorch.org/qq-me/{size}/70055_2.png",636              "trust_level": 2637            }638          }639        ]640      },641      {642        "fancy_title": "Comfy_UI:Attempting to use hipBLASLt on a unsupported architecture!",643        "id": 215776,644        "title": "Comfy_UI:Attempting to use hipBLASLt on a unsupported architecture!",645        "slug": "comfy-ui-attempting-to-use-hipblaslt-on-a-unsupported-architecture",646        "posts_count": 25,647        "reply_count": 17,648        "highest_post_number": 25,649        "image_url": null,650        "created_at": "2025-01-23T15:06:28.660Z",651        "last_posted_at": "2025-04-21T15:50:34.701Z",652        "bumped": true,653        "bumped_at": "2025-04-21T15:50:34.701Z",654        "archetype": "regular",655        "unseen": false,656        "pinned": false,657        "unpinned": null,658        "visible": true,659        "closed": false,660        "archived": false,661        "bookmarked": null,662        "liked": null,663        "tags_descriptions": {},664        "like_count": 2,665        "views": 1907,666        "category_id": 5,667        "featured_link": null,668        "has_accepted_answer": true,669        "posters": [670          {671            "extras": null,672            "description": "Original Poster, Accepted Answer",673            "user": {674              "id": 82184,675              "username": "sersys",676              "name": "",677              "avatar_template": "/letter_avatar_proxy/v4/letter/s/c77e96/{size}.png",678              "trust_level": 1679            }680          },681          {682            "extras": null,683            "description": "Frequent Poster",684            "user": {685              "id": 39248,686              "username": "jaglinux",687              "name": "Jagadish Krishnamoorthy",688              "avatar_template": "/user_avatar/discuss.pytorch.org/jaglinux/{size}/31429_2.png",689              "trust_level": 1690            }691          },692          {693            "extras": null,694            "description": "Frequent Poster",695            "user": {696              "id": 82792,697              "username": "fluidnumerics_joe",698              "name": "Joseph Schoonover",699              "avatar_template": "/user_avatar/discuss.pytorch.org/fluidnumerics_joe/{size}/75754_2.png",700              "trust_level": 1701            }702          },703          {704            "extras": "latest",705            "description": "Most Recent Poster",706            "user": {707              "id": 83932,708              "username": "RPaciorek",709              "name": "RPaciorek",710              "avatar_template": "/user_avatar/discuss.pytorch.org/rpaciorek/{size}/76728_2.png",711              "trust_level": 0712            }713          }714        ]715      },716      {717        "fancy_title": "Encoder-Bottleneck-Decoder Unet Based Semantic Segmentation",718        "id": 214096,719        "title": "Encoder-Bottleneck-Decoder Unet Based Semantic Segmentation",720        "slug": "encoder-bottleneck-decoder-unet-based-semantic-segmentation",721        "posts_count": 3,722        "reply_count": 1,723        "highest_post_number": 3,724        "image_url": null,725        "created_at": "2024-12-11T10:13:08.305Z",726        "last_posted_at": "2024-12-18T06:52:53.050Z",727        "bumped": true,728        "bumped_at": "2024-12-18T06:52:53.050Z",729        "archetype": "regular",730        "unseen": false,731        "pinned": false,732        "unpinned": null,733        "visible": true,734        "closed": false,735        "archived": false,736        "bookmarked": null,737        "liked": null,738        "tags_descriptions": {},739        "like_count": 1,740        "views": 314,741        "category_id": 5,742        "featured_link": null,743        "has_accepted_answer": false,744        "posters": [745          {746            "extras": "latest",747            "description": "Original Poster, Most Recent Poster",748            "user": {749              "id": 81422,750              "username": "Idrees11",751              "name": "Idrees Bhat",752              "avatar_template": "/user_avatar/discuss.pytorch.org/idrees11/{size}/74448_2.png",753              "trust_level": 1754            }755          },756          {757            "extras": null,758            "description": "Frequent Poster",759            "user": {760              "id": 18088,761              "username": "KFrank",762              "name": "K. Frank",763              "avatar_template": "/letter_avatar_proxy/v4/letter/k/ecb155/{size}.png",764              "trust_level": 2765            }766          }767        ]768      },769      {770        "fancy_title": "Behavior of Autocontrast on Normalized Images and Default Value for `contrast_factor`",771        "id": 218967,772        "title": "Behavior of Autocontrast on Normalized Images and Default Value for `contrast_factor`",773        "slug": "behavior-of-autocontrast-on-normalized-images-and-default-value-for-contrast-factor",774        "posts_count": 1,775        "reply_count": 0,776        "highest_post_number": 1,777        "image_url": null,778        "created_at": "2025-04-11T10:07:41.312Z",779        "last_posted_at": "2025-04-11T10:07:41.358Z",780        "bumped": true,781        "bumped_at": "2025-04-11T10:07:41.358Z",782        "archetype": "regular",783        "unseen": false,784        "pinned": false,785        "unpinned": null,786        "visible": true,787        "closed": false,788        "archived": false,789        "bookmarked": null,790        "liked": null,791        "tags_descriptions": {},792        "like_count": 0,793        "views": 22,794        "category_id": 5,795        "featured_link": null,796        "has_accepted_answer": false,797        "posters": [798          {799            "extras": "latest single",800            "description": "Original Poster, Most Recent Poster",801            "user": {802              "id": 71430,803              "username": "Fatemeh_A",804              "name": "Fatemeh",805              "avatar_template": "/user_avatar/discuss.pytorch.org/fatemeh_a/{size}/65970_2.png",806              "trust_level": 1807            }808          }809        ]810      }811    ],812    "tags_descriptions": {},813    "fancy_title": "Loaded model doesn&rsquo;t train anymore",814    "id": 120302,815    "title": "Loaded model doesn't train anymore",816    "posts_count": 8,817    "created_at": "2021-05-05T08:29:16.398Z",818    "views": 1785,819    "reply_count": 6,820    "like_count": 2,821    "last_posted_at": "2024-07-01T20:27:32.491Z",822    "visible": true,823    "closed": false,824    "archived": false,825    "has_summary": false,826    "archetype": "regular",827    "slug": "loaded-model-doesnt-train-anymore",828    "category_id": 5,829    "word_count": 461,830    "deleted_at": null,831    "user_id": 44462,832    "featured_link": null,833    "pinned_globally": false,834    "pinned_at": null,835    "pinned_until": null,836    "image_url": null,837    "slow_mode_seconds": 0,838    "draft": null,839    "draft_key": "topic_120302",840    "draft_sequence": null,841    "unpinned": null,842    "pinned": false,843    "current_post_number": 1,844    "highest_post_number": 8,845    "deleted_by": null,846    "actions_summary": [847      {848        "id": 4,849        "count": 0,850        "hidden": false,851        "can_act": false852      },853      {854        "id": 8,855        "count": 0,856        "hidden": false,857        "can_act": false858      },859      {860        "id": 10,861        "count": 0,862        "hidden": false,863        "can_act": false864      },865      {866        "id": 7,867        "count": 0,868        "hidden": false,869        "can_act": false870      }871    ],872    "chunk_size": 20,873    "bookmarked": false,874    "topic_timer": null,875    "message_bus_last_id": 0,876    "participant_count": 4,877    "show_read_indicator": false,878    "thumbnails": null,879    "slow_mode_enabled_until": null,880    "can_vote": false,881    "vote_count": 0,882    "user_voted": false,883    "discourse_zendesk_plugin_zendesk_id": null,884    "discourse_zendesk_plugin_zendesk_url": "https://your-url.zendesk.com/agent/tickets/",885    "details": {886      "can_edit": false,887      "notification_level": 1,888      "participants": [889        {890          "id": 9081,891          "username": "JuanFMontesinos",892          "name": "Juan Montesinos",893          "avatar_template": "/user_avatar/discuss.pytorch.org/juanfmontesinos/{size}/76115_2.png",894          "post_count": 3,895          "primary_group_name": null,896          "flair_name": null,897          "flair_url": null,898          "flair_color": null,899          "flair_bg_color": null,900          "flair_group_id": null,901          "trust_level": 2902        },903        {904          "id": 44462,905          "username": "Damiano_Zappia",906          "name": "Damiano Zappia",907          "avatar_template": "/user_avatar/discuss.pytorch.org/damiano_zappia/{size}/37280_2.png",908          "post_count": 3,909          "primary_group_name": null,910          "flair_name": null,911          "flair_url": null,912          "flair_color": null,913          "flair_bg_color": null,914          "flair_group_id": null,915          "trust_level": 1916        },917        {918          "id": 67245,919          "username": "Yyote",920          "name": "Yyote",921          "avatar_template": "/user_avatar/discuss.pytorch.org/yyote/{size}/61549_2.png",922          "post_count": 1,923          "primary_group_name": null,924          "flair_name": null,925          "flair_url": null,926          "flair_color": null,927          "flair_bg_color": null,928          "flair_group_id": null,929          "trust_level": 0930        },931        {932          "id": 77079,933          "username": "Arafat_Al_Zaman",934          "name": "Arafat Al Zaman",935          "avatar_template": "/user_avatar/discuss.pytorch.org/arafat_al_zaman/{size}/62988_2.png",936          "post_count": 1,937          "primary_group_name": null,938          "flair_name": null,939          "flair_url": null,940          "flair_color": null,941          "flair_bg_color": null,942          "flair_group_id": null,943          "trust_level": 0944        }945      ],946      "created_by": {947        "id": 44462,948        "username": "Damiano_Zappia",949        "name": "Damiano Zappia",950        "avatar_template": "/user_avatar/discuss.pytorch.org/damiano_zappia/{size}/37280_2.png"951      },952      "last_poster": {953        "id": 77079,954        "username": "Arafat_Al_Zaman",955        "name": "Arafat Al Zaman",956        "avatar_template": "/user_avatar/discuss.pytorch.org/arafat_al_zaman/{size}/62988_2.png"957      }958    },959    "bookmarks": []960  },961  {962    "post_stream": {963      "posts": [964        {965          "id": 447713,966          "name": "Marwan Haioun",967          "username": "Marwan_Haioun",968          "avatar_template": "/user_avatar/discuss.pytorch.org/marwan_haioun/{size}/61700_2.png",969          "created_at": "2024-07-01T17:32:32.160Z",970          "cooked": "<p>Hello! I am trying to use pytorch for the first time in a while and am facing some problems regarding versioning. I have been trying to follow installation instructions from a specific github repository relying on pytorch ( ```<br>\nconda install pytorch==1.11.0 cudatoolkit=11.3 -c pytorch -y<br>\nconda install pyg::pytorch-scatter=2.0.9 -y</p>\n<pre><code class=\"lang-auto\">\nI'm currently working using Ubuntu on WSL and conda, and running nvidia-smi returns the following: \n![image|689x298](upload://AtcAqU1ZEXNgv3j4gYUNf3SXAUv.png)\n\nSo how should I approach this? Everything I've done so far resulted in my GPU not being recognized by torch (I've tried to install cuda toolkit 11.3 and 11.8, should I try more recent versions?).\n\nThanks!</code></pre>",971          "post_number": 1,972          "post_type": 1,973          "posts_count": 2,974          "updated_at": "2024-07-01T17:32:32.160Z",975          "reply_count": 0,976          "reply_to_post_number": null,977          "quote_count": 0,978          "incoming_link_count": 47,979          "reads": 3,980          "readers_count": 2,981          "score": 225.6,982          "yours": false,983          "topic_id": 205584,984          "topic_slug": "understanding-versions-compatibility",985          "display_username": "Marwan Haioun",986          "primary_group_name": null,987          "flair_name": null,988          "flair_url": null,989          "flair_bg_color": null,990          "flair_color": null,991          "flair_group_id": null,992          "badges_granted": [],993          "version": 1,994          "can_edit": false,995          "can_delete": false,996          "can_recover": false,997          "can_see_hidden_post": false,998          "can_wiki": false,999          "read": true,1000          "user_title": null,1001          "bookmarked": false,1002          "actions_summary": [],1003          "moderator": false,1004          "admin": false,1005          "staff": false,1006          "user_id": 77074,1007          "hidden": false,1008          "trust_level": 0,1009          "deleted_at": null,1010          "user_deleted": false,1011          "edit_reason": null,1012          "can_view_edit_history": true,1013          "wiki": false,1014          "post_url": "/t/understanding-versions-compatibility/205584/1",1015          "can_accept_answer": false,1016          "can_unaccept_answer": false,1017          "accepted_answer": false,1018          "topic_accepted_answer": null,1019          "can_vote": false1020        },1021        {1022          "id": 447715,1023          "name": "Marwan Haioun",1024          "username": "Marwan_Haioun",1025          "avatar_template": "/user_avatar/discuss.pytorch.org/marwan_haioun/{size}/61700_2.png",1026          "created_at": "2024-07-01T17:33:36.845Z",1027          "cooked": "<p><div class=\"lightbox-wrapper\"><a class=\"lightbox\" href=\"https://discuss.pytorch.org/uploads/default/original/3X/f/c/fc14914336a4a71b4aa77e7ed8f2b5110220862b.png\" data-download-href=\"https://discuss.pytorch.org/uploads/default/fc14914336a4a71b4aa77e7ed8f2b5110220862b\" title=\"image\"><img src=\"https://discuss.pytorch.org/uploads/default/original/3X/f/c/fc14914336a4a71b4aa77e7ed8f2b5110220862b.png\" alt=\"image\" data-base62-sha1=\"zY0o3KA3PZS8eHmXe5kYSIy5KXN\" width=\"690\" height=\"290\" data-dominant-color=\"1A1A1A\"><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\">1317×555 17.4 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>",1028          "post_number": 2,1029          "post_type": 1,1030          "posts_count": 2,1031          "updated_at": "2024-07-01T17:33:36.845Z",1032          "reply_count": 0,1033          "reply_to_post_number": null,1034          "quote_count": 0,1035          "incoming_link_count": 3,1036          "reads": 3,1037          "readers_count": 2,1038          "score": 15.6,1039          "yours": false,1040          "topic_id": 205584,1041          "topic_slug": "understanding-versions-compatibility",1042          "display_username": "Marwan Haioun",1043          "primary_group_name": null,1044          "flair_name": null,1045          "flair_url": null,1046          "flair_bg_color": null,1047          "flair_color": null,1048          "flair_group_id": null,1049          "badges_granted": [],1050          "version": 1,1051          "can_edit": false,1052          "can_delete": false,1053          "can_recover": false,1054          "can_see_hidden_post": false,1055          "can_wiki": false,1056          "link_counts": [1057            {1058              "url": "https://discuss.pytorch.org/uploads/default/original/3X/f/c/fc14914336a4a71b4aa77e7ed8f2b5110220862b.png",1059              "internal": true,1060              "reflection": false,1061              "clicks": 01062            }1063          ],1064          "read": true,1065          "user_title": null,1066          "bookmarked": false,1067          "actions_summary": [],1068          "moderator": false,1069          "admin": false,1070          "staff": false,1071          "user_id": 77074,1072          "hidden": false,1073          "trust_level": 0,1074          "deleted_at": null,1075          "user_deleted": false,1076          "edit_reason": null,1077          "can_view_edit_history": true,1078          "wiki": false,1079          "post_url": "/t/understanding-versions-compatibility/205584/2",1080          "can_accept_answer": false,1081          "can_unaccept_answer": false,1082          "accepted_answer": false,1083          "topic_accepted_answer": null1084        }1085      ],1086      "stream": [1087        447713,1088        4477151089      ]1090    },1091    "timeline_lookup": [1092      [1093        1,1094        4811095      ]1096    ],1097    "suggested_topics": [1098      {1099        "fancy_title": "Can Multi-Channel Outputs in U-Net Represent Multiple Time Steps for Rainfall Prediction?",1100        "id": 217366,1101        "title": "Can Multi-Channel Outputs in U-Net Represent Multiple Time Steps for Rainfall Prediction?",1102        "slug": "can-multi-channel-outputs-in-u-net-represent-multiple-time-steps-for-rainfall-prediction",1103        "posts_count": 5,1104        "reply_count": 3,1105        "highest_post_number": 5,1106        "image_url": null,1107        "created_at": "2025-03-03T03:50:16.496Z",1108        "last_posted_at": "2025-03-04T18:44:46.241Z",1109        "bumped": true,1110        "bumped_at": "2025-03-04T18:44:46.241Z",1111        "archetype": "regular",1112        "unseen": false,1113        "pinned": false,1114        "unpinned": null,1115        "visible": true,1116        "closed": false,1117        "archived": false,1118        "bookmarked": null,1119        "liked": null,1120        "tags_descriptions": {},1121        "like_count": 4,1122        "views": 100,1123        "category_id": 5,1124        "featured_link": null,1125        "has_accepted_answer": true,1126        "posters": [1127          {1128            "extras": null,1129            "description": "Original Poster",1130            "user": {1131              "id": 82912,1132              "username": "ILoveSorasakiHina",1133              "name": "ILoveTakanashiHoshino",1134              "avatar_template": "/user_avatar/discuss.pytorch.org/ilovesorasakihina/{size}/75858_2.png",1135              "trust_level": 11136            }1137          },1138          {1139            "extras": "latest",1140            "description": "Most Recent Poster, Accepted Answer",1141            "user": {1142              "id": 64488,1143              "username": "Naming-isDifficult",1144              "name": "",1145              "avatar_template": "/user_avatar/discuss.pytorch.org/naming-isdifficult/{size}/58644_2.png",1146              "trust_level": 21147            }1148          },1149          {1150            "extras": null,1151            "description": "Frequent Poster",1152            "user": {1153              "id": 18088,1154              "username": "KFrank",1155              "name": "K. Frank",1156              "avatar_template": "/letter_avatar_proxy/v4/letter/k/ecb155/{size}.png",1157              "trust_level": 21158            }1159          }1160        ]1161      },1162      {1163        "fancy_title": "Change vit_b_16 input size",1164        "id": 214515,1165        "title": "Change vit_b_16 input size",1166        "slug": "change-vit-b-16-input-size",1167        "posts_count": 2,1168        "reply_count": 0,1169        "highest_post_number": 2,1170        "image_url": null,1171        "created_at": "2024-12-21T18:00:08.693Z",1172        "last_posted_at": "2024-12-21T19:00:07.503Z",1173        "bumped": true,1174        "bumped_at": "2024-12-21T19:00:07.503Z",1175        "archetype": "regular",1176        "unseen": false,1177        "pinned": false,1178        "unpinned": null,1179        "visible": true,1180        "closed": false,1181        "archived": false,1182        "bookmarked": null,1183        "liked": null,1184        "tags_descriptions": {},1185        "like_count": 1,1186        "views": 193,1187        "category_id": 5,1188        "featured_link": null,1189        "has_accepted_answer": false,1190        "posters": [1191          {1192            "extras": null,1193            "description": "Original Poster",1194            "user": {1195              "id": 81646,1196              "username": "bruhnugget-nice",1197              "name": "bruhnugget",1198              "avatar_template": "/user_avatar/discuss.pytorch.org/bruhnugget-nice/{size}/74667_2.png",1199              "trust_level": 11200            }

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