Anurag1734/cuda-error-resolution-analysis
07
1[2 {3 "post_stream": {4 "posts": [5 {6 "id": 220320,7 "name": "Zds Alpha",8 "username": "ZdsAlpha",9 "avatar_template": "/user_avatar/discuss.pytorch.org/zdsalpha/{size}/51282_2.png",10 "created_at": "2020-08-12T14:44:35.728Z",11 "cooked": "<p>I am having trouble computing PSNR on entire dataset. My results are not matching. What is the correct way to compute PSNR?</p>\n<ol>\n<li>PSNR = 20 * log10(255.0 / Average_RMSE)</li>\n<li>PSNR = MEAN( PSNR_OF_EACH_IMAGE )</li>\n<li>Compute total Suqare Error of dataset and then average it by dividing total pixels in dataset. Then compute PSNR = 20 * log10( 255.0 / RMSE)</li>\n</ol>\n<p>I tried all three methods but I get slightly more PSNR. For third method, I compared bilinear PSNR of Set14 and got 27.6 while its mentioned as 26.55 in different papers.</p>",12 "post_number": 1,13 "post_type": 1,14 "posts_count": 2,15 "updated_at": "2020-08-12T14:47:08.904Z",16 "reply_count": 0,17 "reply_to_post_number": null,18 "quote_count": 0,19 "incoming_link_count": 1425,20 "reads": 48,21 "readers_count": 47,22 "score": 7134.6,23 "yours": false,24 "topic_id": 92574,25 "topic_slug": "how-to-calculate-psnr-correctly",26 "display_username": "Zds Alpha",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 {45 "id": 2,46 "count": 147 }48 ],49 "moderator": false,50 "admin": false,51 "staff": false,52 "user_id": 29118,53 "hidden": false,54 "trust_level": 2,55 "deleted_at": null,56 "user_deleted": false,57 "edit_reason": null,58 "can_view_edit_history": true,59 "wiki": false,60 "post_url": "/t/how-to-calculate-psnr-correctly/92574/1",61 "can_accept_answer": false,62 "can_unaccept_answer": false,63 "accepted_answer": false,64 "topic_accepted_answer": null,65 "can_vote": false66 },67 {68 "id": 299591,69 "name": "wayne",70 "username": "wayne1226",71 "avatar_template": "/user_avatar/discuss.pytorch.org/wayne1226/{size}/15986_2.png",72 "created_at": "2021-08-05T07:07:05.401Z",73 "cooked": "<p>I have same question among this and here is my analysis about 1 and 2, 3 should be same as 1.<br>\n<div class=\"lightbox-wrapper\"><a class=\"lightbox\" href=\"https://discuss.pytorch.org/uploads/default/original/3X/0/c/0c02abaf81a789d540e75b8bc74d554ea83bfaf1.png\" data-download-href=\"https://discuss.pytorch.org/uploads/default/0c02abaf81a789d540e75b8bc74d554ea83bfaf1\" title=\"MSEANDPSNR\"><img src=\"https://discuss.pytorch.org/uploads/default/optimized/3X/0/c/0c02abaf81a789d540e75b8bc74d554ea83bfaf1_2_353x500.png\" alt=\"MSEANDPSNR\" data-base62-sha1=\"1IfrZufGDYU1Ez6ix182TCxRp8R\" width=\"353\" height=\"500\" srcset=\"https://discuss.pytorch.org/uploads/default/optimized/3X/0/c/0c02abaf81a789d540e75b8bc74d554ea83bfaf1_2_353x500.png, https://discuss.pytorch.org/uploads/default/optimized/3X/0/c/0c02abaf81a789d540e75b8bc74d554ea83bfaf1_2_529x750.png 1.5x, https://discuss.pytorch.org/uploads/default/optimized/3X/0/c/0c02abaf81a789d540e75b8bc74d554ea83bfaf1_2_706x1000.png 2x\" data-dominant-color=\"F7F7F7\"><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\">MSEANDPSNR</span><span class=\"informations\">1654×2339 46.6 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>",74 "post_number": 2,75 "post_type": 1,76 "posts_count": 2,77 "updated_at": "2021-08-05T07:15:33.307Z",78 "reply_count": 0,79 "reply_to_post_number": null,80 "quote_count": 0,81 "incoming_link_count": 18,82 "reads": 20,83 "readers_count": 19,84 "score": 84.0,85 "yours": false,86 "topic_id": 92574,87 "topic_slug": "how-to-calculate-psnr-correctly",88 "display_username": "wayne",89 "primary_group_name": null,90 "flair_name": null,91 "flair_url": null,92 "flair_bg_color": null,93 "flair_color": null,94 "flair_group_id": null,95 "badges_granted": [],96 "version": 2,97 "can_edit": false,98 "can_delete": false,99 "can_recover": false,100 "can_see_hidden_post": false,101 "can_wiki": false,102 "link_counts": [103 {104 "url": "https://discuss.pytorch.org/uploads/default/original/3X/0/c/0c02abaf81a789d540e75b8bc74d554ea83bfaf1.png",105 "internal": true,106 "reflection": false,107 "clicks": 0108 }109 ],110 "read": true,111 "user_title": null,112 "bookmarked": false,113 "actions_summary": [],114 "moderator": false,115 "admin": false,116 "staff": false,117 "user_id": 33155,118 "hidden": false,119 "trust_level": 1,120 "deleted_at": null,121 "user_deleted": false,122 "edit_reason": null,123 "can_view_edit_history": true,124 "wiki": false,125 "post_url": "/t/how-to-calculate-psnr-correctly/92574/2",126 "can_accept_answer": false,127 "can_unaccept_answer": false,128 "accepted_answer": false,129 "topic_accepted_answer": null130 }131 ],132 "stream": [133 220320,134 299591135 ]136 },137 "timeline_lookup": [138 [139 1,140 1900141 ],142 [143 2,144 1543145 ]146 ],147 "suggested_topics": [148 {149 "fancy_title": "Add more feature in last layer",150 "id": 222273,151 "title": "Add more feature in last layer",152 "slug": "add-more-feature-in-last-layer",153 "posts_count": 5,154 "reply_count": 5,155 "highest_post_number": 9,156 "image_url": null,157 "created_at": "2025-08-12T08:22:45.058Z",158 "last_posted_at": "2025-08-19T08:49:24.676Z",159 "bumped": true,160 "bumped_at": "2025-08-19T08:49:24.676Z",161 "archetype": "regular",162 "unseen": false,163 "pinned": false,164 "unpinned": null,165 "visible": true,166 "closed": false,167 "archived": false,168 "bookmarked": null,169 "liked": null,170 "tags_descriptions": {},171 "like_count": 0,172 "views": 87,173 "category_id": 5,174 "featured_link": null,175 "has_accepted_answer": false,176 "posters": [177 {178 "extras": null,179 "description": "Original Poster",180 "user": {181 "id": 85462,182 "username": "Joey1",183 "name": "Joey",184 "avatar_template": "/user_avatar/discuss.pytorch.org/joey1/{size}/74683_2.png",185 "trust_level": 1186 }187 },188 {189 "extras": "latest",190 "description": "Most Recent Poster",191 "user": {192 "id": 41458,193 "username": "J_Johnson",194 "name": "J Johnson",195 "avatar_template": "/user_avatar/discuss.pytorch.org/j_johnson/{size}/55494_2.png",196 "trust_level": 2197 }198 }199 ]200 },201 {202 "fancy_title": "Synthetic Image Model Too Accurate?",203 "id": 222523,204 "title": "Synthetic Image Model Too Accurate?",205 "slug": "synthetic-image-model-too-accurate",206 "posts_count": 4,207 "reply_count": 1,208 "highest_post_number": 4,209 "image_url": null,210 "created_at": "2025-08-20T18:03:46.123Z",211 "last_posted_at": "2025-08-25T07:13:36.566Z",212 "bumped": true,213 "bumped_at": "2025-08-25T07:13:36.566Z",214 "archetype": "regular",215 "unseen": false,216 "pinned": false,217 "unpinned": null,218 "visible": true,219 "closed": false,220 "archived": false,221 "bookmarked": null,222 "liked": null,223 "tags_descriptions": {},224 "like_count": 1,225 "views": 57,226 "category_id": 5,227 "featured_link": null,228 "has_accepted_answer": false,229 "posters": [230 {231 "extras": null,232 "description": "Original Poster",233 "user": {234 "id": 85577,235 "username": "jmartinpizarro",236 "name": "Javier Martín Pizarro",237 "avatar_template": "/user_avatar/discuss.pytorch.org/jmartinpizarro/{size}/78012_2.png",238 "trust_level": 0239 }240 },241 {242 "extras": null,243 "description": "Frequent Poster",244 "user": {245 "id": 18088,246 "username": "KFrank",247 "name": "K. Frank",248 "avatar_template": "/letter_avatar_proxy/v4/letter/k/ecb155/{size}.png",249 "trust_level": 2250 }251 },252 {253 "extras": null,254 "description": "Frequent Poster",255 "user": {256 "id": 77908,257 "username": "mycul",258 "name": "",259 "avatar_template": "/user_avatar/discuss.pytorch.org/mycul/{size}/72394_2.png",260 "trust_level": 2261 }262 },263 {264 "extras": "latest",265 "description": "Most Recent Poster",266 "user": {267 "id": 64923,268 "username": "Gillian",269 "name": "Milani",270 "avatar_template": "/user_avatar/discuss.pytorch.org/gillian/{size}/62054_2.png",271 "trust_level": 1272 }273 }274 ]275 },276 {277 "fancy_title": "Training loop freezes after certain epoch",278 "id": 212248,279 "title": "Training loop freezes after certain epoch",280 "slug": "training-loop-freezes-after-certain-epoch",281 "posts_count": 4,282 "reply_count": 2,283 "highest_post_number": 4,284 "image_url": null,285 "created_at": "2024-10-29T07:43:09.744Z",286 "last_posted_at": "2024-10-30T14:25:54.951Z",287 "bumped": true,288 "bumped_at": "2024-10-30T14:25:54.951Z",289 "archetype": "regular",290 "unseen": false,291 "pinned": false,292 "unpinned": null,293 "visible": true,294 "closed": false,295 "archived": false,296 "bookmarked": null,297 "liked": null,298 "tags_descriptions": {},299 "like_count": 0,300 "views": 360,301 "category_id": 5,302 "featured_link": null,303 "has_accepted_answer": true,304 "posters": [305 {306 "extras": null,307 "description": "Original Poster",308 "user": {309 "id": 80558,310 "username": "Rebantadey",311 "name": "",312 "avatar_template": "/letter_avatar_proxy/v4/letter/r/6f9a4e/{size}.png",313 "trust_level": 1314 }315 },316 {317 "extras": "latest",318 "description": "Most Recent Poster, Accepted Answer",319 "user": {320 "id": 3534,321 "username": "ptrblck",322 "name": "",323 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",324 "admin": true,325 "moderator": true,326 "trust_level": 2327 }328 }329 ]330 },331 {332 "fancy_title": "Why grid_sample over direct indexing?",333 "id": 220437,334 "title": "Why grid_sample over direct indexing?",335 "slug": "why-grid-sample-over-direct-indexing",336 "posts_count": 1,337 "reply_count": 0,338 "highest_post_number": 1,339 "image_url": null,340 "created_at": "2025-05-29T17:57:46.456Z",341 "last_posted_at": "2025-05-29T17:57:46.494Z",342 "bumped": true,343 "bumped_at": "2025-05-29T17:57:46.494Z",344 "archetype": "regular",345 "unseen": false,346 "pinned": false,347 "unpinned": null,348 "visible": true,349 "closed": false,350 "archived": false,351 "bookmarked": null,352 "liked": null,353 "tags_descriptions": {},354 "like_count": 0,355 "views": 24,356 "category_id": 5,357 "featured_link": null,358 "has_accepted_answer": false,359 "posters": [360 {361 "extras": "latest single",362 "description": "Original Poster, Most Recent Poster",363 "user": {364 "id": 84422,365 "username": "jeffrey-ke",366 "name": "Jeffrey Ke",367 "avatar_template": "/user_avatar/discuss.pytorch.org/jeffrey-ke/{size}/77137_2.png",368 "trust_level": 1369 }370 }371 ]372 },373 {374 "fancy_title": "Arcface and metrics",375 "id": 222641,376 "title": "Arcface and metrics",377 "slug": "arcface-and-metrics",378 "posts_count": 1,379 "reply_count": 0,380 "highest_post_number": 1,381 "image_url": null,382 "created_at": "2025-08-25T18:19:04.189Z",383 "last_posted_at": "2025-08-25T18:19:04.242Z",384 "bumped": true,385 "bumped_at": "2025-08-25T18:19:04.242Z",386 "archetype": "regular",387 "unseen": false,388 "pinned": false,389 "unpinned": null,390 "visible": true,391 "closed": false,392 "archived": false,393 "bookmarked": null,394 "liked": null,395 "tags_descriptions": {},396 "like_count": 0,397 "views": 17,398 "category_id": 5,399 "featured_link": null,400 "has_accepted_answer": false,401 "posters": [402 {403 "extras": "latest single",404 "description": "Original Poster, Most Recent Poster",405 "user": {406 "id": 71070,407 "username": "Skyrax",408 "name": "Max",409 "avatar_template": "/letter_avatar_proxy/v4/letter/s/d26b3c/{size}.png",410 "trust_level": 1411 }412 }413 ]414 }415 ],416 "tags_descriptions": {},417 "fancy_title": "How to calculate PSNR correctly?",418 "id": 92574,419 "title": "How to calculate PSNR correctly?",420 "posts_count": 2,421 "created_at": "2020-08-12T14:44:35.659Z",422 "views": 2584,423 "reply_count": 0,424 "like_count": 1,425 "last_posted_at": "2021-08-05T07:07:05.401Z",426 "visible": true,427 "closed": false,428 "archived": false,429 "has_summary": false,430 "archetype": "regular",431 "slug": "how-to-calculate-psnr-correctly",432 "category_id": 5,433 "word_count": 117,434 "deleted_at": null,435 "user_id": 29118,436 "featured_link": null,437 "pinned_globally": false,438 "pinned_at": null,439 "pinned_until": null,440 "image_url": null,441 "slow_mode_seconds": 0,442 "draft": null,443 "draft_key": "topic_92574",444 "draft_sequence": null,445 "unpinned": null,446 "pinned": false,447 "current_post_number": 1,448 "highest_post_number": 2,449 "deleted_by": null,450 "actions_summary": [451 {452 "id": 4,453 "count": 0,454 "hidden": false,455 "can_act": false456 },457 {458 "id": 8,459 "count": 0,460 "hidden": false,461 "can_act": false462 },463 {464 "id": 10,465 "count": 0,466 "hidden": false,467 "can_act": false468 },469 {470 "id": 7,471 "count": 0,472 "hidden": false,473 "can_act": false474 }475 ],476 "chunk_size": 20,477 "bookmarked": false,478 "topic_timer": null,479 "message_bus_last_id": 0,480 "participant_count": 2,481 "show_read_indicator": false,482 "thumbnails": null,483 "slow_mode_enabled_until": null,484 "can_vote": false,485 "vote_count": 0,486 "user_voted": false,487 "discourse_zendesk_plugin_zendesk_id": null,488 "discourse_zendesk_plugin_zendesk_url": "https://your-url.zendesk.com/agent/tickets/",489 "details": {490 "can_edit": false,491 "notification_level": 1,492 "participants": [493 {494 "id": 29118,495 "username": "ZdsAlpha",496 "name": "Zds Alpha",497 "avatar_template": "/user_avatar/discuss.pytorch.org/zdsalpha/{size}/51282_2.png",498 "post_count": 1,499 "primary_group_name": null,500 "flair_name": null,501 "flair_url": null,502 "flair_color": null,503 "flair_bg_color": null,504 "flair_group_id": null,505 "trust_level": 2506 },507 {508 "id": 33155,509 "username": "wayne1226",510 "name": "wayne",511 "avatar_template": "/user_avatar/discuss.pytorch.org/wayne1226/{size}/15986_2.png",512 "post_count": 1,513 "primary_group_name": null,514 "flair_name": null,515 "flair_url": null,516 "flair_color": null,517 "flair_bg_color": null,518 "flair_group_id": null,519 "trust_level": 1520 }521 ],522 "created_by": {523 "id": 29118,524 "username": "ZdsAlpha",525 "name": "Zds Alpha",526 "avatar_template": "/user_avatar/discuss.pytorch.org/zdsalpha/{size}/51282_2.png"527 },528 "last_poster": {529 "id": 33155,530 "username": "wayne1226",531 "name": "wayne",532 "avatar_template": "/user_avatar/discuss.pytorch.org/wayne1226/{size}/15986_2.png"533 }534 },535 "bookmarks": []536 },537 {538 "post_stream": {539 "posts": [540 {541 "id": 299590,542 "name": "wayne",543 "username": "wayne1226",544 "avatar_template": "/user_avatar/discuss.pytorch.org/wayne1226/{size}/15986_2.png",545 "created_at": "2021-08-05T07:00:59.888Z",546 "cooked": "<p>I am working on a image quality assessment tasks and am wondering can we compute the average among a dataset? If we can, what is the correct way to compute it? In my analysis, the <em><strong>method2</strong></em> should be the correcte way, but I don’t know whether this analysis is correct or is there any other method to compute PSNR among a dataset<br>\n<div class=\"lightbox-wrapper\"><a class=\"lightbox\" href=\"https://discuss.pytorch.org/uploads/default/original/3X/0/c/0c02abaf81a789d540e75b8bc74d554ea83bfaf1.png\" data-download-href=\"https://discuss.pytorch.org/uploads/default/0c02abaf81a789d540e75b8bc74d554ea83bfaf1\" title=\"MSEANDPSNR\"><img src=\"https://discuss.pytorch.org/uploads/default/optimized/3X/0/c/0c02abaf81a789d540e75b8bc74d554ea83bfaf1_2_353x500.png\" alt=\"MSEANDPSNR\" data-base62-sha1=\"1IfrZufGDYU1Ez6ix182TCxRp8R\" width=\"353\" height=\"500\" srcset=\"https://discuss.pytorch.org/uploads/default/optimized/3X/0/c/0c02abaf81a789d540e75b8bc74d554ea83bfaf1_2_353x500.png, https://discuss.pytorch.org/uploads/default/optimized/3X/0/c/0c02abaf81a789d540e75b8bc74d554ea83bfaf1_2_529x750.png 1.5x, https://discuss.pytorch.org/uploads/default/optimized/3X/0/c/0c02abaf81a789d540e75b8bc74d554ea83bfaf1_2_706x1000.png 2x\" data-dominant-color=\"F7F7F7\"><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\">MSEANDPSNR</span><span class=\"informations\">1654×2339 46.6 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>",547 "post_number": 1,548 "post_type": 1,549 "posts_count": 1,550 "updated_at": "2021-08-05T07:00:59.888Z",551 "reply_count": 0,552 "reply_to_post_number": null,553 "quote_count": 0,554 "incoming_link_count": 23,555 "reads": 4,556 "readers_count": 3,557 "score": 115.8,558 "yours": false,559 "topic_id": 128601,560 "topic_slug": "what-is-the-correct-way-to-calculate-mean-psnr-among-a-dataset",561 "display_username": "wayne",562 "primary_group_name": null,563 "flair_name": null,564 "flair_url": null,565 "flair_bg_color": null,566 "flair_color": null,567 "flair_group_id": null,568 "badges_granted": [],569 "version": 1,570 "can_edit": false,571 "can_delete": false,572 "can_recover": false,573 "can_see_hidden_post": false,574 "can_wiki": false,575 "link_counts": [576 {577 "url": "https://discuss.pytorch.org/uploads/default/original/3X/0/c/0c02abaf81a789d540e75b8bc74d554ea83bfaf1.png",578 "internal": true,579 "reflection": false,580 "clicks": 0581 }582 ],583 "read": true,584 "user_title": null,585 "bookmarked": false,586 "actions_summary": [],587 "moderator": false,588 "admin": false,589 "staff": false,590 "user_id": 33155,591 "hidden": false,592 "trust_level": 1,593 "deleted_at": null,594 "user_deleted": false,595 "edit_reason": null,596 "can_view_edit_history": true,597 "wiki": false,598 "post_url": "/t/what-is-the-correct-way-to-calculate-mean-psnr-among-a-dataset/128601/1",599 "can_accept_answer": false,600 "can_unaccept_answer": false,601 "accepted_answer": false,602 "topic_accepted_answer": null,603 "can_vote": false604 }605 ],606 "stream": [607 299590608 ]609 },610 "timeline_lookup": [611 [612 1,613 1543614 ]615 ],616 "suggested_topics": [617 {618 "fancy_title": "Semantic Segmentation with Attention based CycleGAN",619 "id": 217647,620 "title": "Semantic Segmentation with Attention based CycleGAN",621 "slug": "semantic-segmentation-with-attention-based-cyclegan",622 "posts_count": 5,623 "reply_count": 1,624 "highest_post_number": 5,625 "image_url": null,626 "created_at": "2025-03-10T06:44:59.887Z",627 "last_posted_at": "2025-03-11T22:57:33.781Z",628 "bumped": true,629 "bumped_at": "2025-03-11T22:57:33.781Z",630 "archetype": "regular",631 "unseen": false,632 "pinned": false,633 "unpinned": null,634 "visible": true,635 "closed": false,636 "archived": false,637 "bookmarked": null,638 "liked": null,639 "tags_descriptions": {},640 "like_count": 0,641 "views": 133,642 "category_id": 5,643 "featured_link": null,644 "has_accepted_answer": false,645 "posters": [646 {647 "extras": null,648 "description": "Original Poster",649 "user": {650 "id": 81422,651 "username": "Idrees11",652 "name": "Idrees Bhat",653 "avatar_template": "/user_avatar/discuss.pytorch.org/idrees11/{size}/74448_2.png",654 "trust_level": 1655 }656 },657 {658 "extras": "latest",659 "description": "Most Recent Poster",660 "user": {661 "id": 18088,662 "username": "KFrank",663 "name": "K. Frank",664 "avatar_template": "/letter_avatar_proxy/v4/letter/k/ecb155/{size}.png",665 "trust_level": 2666 }667 }668 ]669 },670 {671 "fancy_title": "Convert Conv3d to Conv2d but outputs different",672 "id": 212246,673 "title": "Convert Conv3d to Conv2d but outputs different",674 "slug": "convert-conv3d-to-conv2d-but-outputs-different",675 "posts_count": 2,676 "reply_count": 0,677 "highest_post_number": 2,678 "image_url": null,679 "created_at": "2024-10-29T06:46:01.486Z",680 "last_posted_at": "2024-10-29T19:39:20.194Z",681 "bumped": true,682 "bumped_at": "2024-10-29T19:39:20.194Z",683 "archetype": "regular",684 "unseen": false,685 "pinned": false,686 "unpinned": null,687 "visible": true,688 "closed": false,689 "archived": false,690 "bookmarked": null,691 "liked": null,692 "tags_descriptions": {},693 "like_count": 1,694 "views": 205,695 "category_id": 5,696 "featured_link": null,697 "has_accepted_answer": true,698 "posters": [699 {700 "extras": null,701 "description": "Original Poster",702 "user": {703 "id": 80556,704 "username": "fengpings",705 "name": "Tristan",706 "avatar_template": "/user_avatar/discuss.pytorch.org/fengpings/{size}/73648_2.png",707 "trust_level": 0708 }709 },710 {711 "extras": "latest",712 "description": "Most Recent Poster, Accepted Answer",713 "user": {714 "id": 3534,715 "username": "ptrblck",716 "name": "",717 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",718 "admin": true,719 "moderator": true,720 "trust_level": 2721 }722 }723 ]724 },725 {726 "fancy_title": "Functional.nn.grid_sample does not support the bicubic method for 5D tensor",727 "id": 212316,728 "title": "Functional.nn.grid_sample does not support the bicubic method for 5D tensor",729 "slug": "functional-nn-grid-sample-does-not-support-the-bicubic-method-for-5d-tensor",730 "posts_count": 1,731 "reply_count": 0,732 "highest_post_number": 1,733 "image_url": "https://discuss.pytorch.org/uploads/default/optimized/3X/7/2/7276584510bb27cdac0fc29047e8fe2a5f538aa2_2_1024x677.png",734 "created_at": "2024-10-30T12:09:48.157Z",735 "last_posted_at": "2024-10-30T12:09:48.284Z",736 "bumped": true,737 "bumped_at": "2024-10-30T12:09:48.284Z",738 "archetype": "regular",739 "unseen": false,740 "pinned": false,741 "unpinned": null,742 "visible": true,743 "closed": false,744 "archived": false,745 "bookmarked": null,746 "liked": null,747 "tags_descriptions": {},748 "like_count": 0,749 "views": 19,750 "category_id": 5,751 "featured_link": null,752 "has_accepted_answer": false,753 "posters": [754 {755 "extras": "latest single",756 "description": "Original Poster, Most Recent Poster",757 "user": {758 "id": 80581,759 "username": "anitrop",760 "name": "Anitrop",761 "avatar_template": "/user_avatar/discuss.pytorch.org/anitrop/{size}/73666_2.png",762 "trust_level": 1763 }764 }765 ]766 },767 {768 "fancy_title": "Training Time is Increasing per epoch, Can somebody help me?",769 "id": 214900,770 "title": "Training Time is Increasing per epoch, Can somebody help me?",771 "slug": "training-time-is-increasing-per-epoch-can-somebody-help-me",772 "posts_count": 6,773 "reply_count": 4,774 "highest_post_number": 6,775 "image_url": null,776 "created_at": "2025-01-02T17:21:10.454Z",777 "last_posted_at": "2025-01-17T18:10:59.673Z",778 "bumped": true,779 "bumped_at": "2025-01-17T18:10:59.673Z",780 "archetype": "regular",781 "unseen": false,782 "pinned": false,783 "unpinned": null,784 "visible": true,785 "closed": false,786 "archived": false,787 "bookmarked": null,788 "liked": null,789 "tags_descriptions": {},790 "like_count": 3,791 "views": 183,792 "category_id": 5,793 "featured_link": null,794 "has_accepted_answer": true,795 "posters": [796 {797 "extras": "latest",798 "description": "Original Poster, Most Recent Poster",799 "user": {800 "id": 81840,801 "username": "iran_boy",802 "name": "iran boy",803 "avatar_template": "/user_avatar/discuss.pytorch.org/iran_boy/{size}/74864_2.png",804 "trust_level": 0805 }806 },807 {808 "extras": null,809 "description": "Frequent Poster, Accepted Answer",810 "user": {811 "id": 3534,812 "username": "ptrblck",813 "name": "",814 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",815 "admin": true,816 "moderator": true,817 "trust_level": 2818 }819 }820 ]821 },822 {823 "fancy_title": "Why is there such a huge performance gap between bfloat16, float16, and float32?",824 "id": 219536,825 "title": "Why is there such a huge performance gap between bfloat16, float16, and float32?",826 "slug": "why-is-there-such-a-huge-performance-gap-between-bfloat16-float16-and-float32",827 "posts_count": 5,828 "reply_count": 2,829 "highest_post_number": 5,830 "image_url": null,831 "created_at": "2025-04-28T04:53:55.145Z",832 "last_posted_at": "2025-04-29T01:13:37.655Z",833 "bumped": true,834 "bumped_at": "2025-04-29T01:13:37.655Z",835 "archetype": "regular",836 "unseen": false,837 "pinned": false,838 "unpinned": null,839 "visible": true,840 "closed": false,841 "archived": false,842 "bookmarked": null,843 "liked": null,844 "tags_descriptions": {},845 "like_count": 0,846 "views": 332,847 "category_id": 5,848 "featured_link": null,849 "has_accepted_answer": false,850 "posters": [851 {852 "extras": "latest",853 "description": "Original Poster, Most Recent Poster",854 "user": {855 "id": 71147,856 "username": "yinjun1131",857 "name": "yinjun",858 "avatar_template": "/letter_avatar_proxy/v4/letter/y/439d5e/{size}.png",859 "trust_level": 1860 }861 },862 {863 "extras": null,864 "description": "Frequent Poster",865 "user": {866 "id": 3534,867 "username": "ptrblck",868 "name": "",869 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",870 "admin": true,871 "moderator": true,872 "trust_level": 2873 }874 }875 ]876 }877 ],878 "tags_descriptions": {},879 "fancy_title": "What is the correct way to calculate mean PSNR among a dataset?",880 "id": 128601,881 "title": "What is the correct way to calculate mean PSNR among a dataset?",882 "posts_count": 1,883 "created_at": "2021-08-05T07:00:59.817Z",884 "views": 270,885 "reply_count": 0,886 "like_count": 0,887 "last_posted_at": "2021-08-05T07:00:59.888Z",888 "visible": true,889 "closed": false,890 "archived": false,891 "has_summary": false,892 "archetype": "regular",893 "slug": "what-is-the-correct-way-to-calculate-mean-psnr-among-a-dataset",894 "category_id": 5,895 "word_count": 68,896 "deleted_at": null,897 "user_id": 33155,898 "featured_link": null,899 "pinned_globally": false,900 "pinned_at": null,901 "pinned_until": null,902 "image_url": "https://discuss.pytorch.org/uploads/default/optimized/3X/0/c/0c02abaf81a789d540e75b8bc74d554ea83bfaf1_2_724x1024.png",903 "slow_mode_seconds": 0,904 "draft": null,905 "draft_key": "topic_128601",906 "draft_sequence": null,907 "unpinned": null,908 "pinned": false,909 "current_post_number": 1,910 "highest_post_number": 1,911 "deleted_by": null,912 "actions_summary": [913 {914 "id": 4,915 "count": 0,916 "hidden": false,917 "can_act": false918 },919 {920 "id": 8,921 "count": 0,922 "hidden": false,923 "can_act": false924 },925 {926 "id": 10,927 "count": 0,928 "hidden": false,929 "can_act": false930 },931 {932 "id": 7,933 "count": 0,934 "hidden": false,935 "can_act": false936 }937 ],938 "chunk_size": 20,939 "bookmarked": false,940 "topic_timer": null,941 "message_bus_last_id": 0,942 "participant_count": 1,943 "show_read_indicator": false,944 "thumbnails": [945 {946 "max_width": null,947 "max_height": null,948 "width": 1654,949 "height": 2339,950 "url": "https://discuss.pytorch.org/uploads/default/original/3X/0/c/0c02abaf81a789d540e75b8bc74d554ea83bfaf1.png"951 },952 {953 "max_width": 1024,954 "max_height": 1024,955 "width": 724,956 "height": 1024,957 "url": "https://discuss.pytorch.org/uploads/default/optimized/3X/0/c/0c02abaf81a789d540e75b8bc74d554ea83bfaf1_2_724x1024.png"958 }959 ],960 "slow_mode_enabled_until": null,961 "can_vote": false,962 "vote_count": 0,963 "user_voted": false,964 "discourse_zendesk_plugin_zendesk_id": null,965 "discourse_zendesk_plugin_zendesk_url": "https://your-url.zendesk.com/agent/tickets/",966 "details": {967 "can_edit": false,968 "notification_level": 1,969 "participants": [970 {971 "id": 33155,972 "username": "wayne1226",973 "name": "wayne",974 "avatar_template": "/user_avatar/discuss.pytorch.org/wayne1226/{size}/15986_2.png",975 "post_count": 1,976 "primary_group_name": null,977 "flair_name": null,978 "flair_url": null,979 "flair_color": null,980 "flair_bg_color": null,981 "flair_group_id": null,982 "trust_level": 1983 }984 ],985 "created_by": {986 "id": 33155,987 "username": "wayne1226",988 "name": "wayne",989 "avatar_template": "/user_avatar/discuss.pytorch.org/wayne1226/{size}/15986_2.png"990 },991 "last_poster": {992 "id": 33155,993 "username": "wayne1226",994 "name": "wayne",995 "avatar_template": "/user_avatar/discuss.pytorch.org/wayne1226/{size}/15986_2.png"996 }997 },998 "bookmarks": []999 },1000 {1001 "post_stream": {1002 "posts": [1003 {1004 "id": 150995,1005 "name": "",1006 "username": "chunchun",1007 "avatar_template": "/letter_avatar_proxy/v4/letter/c/97f17d/{size}.png",1008 "created_at": "2019-12-06T08:37:11.592Z",1009 "cooked": "<p>I’m testing a object tracker,during running the code,I found that when test the fifth vedio in the dataset,there was an error:CUDA error: out of memory.I can’t know why.<br>\nCould you please tell me some methoda to solve this problem?</p>",1010 "post_number": 1,1011 "post_type": 1,1012 "posts_count": 7,1013 "updated_at": "2019-12-06T08:37:11.592Z",1014 "reply_count": 0,1015 "reply_to_post_number": null,1016 "quote_count": 0,1017 "incoming_link_count": 1207,1018 "reads": 40,1019 "readers_count": 39,1020 "score": 6043.0,1021 "yours": false,1022 "topic_id": 63219,1023 "topic_slug": "cuda-error-out-of-memory-why",1024 "display_username": "",1025 "primary_group_name": null,1026 "flair_name": null,1027 "flair_url": null,1028 "flair_bg_color": null,1029 "flair_color": null,1030 "flair_group_id": null,1031 "badges_granted": [],1032 "version": 1,1033 "can_edit": false,1034 "can_delete": false,1035 "can_recover": false,1036 "can_see_hidden_post": false,1037 "can_wiki": false,1038 "read": true,1039 "user_title": null,1040 "bookmarked": false,1041 "actions_summary": [],1042 "moderator": false,1043 "admin": false,1044 "staff": false,1045 "user_id": 25253,1046 "hidden": false,1047 "trust_level": 1,1048 "deleted_at": null,1049 "user_deleted": false,1050 "edit_reason": null,1051 "can_view_edit_history": true,1052 "wiki": false,1053 "post_url": "/t/cuda-error-out-of-memory-why/63219/1",1054 "can_accept_answer": false,1055 "can_unaccept_answer": false,1056 "accepted_answer": false,1057 "topic_accepted_answer": true,1058 "can_vote": false1059 },1060 {1061 "id": 151083,1062 "name": "Alban D",1063 "username": "albanD",1064 "avatar_template": "/user_avatar/discuss.pytorch.org/alband/{size}/215_2.png",1065 "created_at": "2019-12-06T17:08:14.793Z",1066 "cooked": "<p>Hi,</p>\n<p>This can happen for several reasons. If it happens after a few iteration, this is most likely that you are increasing your GPU memory needs from one iteration to the other, for example if you append to a list whole frames of the video at every iteration of the loop.<br>\nCan you give more details on what you’re doing?</p>",1067 "post_number": 2,1068 "post_type": 1,1069 "posts_count": 7,1070 "updated_at": "2019-12-06T17:08:14.793Z",1071 "reply_count": 1,1072 "reply_to_post_number": null,1073 "quote_count": 0,1074 "incoming_link_count": 6,1075 "reads": 37,1076 "readers_count": 36,1077 "score": 42.4,1078 "yours": false,1079 "topic_id": 63219,1080 "topic_slug": "cuda-error-out-of-memory-why",1081 "display_username": "Alban D",1082 "primary_group_name": null,1083 "flair_name": null,1084 "flair_url": null,1085 "flair_bg_color": null,1086 "flair_color": null,1087 "flair_group_id": null,1088 "badges_granted": [],1089 "version": 1,1090 "can_edit": false,1091 "can_delete": false,1092 "can_recover": false,1093 "can_see_hidden_post": false,1094 "can_wiki": false,1095 "read": true,1096 "user_title": "",1097 "bookmarked": false,1098 "actions_summary": [],1099 "moderator": true,1100 "admin": true,1101 "staff": true,1102 "user_id": 211,1103 "hidden": false,1104 "trust_level": 4,1105 "deleted_at": null,1106 "user_deleted": false,1107 "edit_reason": null,1108 "can_view_edit_history": true,1109 "wiki": false,1110 "post_url": "/t/cuda-error-out-of-memory-why/63219/2",1111 "can_accept_answer": false,1112 "can_unaccept_answer": false,1113 "accepted_answer": false,1114 "topic_accepted_answer": true1115 },1116 {1117 "id": 151163,1118 "name": "",1119 "username": "chunchun",1120 "avatar_template": "/letter_avatar_proxy/v4/letter/c/97f17d/{size}.png",1121 "created_at": "2019-12-07T05:07:28.637Z",1122 "cooked": "<p>Thanks a lot for your attention.<br>\nI use VOT2016 dataset which has many videos as subdatasets to test the tracker finetuning SiamRPN that I add a new feature extraction part to it.And this part will store each frame information just like LSTM.To testify my code of this new part is correct,I just test the whole code without train.Although it works every time,but when the tracker read-in the fifth vedio,there will an error:CUDA error: out of memory.<br>\nI don’t know whether it is because the the code I have added.Could you please tell me how to deal with this?Thanks a lot.</p>",1123 "post_number": 4,1124 "post_type": 1,1125 "posts_count": 7,1126 "updated_at": "2019-12-07T05:07:28.637Z",1127 "reply_count": 1,1128 "reply_to_post_number": 2,1129 "quote_count": 0,1130 "incoming_link_count": 13,1131 "reads": 33,1132 "readers_count": 32,1133 "score": 76.6,1134 "yours": false,1135 "topic_id": 63219,1136 "topic_slug": "cuda-error-out-of-memory-why",1137 "display_username": "",1138 "primary_group_name": null,1139 "flair_name": null,1140 "flair_url": null,1141 "flair_bg_color": null,1142 "flair_color": null,1143 "flair_group_id": null,1144 "badges_granted": [],1145 "version": 1,1146 "can_edit": false,1147 "can_delete": false,1148 "can_recover": false,1149 "can_see_hidden_post": false,1150 "can_wiki": false,1151 "read": true,1152 "user_title": null,1153 "reply_to_user": {1154 "id": 211,1155 "username": "albanD",1156 "name": "Alban D",1157 "avatar_template": "/user_avatar/discuss.pytorch.org/alband/{size}/215_2.png"1158 },1159 "bookmarked": false,1160 "actions_summary": [],1161 "moderator": false,1162 "admin": false,1163 "staff": false,1164 "user_id": 25253,1165 "hidden": false,1166 "trust_level": 1,1167 "deleted_at": null,1168 "user_deleted": false,1169 "edit_reason": null,1170 "can_view_edit_history": true,1171 "wiki": false,1172 "post_url": "/t/cuda-error-out-of-memory-why/63219/4",1173 "can_accept_answer": false,1174 "can_unaccept_answer": false,1175 "accepted_answer": false,1176 "topic_accepted_answer": true1177 },1178 {1179 "id": 151583,1180 "name": "Alban D",1181 "username": "albanD",1182 "avatar_template": "/user_avatar/discuss.pytorch.org/alband/{size}/215_2.png",1183 "created_at": "2019-12-09T20:32:30.084Z",1184 "cooked": "<p>Hi,</p>\n<p>You can easily check the previous code by running it I guess.<br>\nFor the new code, you want to make sure you don’t store too much Tensors that would fill up your memory.<br>\nAlso be careful to use <code>with torch.no_grad():</code> when evaluating your model to reduce memory usage.</p>",1185 "post_number": 5,1186 "post_type": 1,1187 "posts_count": 7,1188 "updated_at": "2019-12-10T03:34:18.221Z",1189 "reply_count": 2,1190 "reply_to_post_number": 4,1191 "quote_count": 0,1192 "incoming_link_count": 8,1193 "reads": 30,1194 "readers_count": 29,1195 "score": 56.0,1196 "yours": false,1197 "topic_id": 63219,1198 "topic_slug": "cuda-error-out-of-memory-why",1199 "display_username": "Alban D",1200 "primary_group_name": null,