CoolFace
Datasetpublic

Anurag1734/cuda-error-resolution-analysis

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes7downloads
topics_batch_489.json65243 linesDownload Raw Back to raw
1[2  {3    "post_stream": {4      "posts": [5        {6          "id": 189935,7          "name": "",8          "username": "saywwhaaaat",9          "avatar_template": "/letter_avatar_proxy/v4/letter/s/48db29/{size}.png",10          "created_at": "2020-05-06T23:21:57.806Z",11          "cooked": "<p>I am doing semantic segmentation task and I already train a model with a dataset that provides class label.</p>\n<p>Now, I have a new dataset that only provide category label rather than the class labels I used to train. But, to utilize the pretrained model, I have to either adapt the prediction layer channels from number of classes to number of category; or, I map the predicted class labels to category labels, then use this to compute cross entropy loss as before.</p>\n<p>For me, the second option sounds optimal, because all layers in the pretrained model can be applied.</p>\n<p>But, if I modify the predicted label, what would be the consequence to autograd?</p>\n<p>Thanks</p>",12          "post_number": 1,13          "post_type": 1,14          "posts_count": 4,15          "updated_at": "2020-05-06T23:22:55.193Z",16          "reply_count": 1,17          "reply_to_post_number": null,18          "quote_count": 0,19          "incoming_link_count": 228,20          "reads": 9,21          "readers_count": 8,22          "score": 1146.8,23          "yours": false,24          "topic_id": 80087,25          "topic_slug": "modify-predicted-class-label-to-category-label-before-computing-the-loss",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          "read": true,41          "user_title": null,42          "bookmarked": false,43          "actions_summary": [],44          "moderator": false,45          "admin": false,46          "staff": false,47          "user_id": 30104,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/modify-predicted-class-label-to-category-label-before-computing-the-loss/80087/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": 190031,64          "name": "",65          "username": "ptrblck",66          "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",67          "created_at": "2020-05-07T07:09:56.852Z",68          "cooked": "<aside class=\"quote no-group\" data-username=\"saywwhaaaat\" data-post=\"1\" data-topic=\"80087\">\n<div class=\"title\">\n<div class=\"quote-controls\"></div>\n<img loading=\"lazy\" alt=\"\" width=\"24\" height=\"24\" src=\"https://discuss.pytorch.org/letter_avatar_proxy/v4/letter/s/48db29/48.png\" class=\"avatar\"> saywwhaaaat:</div>\n<blockquote>\n<p>But, if I modify the predicted label, what would be the consequence to autograd?</p>\n</blockquote>\n</aside>\n<p>I’m citing <a class=\"mention\" href=\"/u/kfrank\">@KFrank</a> here:</p>\n<blockquote>\n<p>The number-one rule is that your output means whatever you train it to mean…</p>\n</blockquote>\n<p>I’m not sure what kind of classes and categories you are using and how similar they are.<br>\nE.g. if you remap “husky” and “bulldog” to a “dog” class, your model might still work fine.<br>\nDepending how the remapping is done, you might need to retrain the model.</p>",69          "post_number": 2,70          "post_type": 1,71          "posts_count": 4,72          "updated_at": "2020-05-07T07:09:56.852Z",73          "reply_count": 1,74          "reply_to_post_number": null,75          "quote_count": 1,76          "incoming_link_count": 0,77          "reads": 7,78          "readers_count": 6,79          "score": 6.4,80          "yours": false,81          "topic_id": 80087,82          "topic_slug": "modify-predicted-class-label-to-category-label-before-computing-the-loss",83          "display_username": "",84          "primary_group_name": null,85          "flair_name": null,86          "flair_url": null,87          "flair_bg_color": null,88          "flair_color": null,89          "flair_group_id": null,90          "badges_granted": [],91          "version": 1,92          "can_edit": false,93          "can_delete": false,94          "can_recover": false,95          "can_see_hidden_post": false,96          "can_wiki": false,97          "read": true,98          "user_title": "",99          "bookmarked": false,100          "actions_summary": [],101          "moderator": true,102          "admin": true,103          "staff": true,104          "user_id": 3534,105          "hidden": false,106          "trust_level": 2,107          "deleted_at": null,108          "user_deleted": false,109          "edit_reason": null,110          "can_view_edit_history": true,111          "wiki": false,112          "post_url": "/t/modify-predicted-class-label-to-category-label-before-computing-the-loss/80087/2",113          "can_accept_answer": false,114          "can_unaccept_answer": false,115          "accepted_answer": false,116          "topic_accepted_answer": null117        },118        {119          "id": 190128,120          "name": "",121          "username": "saywwhaaaat",122          "avatar_template": "/letter_avatar_proxy/v4/letter/s/48db29/{size}.png",123          "created_at": "2020-05-07T10:56:03.556Z",124          "cooked": "<p>Basically 1 category  is like a collection of class labels, who belongs to this category. For example flat as a category includes road, road line, sidewalk.  The pretrained model is trained on class level, but what I want to fine tune is to predict category label.</p>\n<p>I just want to know modify the prediction before computing the loss, whether this is a legal operation, because I feel like manually modification is not differentiable. Maybe I can add a additional mappling layer right after the pretrained model, that learn how to map class label to category?</p>",125          "post_number": 3,126          "post_type": 1,127          "posts_count": 4,128          "updated_at": "2020-05-07T11:01:09.148Z",129          "reply_count": 1,130          "reply_to_post_number": 2,131          "quote_count": 0,132          "incoming_link_count": 2,133          "reads": 6,134          "readers_count": 5,135          "score": 16.2,136          "yours": false,137          "topic_id": 80087,138          "topic_slug": "modify-predicted-class-label-to-category-label-before-computing-the-loss",139          "display_username": "",140          "primary_group_name": null,141          "flair_name": null,142          "flair_url": null,143          "flair_bg_color": null,144          "flair_color": null,145          "flair_group_id": null,146          "badges_granted": [],147          "version": 3,148          "can_edit": false,149          "can_delete": false,150          "can_recover": false,151          "can_see_hidden_post": false,152          "can_wiki": false,153          "read": true,154          "user_title": null,155          "reply_to_user": {156            "id": 3534,157            "username": "ptrblck",158            "name": "",159            "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png"160          },161          "bookmarked": false,162          "actions_summary": [],163          "moderator": false,164          "admin": false,165          "staff": false,166          "user_id": 30104,167          "hidden": false,168          "trust_level": 1,169          "deleted_at": null,170          "user_deleted": false,171          "edit_reason": null,172          "can_view_edit_history": true,173          "wiki": false,174          "post_url": "/t/modify-predicted-class-label-to-category-label-before-computing-the-loss/80087/3",175          "can_accept_answer": false,176          "can_unaccept_answer": false,177          "accepted_answer": false,178          "topic_accepted_answer": null179        },180        {181          "id": 190307,182          "name": "",183          "username": "ptrblck",184          "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",185          "created_at": "2020-05-07T19:44:28.273Z",186          "cooked": "<p>Since the mapping is “hard-coded” you could keep the model with the class outputs and later use the prediction to map it to the corresponding category.</p>\n<p>However, another way would be to let the model learn to combine the classes to categories.<br>\nTo do so you could add another layer, get the class predictions as its input, and output the categories.<br>\nThis might allow the model to learn that e.g. 5 “medium predictions” of flat classes are a stronger signal than a single higher prediction of a non-flat class, assuming that the target is the flat category.</p>",187          "post_number": 4,188          "post_type": 1,189          "posts_count": 4,190          "updated_at": "2020-05-07T19:44:28.273Z",191          "reply_count": 0,192          "reply_to_post_number": 3,193          "quote_count": 0,194          "incoming_link_count": 3,195          "reads": 6,196          "readers_count": 5,197          "score": 16.2,198          "yours": false,199          "topic_id": 80087,200          "topic_slug": "modify-predicted-class-label-to-category-label-before-computing-the-loss",201          "display_username": "",202          "primary_group_name": null,203          "flair_name": null,204          "flair_url": null,205          "flair_bg_color": null,206          "flair_color": null,207          "flair_group_id": null,208          "badges_granted": [],209          "version": 1,210          "can_edit": false,211          "can_delete": false,212          "can_recover": false,213          "can_see_hidden_post": false,214          "can_wiki": false,215          "read": true,216          "user_title": "",217          "reply_to_user": {218            "id": 30104,219            "username": "saywwhaaaat",220            "name": "",221            "avatar_template": "/letter_avatar_proxy/v4/letter/s/48db29/{size}.png"222          },223          "bookmarked": false,224          "actions_summary": [],225          "moderator": true,226          "admin": true,227          "staff": true,228          "user_id": 3534,229          "hidden": false,230          "trust_level": 2,231          "deleted_at": null,232          "user_deleted": false,233          "edit_reason": null,234          "can_view_edit_history": true,235          "wiki": false,236          "post_url": "/t/modify-predicted-class-label-to-category-label-before-computing-the-loss/80087/4",237          "can_accept_answer": false,238          "can_unaccept_answer": false,239          "accepted_answer": false,240          "topic_accepted_answer": null241        }242      ],243      "stream": [244        189935,245        190031,246        190128,247        190307248      ]249    },250    "timeline_lookup": [251      [252        1,253        1998254      ],255      [256        4,257        1997258      ]259    ],260    "suggested_topics": [261      {262        "fancy_title": "Autograd independently on entries of a single tensor",263        "id": 219258,264        "title": "Autograd independently on entries of a single tensor",265        "slug": "autograd-independently-on-entries-of-a-single-tensor",266        "posts_count": 3,267        "reply_count": 1,268        "highest_post_number": 3,269        "image_url": null,270        "created_at": "2025-04-20T01:24:04.665Z",271        "last_posted_at": "2025-04-21T03:45:23.346Z",272        "bumped": true,273        "bumped_at": "2025-04-21T03:45:23.346Z",274        "archetype": "regular",275        "unseen": false,276        "pinned": false,277        "unpinned": null,278        "visible": true,279        "closed": false,280        "archived": false,281        "bookmarked": null,282        "liked": null,283        "tags_descriptions": {},284        "like_count": 1,285        "views": 59,286        "category_id": 7,287        "featured_link": null,288        "has_accepted_answer": true,289        "posters": [290          {291            "extras": "latest",292            "description": "Original Poster, Most Recent Poster",293            "user": {294              "id": 83907,295              "username": "Danimator",296              "name": "",297              "avatar_template": "/user_avatar/discuss.pytorch.org/danimator/{size}/76713_2.png",298              "trust_level": 1299            }300          },301          {302            "extras": null,303            "description": "Frequent Poster, Accepted Answer",304            "user": {305              "id": 18088,306              "username": "KFrank",307              "name": "K. Frank",308              "avatar_template": "/letter_avatar_proxy/v4/letter/k/ecb155/{size}.png",309              "trust_level": 2310            }311          }312        ]313      },314      {315        "fancy_title": "How to clip the values of an optimizer?",316        "id": 219588,317        "title": "How to clip the values of an optimizer?",318        "slug": "how-to-clip-the-values-of-an-optimizer",319        "posts_count": 4,320        "reply_count": 1,321        "highest_post_number": 4,322        "image_url": null,323        "created_at": "2025-04-29T09:51:08.191Z",324        "last_posted_at": "2025-04-30T13:21:25.643Z",325        "bumped": true,326        "bumped_at": "2025-04-30T13:21:25.643Z",327        "archetype": "regular",328        "unseen": false,329        "pinned": false,330        "unpinned": null,331        "visible": true,332        "closed": false,333        "archived": false,334        "bookmarked": null,335        "liked": null,336        "tags_descriptions": {},337        "like_count": 0,338        "views": 96,339        "category_id": 7,340        "featured_link": null,341        "has_accepted_answer": false,342        "posters": [343          {344            "extras": "latest",345            "description": "Original Poster, Most Recent Poster",346            "user": {347              "id": 82217,348              "username": "Johannes_Vogt",349              "name": "Johannes Vogt",350              "avatar_template": "/user_avatar/discuss.pytorch.org/johannes_vogt/{size}/75220_2.png",351              "trust_level": 1352            }353          },354          {355            "extras": null,356            "description": "Frequent Poster",357            "user": {358              "id": 3534,359              "username": "ptrblck",360              "name": "",361              "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",362              "admin": true,363              "moderator": true,364              "trust_level": 2365            }366          },367          {368            "extras": null,369            "description": "Frequent Poster",370            "user": {371              "id": 75871,372              "username": "qq-me",373              "name": "Ivan Nikishev",374              "avatar_template": "/user_avatar/discuss.pytorch.org/qq-me/{size}/70055_2.png",375              "trust_level": 2376            }377          }378        ]379      },380      {381        "fancy_title": "Custom layer-specific gradient calculation",382        "id": 214832,383        "title": "Custom layer-specific gradient calculation",384        "slug": "custom-layer-specific-gradient-calculation",385        "posts_count": 2,386        "reply_count": 0,387        "highest_post_number": 2,388        "image_url": null,389        "created_at": "2024-12-31T18:18:58.229Z",390        "last_posted_at": "2024-12-31T20:11:05.781Z",391        "bumped": true,392        "bumped_at": "2024-12-31T20:11:05.781Z",393        "archetype": "regular",394        "unseen": false,395        "pinned": false,396        "unpinned": null,397        "visible": true,398        "closed": false,399        "archived": false,400        "bookmarked": null,401        "liked": null,402        "tags_descriptions": {},403        "like_count": 1,404        "views": 157,405        "category_id": 7,406        "featured_link": null,407        "has_accepted_answer": false,408        "posters": [409          {410            "extras": null,411            "description": "Original Poster",412            "user": {413              "id": 68895,414              "username": "DawidL",415              "name": "",416              "avatar_template": "/user_avatar/discuss.pytorch.org/dawidl/{size}/62949_2.png",417              "trust_level": 1418            }419          },420          {421            "extras": "latest",422            "description": "Most Recent Poster",423            "user": {424              "id": 41396,425              "username": "soulitzer",426              "name": "",427              "avatar_template": "/letter_avatar_proxy/v4/letter/s/839c29/{size}.png",428              "trust_level": 2429            }430          }431        ]432      },433      {434        "fancy_title": "How to represent the jacobian of a function where the domain field is from a cartesian product",435        "id": 213028,436        "title": "How to represent the jacobian of a function where the domain field is from a cartesian product",437        "slug": "how-to-represent-the-jacobian-of-a-function-where-the-domain-field-is-from-a-cartesian-product",438        "posts_count": 2,439        "reply_count": 0,440        "highest_post_number": 2,441        "image_url": null,442        "created_at": "2024-11-15T21:43:56.315Z",443        "last_posted_at": "2024-11-16T23:26:57.852Z",444        "bumped": true,445        "bumped_at": "2024-11-16T23:26:57.852Z",446        "archetype": "regular",447        "unseen": false,448        "pinned": false,449        "unpinned": null,450        "visible": true,451        "closed": false,452        "archived": false,453        "bookmarked": null,454        "liked": null,455        "tags_descriptions": {},456        "like_count": 0,457        "views": 42,458        "category_id": 7,459        "featured_link": null,460        "has_accepted_answer": false,461        "posters": [462          {463            "extras": null,464            "description": "Original Poster",465            "user": {466              "id": 79111,467              "username": "MartensCedric",468              "name": "",469              "avatar_template": "/user_avatar/discuss.pytorch.org/martenscedric/{size}/72949_2.png",470              "trust_level": 1471            }472          },473          {474            "extras": "latest",475            "description": "Most Recent Poster",476            "user": {477              "id": 18088,478              "username": "KFrank",479              "name": "K. Frank",480              "avatar_template": "/letter_avatar_proxy/v4/letter/k/ecb155/{size}.png",481              "trust_level": 2482            }483          }484        ]485      },486      {487        "fancy_title": "Why does autograd.backward go one edge further than `inputs`?",488        "id": 220886,489        "title": "Why does autograd.backward go one edge further than `inputs`?",490        "slug": "why-does-autograd-backward-go-one-edge-further-than-inputs",491        "posts_count": 4,492        "reply_count": 1,493        "highest_post_number": 4,494        "image_url": null,495        "created_at": "2025-06-17T22:27:04.846Z",496        "last_posted_at": "2025-07-08T15:01:47.549Z",497        "bumped": true,498        "bumped_at": "2025-07-08T15:01:47.549Z",499        "archetype": "regular",500        "unseen": false,501        "pinned": false,502        "unpinned": null,503        "visible": true,504        "closed": false,505        "archived": false,506        "bookmarked": null,507        "liked": null,508        "tags_descriptions": {},509        "like_count": 2,510        "views": 53,511        "category_id": 7,512        "featured_link": null,513        "has_accepted_answer": true,514        "posters": [515          {516            "extras": null,517            "description": "Original Poster",518            "user": {519              "id": 84735,520              "username": "Aaron_Kriegman",521              "name": "Aaron Kriegman",522              "avatar_template": "/user_avatar/discuss.pytorch.org/aaron_kriegman/{size}/77397_2.png",523              "trust_level": 1524            }525          },526          {527            "extras": null,528            "description": "Frequent Poster, Accepted Answer",529            "user": {530              "id": 41396,531              "username": "soulitzer",532              "name": "",533              "avatar_template": "/letter_avatar_proxy/v4/letter/s/839c29/{size}.png",534              "trust_level": 2535            }536          },537          {538            "extras": "latest",539            "description": "Most Recent Poster",540            "user": {541              "id": 81227,542              "username": "valerian.rey",543              "name": "Valérian Rey",544              "avatar_template": "/user_avatar/discuss.pytorch.org/valerian.rey/{size}/74283_2.png",545              "trust_level": 2546            }547          }548        ]549      }550    ],551    "tags_descriptions": {},552    "fancy_title": "Modify predicted class label to category label before computing the loss",553    "id": 80087,554    "title": "Modify predicted class label to category label before computing the loss",555    "posts_count": 4,556    "created_at": "2020-05-06T23:21:57.753Z",557    "views": 706,558    "reply_count": 2,559    "like_count": 0,560    "last_posted_at": "2020-05-07T19:44:28.273Z",561    "visible": true,562    "closed": false,563    "archived": false,564    "has_summary": false,565    "archetype": "regular",566    "slug": "modify-predicted-class-label-to-category-label-before-computing-the-loss",567    "category_id": 7,568    "word_count": 399,569    "deleted_at": null,570    "user_id": 30104,571    "featured_link": null,572    "pinned_globally": false,573    "pinned_at": null,574    "pinned_until": null,575    "image_url": null,576    "slow_mode_seconds": 0,577    "draft": null,578    "draft_key": "topic_80087",579    "draft_sequence": null,580    "unpinned": null,581    "pinned": false,582    "current_post_number": 1,583    "highest_post_number": 4,584    "deleted_by": null,585    "actions_summary": [586      {587        "id": 4,588        "count": 0,589        "hidden": false,590        "can_act": false591      },592      {593        "id": 8,594        "count": 0,595        "hidden": false,596        "can_act": false597      },598      {599        "id": 10,600        "count": 0,601        "hidden": false,602        "can_act": false603      },604      {605        "id": 7,606        "count": 0,607        "hidden": false,608        "can_act": false609      }610    ],611    "chunk_size": 20,612    "bookmarked": false,613    "topic_timer": null,614    "message_bus_last_id": 0,615    "participant_count": 2,616    "show_read_indicator": false,617    "thumbnails": null,618    "slow_mode_enabled_until": null,619    "can_vote": false,620    "vote_count": 0,621    "user_voted": false,622    "discourse_zendesk_plugin_zendesk_id": null,623    "discourse_zendesk_plugin_zendesk_url": "https://your-url.zendesk.com/agent/tickets/",624    "details": {625      "can_edit": false,626      "notification_level": 1,627      "participants": [628        {629          "id": 3534,630          "username": "ptrblck",631          "name": "",632          "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",633          "post_count": 2,634          "primary_group_name": null,635          "flair_name": null,636          "flair_url": null,637          "flair_color": null,638          "flair_bg_color": null,639          "flair_group_id": null,640          "admin": true,641          "moderator": true,642          "trust_level": 2643        },644        {645          "id": 30104,646          "username": "saywwhaaaat",647          "name": "",648          "avatar_template": "/letter_avatar_proxy/v4/letter/s/48db29/{size}.png",649          "post_count": 2,650          "primary_group_name": null,651          "flair_name": null,652          "flair_url": null,653          "flair_color": null,654          "flair_bg_color": null,655          "flair_group_id": null,656          "trust_level": 1657        }658      ],659      "created_by": {660        "id": 30104,661        "username": "saywwhaaaat",662        "name": "",663        "avatar_template": "/letter_avatar_proxy/v4/letter/s/48db29/{size}.png"664      },665      "last_poster": {666        "id": 3534,667        "username": "ptrblck",668        "name": "",669        "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png"670      }671    },672    "bookmarks": []673  },674  {675    "post_stream": {676      "posts": [677        {678          "id": 189839,679          "name": "Thai Thien",680          "username": "ThaiThien",681          "avatar_template": "/user_avatar/discuss.pytorch.org/thaithien/{size}/617_2.png",682          "created_at": "2020-05-06T16:58:41.165Z",683          "cooked": "<p>I want to consider 2 case:</p>\n<p>First, with reduction = sum</p>\n<p>crit = nn.MSELoss(reduction=‘sum’).to(device)<br>\n…<br>\nfor data, label in batch:<br>\noutput = model(data)<br>\nloss = crit(output, data)<br>\nloss.backward()<br>\nprint(loss.data[0])</p>\n<p>and second, with no reduction, we sum when we want output (print something, write log)</p>\n<p>crit = nn.MSELoss().to(device)</p>\n<p>…<br>\nfor data, label in batch:<br>\noutput = model(data)<br>\nloss = crit(output, data)<br>\nloss.backward()<br>\nprint(loss.data[0].sum)</p>\n<p>The first example is no sum, we sum when we need to print out. The second example is we define reduction=‘sum’. I want to know if it have impact on training process.</p>\n<p>That is for my case. But I don’t think it is importance information here: The code was suppose for computer vision problem. Output is a 2D matrix, with batch also, so output is (batch, a, b), input is (batch, channel, a, b).</p>",684          "post_number": 1,685          "post_type": 1,686          "posts_count": 3,687          "updated_at": "2020-05-06T17:22:41.212Z",688          "reply_count": 0,689          "reply_to_post_number": null,690          "quote_count": 0,691          "incoming_link_count": 1274,692          "reads": 52,693          "readers_count": 51,694          "score": 6395.4,695          "yours": false,696          "topic_id": 80038,697          "topic_slug": "is-loss-function-reduction-something-have-significant-effect-on-training-performance",698          "display_username": "Thai Thien",699          "primary_group_name": null,700          "flair_name": null,701          "flair_url": null,702          "flair_bg_color": null,703          "flair_color": null,704          "flair_group_id": null,705          "badges_granted": [],706          "version": 2,707          "can_edit": false,708          "can_delete": false,709          "can_recover": false,710          "can_see_hidden_post": false,711          "can_wiki": false,712          "read": true,713          "user_title": null,714          "bookmarked": false,715          "actions_summary": [716            {717              "id": 2,718              "count": 1719            }720          ],721          "moderator": false,722          "admin": false,723          "staff": false,724          "user_id": 1381,725          "hidden": false,726          "trust_level": 2,727          "deleted_at": null,728          "user_deleted": false,729          "edit_reason": null,730          "can_view_edit_history": true,731          "wiki": false,732          "post_url": "/t/is-loss-function-reduction-something-have-significant-effect-on-training-performance/80038/1",733          "can_accept_answer": false,734          "can_unaccept_answer": false,735          "accepted_answer": false,736          "topic_accepted_answer": null,737          "can_vote": false738        },739        {740          "id": 189860,741          "name": "Russell Izadi",742          "username": "russellizadi",743          "avatar_template": "/user_avatar/discuss.pytorch.org/russellizadi/{size}/23162_2.png",744          "created_at": "2020-05-06T18:00:53.149Z",745          "cooked": "<p>Depending on the definition of your specific loss function, the reduction may affect the training performance. One of the advantages of <code>reduction=mean</code> is that it makes the update term independent of the batch size. So if you want to use a constant learning rate, you better take the average of loss values. Again, it totally depends on the task and the derivation of the loss function.</p>",746          "post_number": 2,747          "post_type": 1,748          "posts_count": 3,749          "updated_at": "2020-05-06T18:00:53.149Z",750          "reply_count": 1,751          "reply_to_post_number": null,752          "quote_count": 0,753          "incoming_link_count": 10,754          "reads": 47,755          "readers_count": 46,756          "score": 64.4,757          "yours": false,758          "topic_id": 80038,759          "topic_slug": "is-loss-function-reduction-something-have-significant-effect-on-training-performance",760          "display_username": "Russell Izadi",761          "primary_group_name": null,762          "flair_name": null,763          "flair_url": null,764          "flair_bg_color": null,765          "flair_color": null,766          "flair_group_id": null,767          "badges_granted": [],768          "version": 1,769          "can_edit": false,770          "can_delete": false,771          "can_recover": false,772          "can_see_hidden_post": false,773          "can_wiki": false,774          "read": true,775          "user_title": null,776          "bookmarked": false,777          "actions_summary": [],778          "moderator": false,779          "admin": false,780          "staff": false,781          "user_id": 30442,782          "hidden": false,783          "trust_level": 2,784          "deleted_at": null,785          "user_deleted": false,786          "edit_reason": null,787          "can_view_edit_history": true,788          "wiki": false,789          "post_url": "/t/is-loss-function-reduction-something-have-significant-effect-on-training-performance/80038/2",790          "can_accept_answer": false,791          "can_unaccept_answer": false,792          "accepted_answer": false,793          "topic_accepted_answer": null794        },795        {796          "id": 190298,797          "name": "N P ",798          "username": "nmtp",799          "avatar_template": "/letter_avatar_proxy/v4/letter/n/71e660/{size}.png",800          "created_at": "2020-05-07T19:24:19.659Z",801          "cooked": "<p>Just curious, is there ever a time when the reduction=“sum” would be preferable? It seems like a lot more effort to keep track of batch size but I’ve seen “sum” used as well</p>",802          "post_number": 3,803          "post_type": 1,804          "posts_count": 3,805          "updated_at": "2020-05-07T19:24:19.659Z",806          "reply_count": 0,807          "reply_to_post_number": 2,808          "quote_count": 0,809          "incoming_link_count": 7,810          "reads": 45,811          "readers_count": 44,812          "score": 74.0,813          "yours": false,814          "topic_id": 80038,815          "topic_slug": "is-loss-function-reduction-something-have-significant-effect-on-training-performance",816          "display_username": "N P ",817          "primary_group_name": null,818          "flair_name": null,819          "flair_url": null,820          "flair_bg_color": null,821          "flair_color": null,822          "flair_group_id": null,823          "badges_granted": [],824          "version": 1,825          "can_edit": false,826          "can_delete": false,827          "can_recover": false,828          "can_see_hidden_post": false,829          "can_wiki": false,830          "read": true,831          "user_title": null,832          "reply_to_user": {833            "id": 30442,834            "username": "russellizadi",835            "name": "Russell Izadi",836            "avatar_template": "/user_avatar/discuss.pytorch.org/russellizadi/{size}/23162_2.png"837          },838          "bookmarked": false,839          "actions_summary": [840            {841              "id": 2,842              "count": 2843            }844          ],845          "moderator": false,846          "admin": false,847          "staff": false,848          "user_id": 30573,849          "hidden": false,850          "trust_level": 1,851          "deleted_at": null,852          "user_deleted": false,853          "edit_reason": null,854          "can_view_edit_history": true,855          "wiki": false,856          "post_url": "/t/is-loss-function-reduction-something-have-significant-effect-on-training-performance/80038/3",857          "can_accept_answer": false,858          "can_unaccept_answer": false,859          "accepted_answer": false,860          "topic_accepted_answer": null861        }862      ],863      "stream": [864        189839,865        189860,866        190298867      ]868    },869    "timeline_lookup": [870      [871        1,872        1998873      ],874      [875        3,876        1997877      ]878    ],879    "suggested_topics": [880      {881        "fancy_title": "Implementing Layer-wise Relevance Propagation in ViT",882        "id": 214752,883        "title": "Implementing Layer-wise Relevance Propagation in ViT",884        "slug": "implementing-layer-wise-relevance-propagation-in-vit",885        "posts_count": 1,886        "reply_count": 0,887        "highest_post_number": 1,888        "image_url": null,889        "created_at": "2024-12-29T15:02:40.000Z",890        "last_posted_at": "2024-12-29T15:02:40.054Z",891        "bumped": true,892        "bumped_at": "2024-12-29T15:02:40.054Z",893        "archetype": "regular",894        "unseen": false,895        "pinned": false,896        "unpinned": null,897        "visible": true,898        "closed": false,899        "archived": false,900        "bookmarked": null,901        "liked": null,902        "tags_descriptions": {},903        "like_count": 0,904        "views": 116,905        "category_id": 5,906        "featured_link": null,907        "has_accepted_answer": false,908        "posters": [909          {910            "extras": "latest single",911            "description": "Original Poster, Most Recent Poster",912            "user": {913              "id": 72886,914              "username": "Kallel_Mariem",915              "name": "Kallel Mariem",916              "avatar_template": "/user_avatar/discuss.pytorch.org/kallel_mariem/{size}/64790_2.png",917              "trust_level": 1918            }919          }920        ]921      },922      {923        "fancy_title": "ResUnet implementation in pytorch for medical image segmentation",924        "id": 212702,925        "title": "ResUnet implementation in pytorch for medical image segmentation",926        "slug": "resunet-implementation-in-pytorch-for-medical-image-segmentation",927        "posts_count": 2,928        "reply_count": 0,929        "highest_post_number": 2,930        "image_url": null,931        "created_at": "2024-11-08T11:32:30.168Z",932        "last_posted_at": "2024-11-11T19:57:35.383Z",933        "bumped": true,934        "bumped_at": "2024-11-11T19:57:35.383Z",935        "archetype": "regular",936        "unseen": false,937        "pinned": false,938        "unpinned": null,939        "visible": true,940        "closed": false,941        "archived": false,942        "bookmarked": null,943        "liked": null,944        "tags_descriptions": {},945        "like_count": 0,946        "views": 106,947        "category_id": 5,948        "featured_link": null,949        "has_accepted_answer": false,950        "posters": [951          {952            "extras": null,953            "description": "Original Poster",954            "user": {955              "id": 80772,956              "username": "Saurav_K_Mhptra",957              "name": "Saurav Kausik Mahapatra",958              "avatar_template": "/user_avatar/discuss.pytorch.org/saurav_k_mhptra/{size}/73231_2.png",959              "trust_level": 0960            }961          },962          {963            "extras": "latest",964            "description": "Most Recent Poster",965            "user": {966              "id": 75871,967              "username": "qq-me",968              "name": "Ivan Nikishev",969              "avatar_template": "/user_avatar/discuss.pytorch.org/qq-me/{size}/70055_2.png",970              "trust_level": 2971            }972          }973        ]974      },975      {976        "fancy_title": "Extra GPU usage on custom Qwen2-VL",977        "id": 212198,978        "title": "Extra GPU usage on custom Qwen2-VL",979        "slug": "extra-gpu-usage-on-custom-qwen2-vl",980        "posts_count": 1,981        "reply_count": 0,982        "highest_post_number": 1,983        "image_url": "https://discuss.pytorch.org/uploads/default/optimized/3X/1/2/1284e7c5c2e5ddde6a34f371a02bf4c24b2f01f6_2_1023x660.png",984        "created_at": "2024-10-28T09:05:40.136Z",985        "last_posted_at": "2024-10-28T09:05:40.194Z",986        "bumped": true,987        "bumped_at": "2024-10-28T09:05:40.194Z",988        "archetype": "regular",989        "unseen": false,990        "pinned": false,991        "unpinned": null,992        "visible": true,993        "closed": false,994        "archived": false,995        "bookmarked": null,996        "liked": null,997        "tags_descriptions": {},998        "like_count": 0,999        "views": 237,1000        "category_id": 5,1001        "featured_link": null,1002        "has_accepted_answer": false,1003        "posters": [1004          {1005            "extras": "latest single",1006            "description": "Original Poster, Most Recent Poster",1007            "user": {1008              "id": 68592,1009              "username": "ChanYalcn",1010              "name": "Cihan Yalçın",1011              "avatar_template": "/user_avatar/discuss.pytorch.org/chanyalcn/{size}/63089_2.png",1012              "trust_level": 11013            }1014          }1015        ]1016      },1017      {1018        "fancy_title": "Extract ReLU outputs of EfficientNet and Incetption",1019        "id": 213574,1020        "title": "Extract ReLU outputs of EfficientNet and Incetption",1021        "slug": "extract-relu-outputs-of-efficientnet-and-incetption",1022        "posts_count": 3,1023        "reply_count": 1,1024        "highest_post_number": 3,1025        "image_url": null,1026        "created_at": "2024-11-28T08:17:48.262Z",1027        "last_posted_at": "2024-11-28T13:54:43.892Z",1028        "bumped": true,1029        "bumped_at": "2024-11-28T13:54:43.892Z",1030        "archetype": "regular",1031        "unseen": false,1032        "pinned": false,1033        "unpinned": null,1034        "visible": true,1035        "closed": false,1036        "archived": false,1037        "bookmarked": null,1038        "liked": null,1039        "tags_descriptions": {},1040        "like_count": 0,1041        "views": 44,1042        "category_id": 5,1043        "featured_link": null,1044        "has_accepted_answer": false,1045        "posters": [1046          {1047            "extras": "latest",1048            "description": "Original Poster, Most Recent Poster",1049            "user": {1050              "id": 13802,1051              "username": "Flock1",1052              "name": "Flock Anizak",1053              "avatar_template": "/user_avatar/discuss.pytorch.org/flock1/{size}/12220_2.png",1054              "trust_level": 21055            }1056          },1057          {1058            "extras": null,1059            "description": "Frequent Poster",1060            "user": {1061              "id": 81192,1062              "username": "diana45peters",1063              "name": null,1064              "avatar_template": "/letter_avatar_proxy/v4/letter/d/258eb7/{size}.png",1065              "trust_level": 01066            }1067          }1068        ]1069      },1070      {1071        "fancy_title": "Loss not Decreasing while training UNET",1072        "id": 219167,1073        "title": "Loss not Decreasing while training UNET",1074        "slug": "loss-not-decreasing-while-training-unet",1075        "posts_count": 4,1076        "reply_count": 1,1077        "highest_post_number": 4,1078        "image_url": null,1079        "created_at": "2025-04-16T17:26:41.889Z",1080        "last_posted_at": "2025-05-26T19:08:48.848Z",1081        "bumped": true,1082        "bumped_at": "2025-05-26T19:08:48.848Z",1083        "archetype": "regular",1084        "unseen": false,1085        "pinned": false,1086        "unpinned": null,1087        "visible": true,1088        "closed": false,1089        "archived": false,1090        "bookmarked": null,1091        "liked": null,1092        "tags_descriptions": {},1093        "like_count": 0,1094        "views": 143,1095        "category_id": 5,1096        "featured_link": null,1097        "has_accepted_answer": false,1098        "posters": [1099          {1100            "extras": null,1101            "description": "Original Poster",1102            "user": {1103              "id": 83857,1104              "username": "Jaskeerat",1105              "name": "Jaskeerat",1106              "avatar_template": "/user_avatar/discuss.pytorch.org/jaskeerat/{size}/76675_2.png",1107              "trust_level": 01108            }1109          },1110          {1111            "extras": null,1112            "description": "Frequent Poster",1113            "user": {1114              "id": 18088,1115              "username": "KFrank",1116              "name": "K. Frank",1117              "avatar_template": "/letter_avatar_proxy/v4/letter/k/ecb155/{size}.png",1118              "trust_level": 21119            }1120          },1121          {1122            "extras": "latest",1123            "description": "Most Recent Poster",1124            "user": {1125              "id": 75120,1126              "username": "ajayrkumar",1127              "name": "Ajay Rajendra Kumar",1128              "avatar_template": "/user_avatar/discuss.pytorch.org/ajayrkumar/{size}/77139_2.png",1129              "trust_level": 11130            }1131          }1132        ]1133      }1134    ],1135    "tags_descriptions": {},1136    "fancy_title": "Is loss function reduction=&ldquo;something&rdquo; have significant effect on training performance?",1137    "id": 80038,1138    "title": "Is loss function reduction=\"something\" have significant effect on training performance?",1139    "posts_count": 3,1140    "created_at": "2020-05-06T16:58:41.110Z",1141    "views": 2607,1142    "reply_count": 1,1143    "like_count": 3,1144    "last_posted_at": "2020-05-07T19:24:19.659Z",1145    "visible": true,1146    "closed": false,1147    "archived": false,1148    "has_summary": false,1149    "archetype": "regular",1150    "slug": "is-loss-function-reduction-something-have-significant-effect-on-training-performance",1151    "category_id": 5,1152    "word_count": 252,1153    "deleted_at": null,1154    "user_id": 1381,1155    "featured_link": null,1156    "pinned_globally": false,1157    "pinned_at": null,1158    "pinned_until": null,1159    "image_url": null,1160    "slow_mode_seconds": 0,1161    "draft": null,1162    "draft_key": "topic_80038",1163    "draft_sequence": null,1164    "unpinned": null,1165    "pinned": false,1166    "current_post_number": 1,1167    "highest_post_number": 3,1168    "deleted_by": null,1169    "actions_summary": [1170      {1171        "id": 4,1172        "count": 0,1173        "hidden": false,1174        "can_act": false1175      },1176      {1177        "id": 8,1178        "count": 0,1179        "hidden": false,1180        "can_act": false1181      },1182      {1183        "id": 10,1184        "count": 0,1185        "hidden": false,1186        "can_act": false1187      },1188      {1189        "id": 7,1190        "count": 0,1191        "hidden": false,1192        "can_act": false1193      }1194    ],1195    "chunk_size": 20,1196    "bookmarked": false,1197    "topic_timer": null,1198    "message_bus_last_id": 0,1199    "participant_count": 3,1200    "show_read_indicator": false,

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