Anurag1734/cuda-error-resolution-analysis
07
1[2 {3 "post_stream": {4 "posts": [5 {6 "id": 110668,7 "name": "Liam ",8 "username": "liam_c",9 "avatar_template": "/user_avatar/discuss.pytorch.org/liam_c/{size}/11975_2.png",10 "created_at": "2019-05-10T01:04:49.148Z",11 "cooked": "<p>How can I fix this error?<br>\n<div class=\"lightbox-wrapper\"><a class=\"lightbox\" href=\"https://discuss.pytorch.org/uploads/default/original/2X/4/4b1a82e84c43d3468c7779cd3aefa7e9391e60c4.jpeg\" data-download-href=\"https://discuss.pytorch.org/uploads/default/4b1a82e84c43d3468c7779cd3aefa7e9391e60c4\" title=\"Screenshot_18\"><img src=\"https://discuss.pytorch.org/uploads/default/optimized/2X/4/4b1a82e84c43d3468c7779cd3aefa7e9391e60c4_2_690x73.jpeg\" alt=\"Screenshot_18\" data-base62-sha1=\"aIoBRa5TL8GRl1DEA0UINVvaoni\" width=\"690\" height=\"73\" srcset=\"https://discuss.pytorch.org/uploads/default/optimized/2X/4/4b1a82e84c43d3468c7779cd3aefa7e9391e60c4_2_690x73.jpeg, https://discuss.pytorch.org/uploads/default/original/2X/4/4b1a82e84c43d3468c7779cd3aefa7e9391e60c4.jpeg 1.5x, https://discuss.pytorch.org/uploads/default/original/2X/4/4b1a82e84c43d3468c7779cd3aefa7e9391e60c4.jpeg 2x\" data-dominant-color=\"373A40\"><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\">Screenshot_18</span><span class=\"informations\">891×95 28.2 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>",12 "post_number": 1,13 "post_type": 1,14 "posts_count": 1,15 "updated_at": "2019-05-10T01:04:49.148Z",16 "reply_count": 0,17 "reply_to_post_number": null,18 "quote_count": 0,19 "incoming_link_count": 6,20 "reads": 5,21 "readers_count": 4,22 "score": 31.0,23 "yours": false,24 "topic_id": 44875,25 "topic_slug": "httpconnection-error-for-trying-to-loard-resnet18-and-resnet34",26 "display_username": "Liam ",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://discuss.pytorch.org/uploads/default/original/2X/4/4b1a82e84c43d3468c7779cd3aefa7e9391e60c4.jpeg",43 "internal": true,44 "reflection": false,45 "clicks": 046 }47 ],48 "read": true,49 "user_title": null,50 "bookmarked": false,51 "actions_summary": [],52 "moderator": false,53 "admin": false,54 "staff": false,55 "user_id": 18517,56 "hidden": false,57 "trust_level": 0,58 "deleted_at": null,59 "user_deleted": false,60 "edit_reason": null,61 "can_view_edit_history": true,62 "wiki": false,63 "post_url": "/t/httpconnection-error-for-trying-to-loard-resnet18-and-resnet34/44875/1",64 "can_accept_answer": false,65 "can_unaccept_answer": false,66 "accepted_answer": false,67 "topic_accepted_answer": null,68 "can_vote": false69 }70 ],71 "stream": [72 11066873 ]74 },75 "timeline_lookup": [76 [77 1,78 236179 ]80 ],81 "suggested_topics": [82 {83 "fancy_title": "Model predicting one classe only after running inference on test data",84 "id": 212937,85 "title": "Model predicting one classe only after running inference on test data",86 "slug": "model-predicting-one-classe-only-after-running-inference-on-test-data",87 "posts_count": 1,88 "reply_count": 0,89 "highest_post_number": 1,90 "image_url": null,91 "created_at": "2024-11-13T15:57:08.333Z",92 "last_posted_at": "2024-11-13T15:57:08.392Z",93 "bumped": true,94 "bumped_at": "2024-11-13T15:57:08.392Z",95 "archetype": "regular",96 "unseen": false,97 "pinned": false,98 "unpinned": null,99 "visible": true,100 "closed": false,101 "archived": false,102 "bookmarked": null,103 "liked": null,104 "tags_descriptions": {},105 "like_count": 0,106 "views": 93,107 "category_id": 5,108 "featured_link": null,109 "has_accepted_answer": false,110 "posters": [111 {112 "extras": "latest single",113 "description": "Original Poster, Most Recent Poster",114 "user": {115 "id": 68222,116 "username": "amy2",117 "name": "amy",118 "avatar_template": "/user_avatar/discuss.pytorch.org/amy2/{size}/62675_2.png",119 "trust_level": 1120 }121 }122 ]123 },124 {125 "fancy_title": "TypeError: ‘int’ object is not callable for claculating training accuracy",126 "id": 212609,127 "title": "TypeError: 'int' object is not callable for claculating training accuracy",128 "slug": "typeerror-int-object-is-not-callable-for-claculating-training-accuracy",129 "posts_count": 2,130 "reply_count": 0,131 "highest_post_number": 2,132 "image_url": null,133 "created_at": "2024-11-06T11:04:54.598Z",134 "last_posted_at": "2024-11-06T17:20:42.372Z",135 "bumped": true,136 "bumped_at": "2024-11-06T17:20:42.372Z",137 "archetype": "regular",138 "unseen": false,139 "pinned": false,140 "unpinned": null,141 "visible": true,142 "closed": false,143 "archived": false,144 "bookmarked": null,145 "liked": null,146 "tags_descriptions": {},147 "like_count": 0,148 "views": 30,149 "category_id": 5,150 "featured_link": null,151 "has_accepted_answer": false,152 "posters": [153 {154 "extras": null,155 "description": "Original Poster",156 "user": {157 "id": 68222,158 "username": "amy2",159 "name": "amy",160 "avatar_template": "/user_avatar/discuss.pytorch.org/amy2/{size}/62675_2.png",161 "trust_level": 1162 }163 },164 {165 "extras": "latest",166 "description": "Most Recent Poster",167 "user": {168 "id": 3534,169 "username": "ptrblck",170 "name": "",171 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",172 "admin": true,173 "moderator": true,174 "trust_level": 2175 }176 }177 ]178 },179 {180 "fancy_title": "Model Problems: Linear layers?",181 "id": 214760,182 "title": "Model Problems: Linear layers?",183 "slug": "model-problems-linear-layers",184 "posts_count": 4,185 "reply_count": 1,186 "highest_post_number": 4,187 "image_url": null,188 "created_at": "2024-12-29T19:54:05.108Z",189 "last_posted_at": "2024-12-30T15:22:58.131Z",190 "bumped": true,191 "bumped_at": "2024-12-30T15:22:58.131Z",192 "archetype": "regular",193 "unseen": false,194 "pinned": false,195 "unpinned": null,196 "visible": true,197 "closed": false,198 "archived": false,199 "bookmarked": null,200 "liked": null,201 "tags_descriptions": {},202 "like_count": 0,203 "views": 189,204 "category_id": 5,205 "featured_link": null,206 "has_accepted_answer": true,207 "posters": [208 {209 "extras": "latest",210 "description": "Original Poster, Most Recent Poster",211 "user": {212 "id": 81646,213 "username": "bruhnugget-nice",214 "name": "bruhnugget",215 "avatar_template": "/user_avatar/discuss.pytorch.org/bruhnugget-nice/{size}/74667_2.png",216 "trust_level": 1217 }218 },219 {220 "extras": null,221 "description": "Frequent Poster, Accepted Answer",222 "user": {223 "id": 81709,224 "username": "QLYYLQ",225 "name": "qly",226 "avatar_template": "/user_avatar/discuss.pytorch.org/qlyylq/{size}/74718_2.png",227 "trust_level": 1228 }229 },230 {231 "extras": null,232 "description": "Frequent Poster",233 "user": {234 "id": 41396,235 "username": "soulitzer",236 "name": "",237 "avatar_template": "/letter_avatar_proxy/v4/letter/s/839c29/{size}.png",238 "trust_level": 2239 }240 }241 ]242 },243 {244 "fancy_title": "What is the use of y_range feature",245 "id": 218346,246 "title": "What is the use of y_range feature",247 "slug": "what-is-the-use-of-y-range-feature",248 "posts_count": 2,249 "reply_count": 0,250 "highest_post_number": 2,251 "image_url": null,252 "created_at": "2025-03-27T21:07:12.454Z",253 "last_posted_at": "2025-03-27T23:05:50.254Z",254 "bumped": true,255 "bumped_at": "2025-03-27T23:05:50.254Z",256 "archetype": "regular",257 "unseen": false,258 "pinned": false,259 "unpinned": null,260 "visible": true,261 "closed": false,262 "archived": false,263 "bookmarked": null,264 "liked": null,265 "tags_descriptions": {},266 "like_count": 0,267 "views": 29,268 "category_id": 5,269 "featured_link": null,270 "has_accepted_answer": false,271 "posters": [272 {273 "extras": null,274 "description": "Original Poster",275 "user": {276 "id": 83503,277 "username": "p-karmelita",278 "name": "Piotr Karmelita",279 "avatar_template": "/user_avatar/discuss.pytorch.org/p-karmelita/{size}/76371_2.png",280 "trust_level": 0281 }282 },283 {284 "extras": "latest",285 "description": "Most Recent Poster",286 "user": {287 "id": 3534,288 "username": "ptrblck",289 "name": "",290 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",291 "admin": true,292 "moderator": true,293 "trust_level": 2294 }295 }296 ]297 },298 {299 "fancy_title": "How to pre-train ResNet using my own dataset",300 "id": 219177,301 "title": "How to pre-train ResNet using my own dataset",302 "slug": "how-to-pre-train-resnet-using-my-own-dataset",303 "posts_count": 2,304 "reply_count": 0,305 "highest_post_number": 2,306 "image_url": null,307 "created_at": "2025-04-17T01:27:09.923Z",308 "last_posted_at": "2025-04-17T20:59:49.425Z",309 "bumped": true,310 "bumped_at": "2025-04-17T20:59:49.425Z",311 "archetype": "regular",312 "unseen": false,313 "pinned": false,314 "unpinned": null,315 "visible": true,316 "closed": false,317 "archived": false,318 "bookmarked": null,319 "liked": null,320 "tags_descriptions": {},321 "like_count": 1,322 "views": 81,323 "category_id": 5,324 "featured_link": null,325 "has_accepted_answer": false,326 "posters": [327 {328 "extras": null,329 "description": "Original Poster",330 "user": {331 "id": 82704,332 "username": "2U3_1967",333 "name": null,334 "avatar_template": "/letter_avatar_proxy/v4/letter/2/cab0a1/{size}.png",335 "trust_level": 1336 }337 },338 {339 "extras": "latest",340 "description": "Most Recent Poster",341 "user": {342 "id": 72430,343 "username": "Eduardo_Lawson",344 "name": "Eduardo Lawson da Silva",345 "avatar_template": "/user_avatar/discuss.pytorch.org/eduardo_lawson/{size}/66899_2.png",346 "trust_level": 2347 }348 }349 ]350 }351 ],352 "tags_descriptions": {},353 "fancy_title": "HTTPconnection error for trying to loard ResNet18 and ResNet34",354 "id": 44875,355 "title": "HTTPconnection error for trying to loard ResNet18 and ResNet34",356 "posts_count": 1,357 "created_at": "2019-05-10T01:04:49.103Z",358 "views": 345,359 "reply_count": 0,360 "like_count": 0,361 "last_posted_at": "2019-05-10T01:04:49.148Z",362 "visible": true,363 "closed": false,364 "archived": false,365 "has_summary": false,366 "archetype": "regular",367 "slug": "httpconnection-error-for-trying-to-loard-resnet18-and-resnet34",368 "category_id": 5,369 "word_count": 11,370 "deleted_at": null,371 "user_id": 18517,372 "featured_link": null,373 "pinned_globally": false,374 "pinned_at": null,375 "pinned_until": null,376 "image_url": "https://discuss.pytorch.org/uploads/default/original/2X/4/4b1a82e84c43d3468c7779cd3aefa7e9391e60c4.jpeg",377 "slow_mode_seconds": 0,378 "draft": null,379 "draft_key": "topic_44875",380 "draft_sequence": null,381 "unpinned": null,382 "pinned": false,383 "current_post_number": 1,384 "highest_post_number": 1,385 "deleted_by": null,386 "actions_summary": [387 {388 "id": 4,389 "count": 0,390 "hidden": false,391 "can_act": false392 },393 {394 "id": 8,395 "count": 0,396 "hidden": false,397 "can_act": false398 },399 {400 "id": 10,401 "count": 0,402 "hidden": false,403 "can_act": false404 },405 {406 "id": 7,407 "count": 0,408 "hidden": false,409 "can_act": false410 }411 ],412 "chunk_size": 20,413 "bookmarked": false,414 "topic_timer": null,415 "message_bus_last_id": 0,416 "participant_count": 1,417 "show_read_indicator": false,418 "thumbnails": [419 {420 "max_width": null,421 "max_height": null,422 "width": 891,423 "height": 95,424 "url": "https://discuss.pytorch.org/uploads/default/original/2X/4/4b1a82e84c43d3468c7779cd3aefa7e9391e60c4.jpeg"425 }426 ],427 "slow_mode_enabled_until": null,428 "can_vote": false,429 "vote_count": 0,430 "user_voted": false,431 "discourse_zendesk_plugin_zendesk_id": null,432 "discourse_zendesk_plugin_zendesk_url": "https://your-url.zendesk.com/agent/tickets/",433 "details": {434 "can_edit": false,435 "notification_level": 1,436 "participants": [437 {438 "id": 18517,439 "username": "liam_c",440 "name": "Liam ",441 "avatar_template": "/user_avatar/discuss.pytorch.org/liam_c/{size}/11975_2.png",442 "post_count": 1,443 "primary_group_name": null,444 "flair_name": null,445 "flair_url": null,446 "flair_color": null,447 "flair_bg_color": null,448 "flair_group_id": null,449 "trust_level": 0450 }451 ],452 "created_by": {453 "id": 18517,454 "username": "liam_c",455 "name": "Liam ",456 "avatar_template": "/user_avatar/discuss.pytorch.org/liam_c/{size}/11975_2.png"457 },458 "last_poster": {459 "id": 18517,460 "username": "liam_c",461 "name": "Liam ",462 "avatar_template": "/user_avatar/discuss.pytorch.org/liam_c/{size}/11975_2.png"463 }464 },465 "bookmarks": []466 },467 {468 "post_stream": {469 "posts": [470 {471 "id": 37980,472 "name": "Mata Fu",473 "username": "Mata_Fu",474 "avatar_template": "/user_avatar/discuss.pytorch.org/mata_fu/{size}/9814_2.png",475 "created_at": "2018-03-14T13:35:48.197Z",476 "cooked": "<p>I want to get the pixel-wise BCELoss because some pixels don’t have ground truth. So I want to set the loss of those unlabeled pixels to 0.<br>\nBut it seems like the current BCELoss function can just provide the sum or average?</p>\n<blockquote>\n<p>class torch.nn.BCELoss(weight=None, size_average=True)<br>\nParameters:\t<br>\nweight (Tensor, optional) – a manual rescaling weight given to the loss of each batch element. If given, has to be a Tensor of size “nbatch”.<br>\nsize_average (bool, optional) – By default, the losses are averaged over observations for each minibatch. However, if the field size_average is set to False, the losses are instead summed for each minibatch. Default: True</p>\n</blockquote>",477 "post_number": 1,478 "post_type": 1,479 "posts_count": 7,480 "updated_at": "2018-03-14T13:35:48.197Z",481 "reply_count": 0,482 "reply_to_post_number": null,483 "quote_count": 0,484 "incoming_link_count": 671,485 "reads": 37,486 "readers_count": 36,487 "score": 3362.4,488 "yours": false,489 "topic_id": 14908,490 "topic_slug": "how-to-get-pixel-wise-bceloss-of-an-end-to-end-framework",491 "display_username": "Mata Fu",492 "primary_group_name": null,493 "flair_name": null,494 "flair_url": null,495 "flair_bg_color": null,496 "flair_color": null,497 "flair_group_id": null,498 "badges_granted": [],499 "version": 1,500 "can_edit": false,501 "can_delete": false,502 "can_recover": false,503 "can_see_hidden_post": false,504 "can_wiki": false,505 "read": true,506 "user_title": null,507 "bookmarked": false,508 "actions_summary": [],509 "moderator": false,510 "admin": false,511 "staff": false,512 "user_id": 3471,513 "hidden": false,514 "trust_level": 2,515 "deleted_at": null,516 "user_deleted": false,517 "edit_reason": null,518 "can_view_edit_history": true,519 "wiki": false,520 "post_url": "/t/how-to-get-pixel-wise-bceloss-of-an-end-to-end-framework/14908/1",521 "can_accept_answer": false,522 "can_unaccept_answer": false,523 "accepted_answer": false,524 "topic_accepted_answer": null,525 "can_vote": false526 },527 {528 "id": 37982,529 "name": "",530 "username": "ptrblck",531 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",532 "created_at": "2018-03-14T13:40:01.084Z",533 "cooked": "<p>Which PyTorch version are you using?<br>\nThere should be a <code>reduce</code> argument in the current version.<br>\nSetting <code>reduce=False</code> will give your the desired loss.</p>",534 "post_number": 2,535 "post_type": 1,536 "posts_count": 7,537 "updated_at": "2018-03-14T13:40:01.084Z",538 "reply_count": 2,539 "reply_to_post_number": null,540 "quote_count": 0,541 "incoming_link_count": 4,542 "reads": 37,543 "readers_count": 36,544 "score": 52.4,545 "yours": false,546 "topic_id": 14908,547 "topic_slug": "how-to-get-pixel-wise-bceloss-of-an-end-to-end-framework",548 "display_username": "",549 "primary_group_name": null,550 "flair_name": null,551 "flair_url": null,552 "flair_bg_color": null,553 "flair_color": null,554 "flair_group_id": null,555 "badges_granted": [],556 "version": 1,557 "can_edit": false,558 "can_delete": false,559 "can_recover": false,560 "can_see_hidden_post": false,561 "can_wiki": false,562 "read": true,563 "user_title": "",564 "bookmarked": false,565 "actions_summary": [566 {567 "id": 2,568 "count": 1569 }570 ],571 "moderator": true,572 "admin": true,573 "staff": true,574 "user_id": 3534,575 "hidden": false,576 "trust_level": 2,577 "deleted_at": null,578 "user_deleted": false,579 "edit_reason": null,580 "can_view_edit_history": true,581 "wiki": false,582 "post_url": "/t/how-to-get-pixel-wise-bceloss-of-an-end-to-end-framework/14908/2",583 "can_accept_answer": false,584 "can_unaccept_answer": false,585 "accepted_answer": false,586 "topic_accepted_answer": null587 },588 {589 "id": 38012,590 "name": "Mata Fu",591 "username": "Mata_Fu",592 "avatar_template": "/user_avatar/discuss.pytorch.org/mata_fu/{size}/9814_2.png",593 "created_at": "2018-03-14T17:35:26.039Z",594 "cooked": "<p>What I am using is 0.3.0. I can’t install the latest version on our server with several days’ trials.<img src=\"https://discuss.pytorch.org/images/emoji/apple/rofl.png?v=5\" title=\":rofl:\" class=\"emoji\" alt=\":rofl:\"></p>",595 "post_number": 3,596 "post_type": 1,597 "posts_count": 7,598 "updated_at": "2018-03-14T17:35:26.039Z",599 "reply_count": 1,600 "reply_to_post_number": 2,601 "quote_count": 0,602 "incoming_link_count": 1,603 "reads": 35,604 "readers_count": 34,605 "score": 17.0,606 "yours": false,607 "topic_id": 14908,608 "topic_slug": "how-to-get-pixel-wise-bceloss-of-an-end-to-end-framework",609 "display_username": "Mata Fu",610 "primary_group_name": null,611 "flair_name": null,612 "flair_url": null,613 "flair_bg_color": null,614 "flair_color": null,615 "flair_group_id": null,616 "badges_granted": [],617 "version": 1,618 "can_edit": false,619 "can_delete": false,620 "can_recover": false,621 "can_see_hidden_post": false,622 "can_wiki": false,623 "read": true,624 "user_title": null,625 "reply_to_user": {626 "id": 3534,627 "username": "ptrblck",628 "name": "",629 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png"630 },631 "bookmarked": false,632 "actions_summary": [],633 "moderator": false,634 "admin": false,635 "staff": false,636 "user_id": 3471,637 "hidden": false,638 "trust_level": 2,639 "deleted_at": null,640 "user_deleted": false,641 "edit_reason": null,642 "can_view_edit_history": true,643 "wiki": false,644 "post_url": "/t/how-to-get-pixel-wise-bceloss-of-an-end-to-end-framework/14908/3",645 "can_accept_answer": false,646 "can_unaccept_answer": false,647 "accepted_answer": false,648 "topic_accepted_answer": null649 },650 {651 "id": 38020,652 "name": "",653 "username": "ptrblck",654 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",655 "created_at": "2018-03-14T20:53:13.303Z",656 "cooked": "<p>Why not? Do you get an error?</p>",657 "post_number": 4,658 "post_type": 1,659 "posts_count": 7,660 "updated_at": "2018-03-14T20:53:13.303Z",661 "reply_count": 1,662 "reply_to_post_number": 3,663 "quote_count": 0,664 "incoming_link_count": 2,665 "reads": 35,666 "readers_count": 34,667 "score": 22.0,668 "yours": false,669 "topic_id": 14908,670 "topic_slug": "how-to-get-pixel-wise-bceloss-of-an-end-to-end-framework",671 "display_username": "",672 "primary_group_name": null,673 "flair_name": null,674 "flair_url": null,675 "flair_bg_color": null,676 "flair_color": null,677 "flair_group_id": null,678 "badges_granted": [],679 "version": 1,680 "can_edit": false,681 "can_delete": false,682 "can_recover": false,683 "can_see_hidden_post": false,684 "can_wiki": false,685 "read": true,686 "user_title": "",687 "reply_to_user": {688 "id": 3471,689 "username": "Mata_Fu",690 "name": "Mata Fu",691 "avatar_template": "/user_avatar/discuss.pytorch.org/mata_fu/{size}/9814_2.png"692 },693 "bookmarked": false,694 "actions_summary": [],695 "moderator": true,696 "admin": true,697 "staff": true,698 "user_id": 3534,699 "hidden": false,700 "trust_level": 2,701 "deleted_at": null,702 "user_deleted": false,703 "edit_reason": null,704 "can_view_edit_history": true,705 "wiki": false,706 "post_url": "/t/how-to-get-pixel-wise-bceloss-of-an-end-to-end-framework/14908/4",707 "can_accept_answer": false,708 "can_unaccept_answer": false,709 "accepted_answer": false,710 "topic_accepted_answer": null711 },712 {713 "id": 38043,714 "name": "Mata Fu",715 "username": "Mata_Fu",716 "avatar_template": "/user_avatar/discuss.pytorch.org/mata_fu/{size}/9814_2.png",717 "created_at": "2018-03-15T00:05:57.720Z",718 "cooked": "<p>Yes! Thank you for reminding me about my failed installation.</p><aside class=\"quote quote-modified\" data-post=\"1\" data-topic=\"14918\">\n <div class=\"title\">\n <div class=\"quote-controls\"></div>\n <img loading=\"lazy\" alt=\"\" width=\"24\" height=\"24\" src=\"https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/mata_fu/48/9814_2.png\" class=\"avatar\">\n <a href=\"https://discuss.pytorch.org/t/install-problem-of-the-lastest-pytorch-version/14918\">Install problem of the lastest pytorch version</a> <a class=\"badge-category__wrapper \" href=\"/c/vision/5\"><span data-category-id=\"5\" data-drop-close=\"true\" class=\"badge-category \" title=\"Topics related to either pytorch/vision or vision research related topics\"><span class=\"badge-category__name\">vision</span></span></a>\n </div>\n <blockquote>\n I met a problem while installing pytorch \n\ncmake: relocation error: cmake: symbol ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareERKS4, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference \n\nI searched online and found solutions that I should upgrade my ubuntu14.04 to 16. But I can’t do this on the server because I’m not the only one use it and I don’t have the administrator permissions. \nCan someone help? \nmy conda env: \n\npackages in environment at /h…\n </blockquote>\n</aside>\n",719 "post_number": 5,720 "post_type": 1,721 "posts_count": 7,722 "updated_at": "2018-03-15T00:05:57.720Z",723 "reply_count": 0,724 "reply_to_post_number": 4,725 "quote_count": 0,726 "incoming_link_count": 2,727 "reads": 34,728 "readers_count": 33,729 "score": 16.8,730 "yours": false,731 "topic_id": 14908,732 "topic_slug": "how-to-get-pixel-wise-bceloss-of-an-end-to-end-framework",733 "display_username": "Mata Fu",734 "primary_group_name": null,735 "flair_name": null,736 "flair_url": null,737 "flair_bg_color": null,738 "flair_color": null,739 "flair_group_id": null,740 "badges_granted": [],741 "version": 1,742 "can_edit": false,743 "can_delete": false,744 "can_recover": false,745 "can_see_hidden_post": false,746 "can_wiki": false,747 "link_counts": [748 {749 "url": "https://discuss.pytorch.org/t/install-problem-of-the-lastest-pytorch-version/14918",750 "internal": true,751 "reflection": false,752 "title": "Install problem of the lastest pytorch version",753 "clicks": 0754 }755 ],756 "read": true,757 "user_title": null,758 "reply_to_user": {759 "id": 3534,760 "username": "ptrblck",761 "name": "",762 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png"763 },764 "bookmarked": false,765 "actions_summary": [],766 "moderator": false,767 "admin": false,768 "staff": false,769 "user_id": 3471,770 "hidden": false,771 "trust_level": 2,772 "deleted_at": null,773 "user_deleted": false,774 "edit_reason": null,775 "can_view_edit_history": true,776 "wiki": false,777 "post_url": "/t/how-to-get-pixel-wise-bceloss-of-an-end-to-end-framework/14908/5",778 "can_accept_answer": false,779 "can_unaccept_answer": false,780 "accepted_answer": false,781 "topic_accepted_answer": null782 },783 {784 "id": 110658,785 "name": "Jeeyung Kim",786 "username": "Jeeyung_Kim",787 "avatar_template": "/user_avatar/discuss.pytorch.org/jeeyung_kim/{size}/7558_2.png",788 "created_at": "2019-05-09T23:27:58.721Z",789 "cooked": "<p>Hi,</p>\n<p>I thought even though setting <code>reduce=False</code> in bce loss, I sum all losses of pixels but just do not average or not sum of loss of “batch”.</p>\n<p>If I am using <code>reduce=False</code>, is it right that I don’t make summation of loss of pixels?</p>\n<p>Thank you in advance.</p>",790 "post_number": 6,791 "post_type": 1,792 "posts_count": 7,793 "updated_at": "2019-05-09T23:27:58.721Z",794 "reply_count": 1,795 "reply_to_post_number": 2,796 "quote_count": 0,797 "incoming_link_count": 12,798 "reads": 20,799 "readers_count": 19,800 "score": 69.0,801 "yours": false,802 "topic_id": 14908,803 "topic_slug": "how-to-get-pixel-wise-bceloss-of-an-end-to-end-framework",804 "display_username": "Jeeyung Kim",805 "primary_group_name": null,806 "flair_name": null,807 "flair_url": null,808 "flair_bg_color": null,809 "flair_color": null,810 "flair_group_id": null,811 "badges_granted": [],812 "version": 1,813 "can_edit": false,814 "can_delete": false,815 "can_recover": false,816 "can_see_hidden_post": false,817 "can_wiki": false,818 "read": true,819 "user_title": null,820 "reply_to_user": {821 "id": 3534,822 "username": "ptrblck",823 "name": "",824 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png"825 },826 "bookmarked": false,827 "actions_summary": [],828 "moderator": false,829 "admin": false,830 "staff": false,831 "user_id": 12853,832 "hidden": false,833 "trust_level": 1,834 "deleted_at": null,835 "user_deleted": false,836 "edit_reason": null,837 "can_view_edit_history": true,838 "wiki": false,839 "post_url": "/t/how-to-get-pixel-wise-bceloss-of-an-end-to-end-framework/14908/6",840 "can_accept_answer": false,841 "can_unaccept_answer": false,842 "accepted_answer": false,843 "topic_accepted_answer": null844 },845 {846 "id": 110663,847 "name": "",848 "username": "ptrblck",849 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",850 "created_at": "2019-05-09T23:59:21.604Z",851 "cooked": "<p>If you are using <code>reduction='none'</code> (which is the new keyword), the loss won’t be reduced in any dimension:</p>\n<pre><code class=\"lang-python\">x = torch.randn(2, 3, 4, 5, requires_grad=True)\ny = torch.randn(2, 3, 4, 5)\ncriterion = nn.BCEWithLogitsLoss(reduction='none')\nloss = criterion(x, y)\nprint(loss.shape)\n> torch.Size([2, 3, 4, 5])\n</code></pre>",852 "post_number": 7,853 "post_type": 1,854 "posts_count": 7,855 "updated_at": "2019-05-09T23:59:21.604Z",856 "reply_count": 0,857 "reply_to_post_number": 6,858 "quote_count": 0,859 "incoming_link_count": 7,860 "reads": 18,861 "readers_count": 17,862 "score": 38.6,863 "yours": false,864 "topic_id": 14908,865 "topic_slug": "how-to-get-pixel-wise-bceloss-of-an-end-to-end-framework",866 "display_username": "",867 "primary_group_name": null,868 "flair_name": null,869 "flair_url": null,870 "flair_bg_color": null,871 "flair_color": null,872 "flair_group_id": null,873 "badges_granted": [],874 "version": 1,875 "can_edit": false,876 "can_delete": false,877 "can_recover": false,878 "can_see_hidden_post": false,879 "can_wiki": false,880 "read": true,881 "user_title": "",882 "reply_to_user": {883 "id": 12853,884 "username": "Jeeyung_Kim",885 "name": "Jeeyung Kim",886 "avatar_template": "/user_avatar/discuss.pytorch.org/jeeyung_kim/{size}/7558_2.png"887 },888 "bookmarked": false,889 "actions_summary": [],890 "moderator": true,891 "admin": true,892 "staff": true,893 "user_id": 3534,894 "hidden": false,895 "trust_level": 2,896 "deleted_at": null,897 "user_deleted": false,898 "edit_reason": null,899 "can_view_edit_history": true,900 "wiki": false,901 "post_url": "/t/how-to-get-pixel-wise-bceloss-of-an-end-to-end-framework/14908/7",902 "can_accept_answer": false,903 "can_unaccept_answer": false,904 "accepted_answer": false,905 "topic_accepted_answer": null906 }907 ],908 "stream": [909 37980,910 37982,911 38012,912 38020,913 38043,914 110658,915 110663916 ]917 },918 "timeline_lookup": [919 [920 1,921 2782922 ],923 [924 6,925 2361926 ]927 ],928 "suggested_topics": [929 {930 "fancy_title": "I am unable to export my model properly and use it through onnxruntime",931 "id": 217523,932 "title": "I am unable to export my model properly and use it through onnxruntime",933 "slug": "i-am-unable-to-export-my-model-properly-and-use-it-through-onnxruntime",934 "posts_count": 4,935 "reply_count": 2,936 "highest_post_number": 4,937 "image_url": null,938 "created_at": "2025-03-06T15:25:11.690Z",939 "last_posted_at": "2025-03-07T01:19:16.265Z",940 "bumped": true,941 "bumped_at": "2025-03-07T01:19:16.265Z",942 "archetype": "regular",943 "unseen": false,944 "pinned": false,945 "unpinned": null,946 "visible": true,947 "closed": false,948 "archived": false,949 "bookmarked": null,950 "liked": null,951 "tags_descriptions": {},952 "like_count": 0,953 "views": 103,954 "category_id": 5,955 "featured_link": null,956 "has_accepted_answer": false,957 "posters": [958 {959 "extras": "latest",960 "description": "Original Poster, Most Recent Poster",961 "user": {962 "id": 71147,963 "username": "yinjun1131",964 "name": "yinjun",965 "avatar_template": "/letter_avatar_proxy/v4/letter/y/439d5e/{size}.png",966 "trust_level": 1967 }968 },969 {970 "extras": null,971 "description": "Frequent Poster",972 "user": {973 "id": 3534,974 "username": "ptrblck",975 "name": "",976 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",977 "admin": true,978 "moderator": true,979 "trust_level": 2980 }981 }982 ]983 },984 {985 "fancy_title": "Issue with Ground Truth Mapping: Class IDs from a Different Dataset Mapped to COCO Class Names",986 "id": 218115,987 "title": "Issue with Ground Truth Mapping: Class IDs from a Different Dataset Mapped to COCO Class Names",988 "slug": "issue-with-ground-truth-mapping-class-ids-from-a-different-dataset-mapped-to-coco-class-names",989 "posts_count": 1,990 "reply_count": 0,991 "highest_post_number": 1,992 "image_url": null,993 "created_at": "2025-03-21T13:03:24.338Z",994 "last_posted_at": "2025-03-21T13:03:24.382Z",995 "bumped": true,996 "bumped_at": "2025-03-21T13:03:24.382Z",997 "archetype": "regular",998 "unseen": false,999 "pinned": false,1000 "unpinned": null,1001 "visible": true,1002 "closed": false,1003 "archived": false,1004 "bookmarked": null,1005 "liked": null,1006 "tags_descriptions": {},1007 "like_count": 0,1008 "views": 30,1009 "category_id": 5,1010 "featured_link": null,1011 "has_accepted_answer": false,1012 "posters": [1013 {1014 "extras": "latest single",1015 "description": "Original Poster, Most Recent Poster",1016 "user": {1017 "id": 83397,1018 "username": "AGH",1019 "name": "AGH",1020 "avatar_template": "/letter_avatar_proxy/v4/letter/a/90db22/{size}.png",1021 "trust_level": 01022 }1023 }1024 ]1025 },1026 {1027 "fancy_title": "Multiclass semantic segmentation giving zero in all output channels except for the first channel",1028 "id": 215788,1029 "title": "Multiclass semantic segmentation giving zero in all output channels except for the first channel",1030 "slug": "multiclass-semantic-segmentation-giving-zero-in-all-output-channels-except-for-the-first-channel",1031 "posts_count": 6,1032 "reply_count": 4,1033 "highest_post_number": 6,1034 "image_url": null,1035 "created_at": "2025-01-23T20:54:22.497Z",1036 "last_posted_at": "2025-01-23T21:05:06.364Z",1037 "bumped": true,1038 "bumped_at": "2025-01-23T21:05:06.364Z",1039 "archetype": "regular",1040 "unseen": false,1041 "pinned": false,1042 "unpinned": null,1043 "visible": true,1044 "closed": false,1045 "archived": false,1046 "bookmarked": null,1047 "liked": null,1048 "tags_descriptions": {},1049 "like_count": 0,1050 "views": 49,1051 "category_id": 5,1052 "featured_link": null,1053 "has_accepted_answer": false,1054 "posters": [1055 {1056 "extras": null,1057 "description": "Original Poster",1058 "user": {1059 "id": 82180,1060 "username": "Amit_Sur",1061 "name": "Amit Sur",1062 "avatar_template": "/user_avatar/discuss.pytorch.org/amit_sur/{size}/75195_2.png",1063 "trust_level": 11064 }1065 },1066 {1067 "extras": "latest",1068 "description": "Most Recent Poster",1069 "user": {1070 "id": 3534,1071 "username": "ptrblck",1072 "name": "",1073 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",1074 "admin": true,1075 "moderator": true,1076 "trust_level": 21077 }1078 }1079 ]1080 },1081 {1082 "fancy_title": "Function selection for upsampling 1.5 times in gan",1083 "id": 216973,1084 "title": "Function selection for upsampling 1.5 times in gan",1085 "slug": "function-selection-for-upsampling-1-5-times-in-gan",1086 "posts_count": 2,1087 "reply_count": 0,1088 "highest_post_number": 2,1089 "image_url": null,1090 "created_at": "2025-02-21T03:31:16.600Z",1091 "last_posted_at": "2025-02-22T02:47:27.869Z",1092 "bumped": true,1093 "bumped_at": "2025-02-22T02:47:27.869Z",1094 "archetype": "regular",1095 "unseen": false,1096 "pinned": false,1097 "unpinned": null,1098 "visible": true,1099 "closed": false,1100 "archived": false,1101 "bookmarked": null,1102 "liked": null,1103 "tags_descriptions": {},1104 "like_count": 0,1105 "views": 49,1106 "category_id": 5,1107 "featured_link": null,1108 "has_accepted_answer": false,1109 "posters": [1110 {1111 "extras": null,1112 "description": "Original Poster",1113 "user": {1114 "id": 81867,1115 "username": "2209262843",1116 "name": "璐 璐",1117 "avatar_template": "/user_avatar/discuss.pytorch.org/2209262843/{size}/74890_2.png",1118 "trust_level": 11119 }1120 },1121 {1122 "extras": "latest",1123 "description": "Most Recent Poster",1124 "user": {1125 "id": 5995,1126 "username": "Mohammad_Hassan_Soha",1127 "name": "Mohammad Hassan Sohan Ajini",1128 "avatar_template": "/user_avatar/discuss.pytorch.org/mohammad_hassan_soha/{size}/16288_2.png",1129 "trust_level": 21130 }1131 }1132 ]1133 },1134 {1135 "fancy_title": "Model input shape doesnt match",1136 "id": 218986,1137 "title": "Model input shape doesnt match",1138 "slug": "model-input-shape-doesnt-match",1139 "posts_count": 3,1140 "reply_count": 0,1141 "highest_post_number": 3,1142 "image_url": null,1143 "created_at": "2025-04-12T10:05:57.752Z",1144 "last_posted_at": "2025-04-12T11:03:27.263Z",1145 "bumped": true,1146 "bumped_at": "2025-04-12T11:03:27.263Z",1147 "archetype": "regular",1148 "unseen": false,1149 "pinned": false,1150 "unpinned": null,1151 "visible": true,1152 "closed": false,1153 "archived": false,1154 "bookmarked": null,1155 "liked": null,1156 "tags_descriptions": {},1157 "like_count": 0,1158 "views": 56,1159 "category_id": 5,1160 "featured_link": null,1161 "has_accepted_answer": true,1162 "posters": [1163 {1164 "extras": "latest single",1165 "description": "Original Poster, Most Recent Poster, Accepted Answer",1166 "user": {1167 "id": 83767,1168 "username": "lukasnol",1169 "name": "",1170 "avatar_template": "/letter_avatar_proxy/v4/letter/l/c89c15/{size}.png",1171 "trust_level": 01172 }1173 }1174 ]1175 }1176 ],1177 "tags_descriptions": {},1178 "fancy_title": "How to get pixel-wise BCELoss of an end to end framework?",1179 "id": 14908,1180 "title": "How to get pixel-wise BCELoss of an end to end framework?",1181 "posts_count": 7,1182 "created_at": "2018-03-14T13:35:48.153Z",1183 "views": 2007,1184 "reply_count": 5,1185 "like_count": 1,1186 "last_posted_at": "2019-05-09T23:59:21.604Z",1187 "visible": true,1188 "closed": false,1189 "archived": false,1190 "has_summary": false,1191 "archetype": "regular",1192 "slug": "how-to-get-pixel-wise-bceloss-of-an-end-to-end-framework",1193 "category_id": 5,1194 "word_count": 296,1195 "deleted_at": null,1196 "user_id": 3471,1197 "featured_link": null,1198 "pinned_globally": false,1199 "pinned_at": null,1200 "pinned_until": null,