Anurag1734/cuda-error-resolution-analysis
07
1[2 {3 "post_stream": {4 "posts": [5 {6 "id": 293754,7 "name": "LALIT VYAS",8 "username": "vyaslkv",9 "avatar_template": "/user_avatar/discuss.pytorch.org/vyaslkv/{size}/20509_2.png",10 "created_at": "2021-07-03T10:24:41.220Z",11 "cooked": "<p>I have eye glasses images simple with white background which pretrained model which be best for feature extraction for similar image finding and classification of different types of images.</p>",12 "post_number": 1,13 "post_type": 1,14 "posts_count": 1,15 "updated_at": "2021-07-03T10:24:41.220Z",16 "reply_count": 0,17 "reply_to_post_number": null,18 "quote_count": 0,19 "incoming_link_count": 8,20 "reads": 5,21 "readers_count": 4,22 "score": 41.0,23 "yours": false,24 "topic_id": 125703,25 "topic_slug": "which-imagenet-model-to-use",26 "display_username": "LALIT VYAS",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": 27578,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/which-imagenet-model-to-use/125703/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 "stream": [64 29375465 ]66 },67 "timeline_lookup": [68 [69 1,70 157571 ]72 ],73 "suggested_topics": [74 {75 "fancy_title": "KeyError:’Keypoints’ in Pytorch-How to resolve this?",76 "id": 213064,77 "title": "KeyError:'Keypoints' in Pytorch-How to resolve this?",78 "slug": "keyerror-keypoints-in-pytorch-how-to-resolve-this",79 "posts_count": 3,80 "reply_count": 3,81 "highest_post_number": 5,82 "image_url": null,83 "created_at": "2024-11-17T06:23:24.945Z",84 "last_posted_at": "2024-11-25T01:32:02.991Z",85 "bumped": true,86 "bumped_at": "2024-11-25T01:32:02.991Z",87 "archetype": "regular",88 "unseen": false,89 "pinned": false,90 "unpinned": null,91 "visible": true,92 "closed": false,93 "archived": false,94 "bookmarked": null,95 "liked": null,96 "tags_descriptions": {},97 "like_count": 0,98 "views": 185,99 "category_id": 5,100 "featured_link": null,101 "has_accepted_answer": false,102 "posters": [103 {104 "extras": null,105 "description": "Original Poster",106 "user": {107 "id": 80946,108 "username": "Mudith_Nahata",109 "name": "Mudith Nahata",110 "avatar_template": "/letter_avatar_proxy/v4/letter/m/ed8c4c/{size}.png",111 "trust_level": 1112 }113 },114 {115 "extras": "latest",116 "description": "Most Recent Poster",117 "user": {118 "id": 74591,119 "username": "UMAR_MASUD",120 "name": "UMAR MASUD",121 "avatar_template": "/user_avatar/discuss.pytorch.org/umar_masud/{size}/68863_2.png",122 "trust_level": 2123 }124 }125 ]126 },127 {128 "fancy_title": "Extracting Swin-Vit backbone",129 "id": 212799,130 "title": "Extracting Swin-Vit backbone",131 "slug": "extracting-swin-vit-backbone",132 "posts_count": 1,133 "reply_count": 0,134 "highest_post_number": 1,135 "image_url": null,136 "created_at": "2024-11-11T09:54:48.491Z",137 "last_posted_at": "2024-11-11T09:54:48.540Z",138 "bumped": true,139 "bumped_at": "2024-11-11T09:54:48.540Z",140 "archetype": "regular",141 "unseen": false,142 "pinned": false,143 "unpinned": null,144 "visible": true,145 "closed": false,146 "archived": false,147 "bookmarked": null,148 "liked": null,149 "tags_descriptions": {},150 "like_count": 0,151 "views": 196,152 "category_id": 5,153 "featured_link": null,154 "has_accepted_answer": false,155 "posters": [156 {157 "extras": "latest single",158 "description": "Original Poster, Most Recent Poster",159 "user": {160 "id": 56688,161 "username": "ima",162 "name": "Imantha gunasekera",163 "avatar_template": "/letter_avatar_proxy/v4/letter/i/67e7ee/{size}.png",164 "trust_level": 1165 }166 }167 ]168 },169 {170 "fancy_title": "RuntimeError: CUDA error: CUDA-capable device(s) is/are busy or unavailable",171 "id": 214729,172 "title": "RuntimeError: CUDA error: CUDA-capable device(s) is/are busy or unavailable",173 "slug": "runtimeerror-cuda-error-cuda-capable-device-s-is-are-busy-or-unavailable",174 "posts_count": 2,175 "reply_count": 0,176 "highest_post_number": 2,177 "image_url": null,178 "created_at": "2024-12-28T15:57:04.895Z",179 "last_posted_at": "2025-04-17T07:39:33.479Z",180 "bumped": true,181 "bumped_at": "2025-04-17T07:39:33.479Z",182 "archetype": "regular",183 "unseen": false,184 "pinned": false,185 "unpinned": null,186 "visible": true,187 "closed": false,188 "archived": false,189 "bookmarked": null,190 "liked": null,191 "tags_descriptions": {},192 "like_count": 0,193 "views": 242,194 "category_id": 5,195 "featured_link": null,196 "has_accepted_answer": false,197 "posters": [198 {199 "extras": null,200 "description": "Original Poster",201 "user": {202 "id": 81748,203 "username": "Abdellah_Bousouf",204 "name": "Abdellah Bousouf",205 "avatar_template": "/user_avatar/discuss.pytorch.org/abdellah_bousouf/{size}/74754_2.png",206 "trust_level": 1207 }208 },209 {210 "extras": "latest",211 "description": "Most Recent Poster",212 "user": {213 "id": 10120,214 "username": "johann-petrak",215 "name": "Johann Petrak",216 "avatar_template": "/user_avatar/discuss.pytorch.org/johann-petrak/{size}/44372_2.png",217 "trust_level": 2218 }219 }220 ]221 },222 {223 "fancy_title": "How to combine pre-trained weights of components from different multimodal LLMs?",224 "id": 215119,225 "title": "How to combine pre-trained weights of components from different multimodal LLMs?",226 "slug": "how-to-combine-pre-trained-weights-of-components-from-different-multimodal-llms",227 "posts_count": 1,228 "reply_count": 0,229 "highest_post_number": 1,230 "image_url": null,231 "created_at": "2025-01-08T12:57:20.583Z",232 "last_posted_at": "2025-01-08T12:57:20.618Z",233 "bumped": true,234 "bumped_at": "2025-01-08T12:57:20.618Z",235 "archetype": "regular",236 "unseen": false,237 "pinned": false,238 "unpinned": null,239 "visible": true,240 "closed": false,241 "archived": false,242 "bookmarked": null,243 "liked": null,244 "tags_descriptions": {},245 "like_count": 0,246 "views": 42,247 "category_id": 5,248 "featured_link": null,249 "has_accepted_answer": false,250 "posters": [251 {252 "extras": "latest single",253 "description": "Original Poster, Most Recent Poster",254 "user": {255 "id": 81933,256 "username": "tcm",257 "name": "Minh Tu",258 "avatar_template": "/user_avatar/discuss.pytorch.org/tcm/{size}/74956_2.png",259 "trust_level": 1260 }261 }262 ]263 },264 {265 "fancy_title": "Multiclass semantic segmentation giving zero in all output channels except for the first channel",266 "id": 215788,267 "title": "Multiclass semantic segmentation giving zero in all output channels except for the first channel",268 "slug": "multiclass-semantic-segmentation-giving-zero-in-all-output-channels-except-for-the-first-channel",269 "posts_count": 6,270 "reply_count": 4,271 "highest_post_number": 6,272 "image_url": null,273 "created_at": "2025-01-23T20:54:22.497Z",274 "last_posted_at": "2025-01-23T21:05:06.364Z",275 "bumped": true,276 "bumped_at": "2025-01-23T21:05:06.364Z",277 "archetype": "regular",278 "unseen": false,279 "pinned": false,280 "unpinned": null,281 "visible": true,282 "closed": false,283 "archived": false,284 "bookmarked": null,285 "liked": null,286 "tags_descriptions": {},287 "like_count": 0,288 "views": 49,289 "category_id": 5,290 "featured_link": null,291 "has_accepted_answer": false,292 "posters": [293 {294 "extras": null,295 "description": "Original Poster",296 "user": {297 "id": 82180,298 "username": "Amit_Sur",299 "name": "Amit Sur",300 "avatar_template": "/user_avatar/discuss.pytorch.org/amit_sur/{size}/75195_2.png",301 "trust_level": 1302 }303 },304 {305 "extras": "latest",306 "description": "Most Recent Poster",307 "user": {308 "id": 3534,309 "username": "ptrblck",310 "name": "",311 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",312 "admin": true,313 "moderator": true,314 "trust_level": 2315 }316 }317 ]318 }319 ],320 "tags_descriptions": {},321 "fancy_title": "Which imagenet model to use",322 "id": 125703,323 "title": "Which imagenet model to use",324 "posts_count": 1,325 "created_at": "2021-07-03T10:24:41.157Z",326 "views": 276,327 "reply_count": 0,328 "like_count": 0,329 "last_posted_at": "2021-07-03T10:24:41.220Z",330 "visible": true,331 "closed": false,332 "archived": false,333 "has_summary": false,334 "archetype": "regular",335 "slug": "which-imagenet-model-to-use",336 "category_id": 5,337 "word_count": 29,338 "deleted_at": null,339 "user_id": 27578,340 "featured_link": null,341 "pinned_globally": false,342 "pinned_at": null,343 "pinned_until": null,344 "image_url": null,345 "slow_mode_seconds": 0,346 "draft": null,347 "draft_key": "topic_125703",348 "draft_sequence": null,349 "unpinned": null,350 "pinned": false,351 "current_post_number": 1,352 "highest_post_number": 1,353 "deleted_by": null,354 "actions_summary": [355 {356 "id": 4,357 "count": 0,358 "hidden": false,359 "can_act": false360 },361 {362 "id": 8,363 "count": 0,364 "hidden": false,365 "can_act": false366 },367 {368 "id": 10,369 "count": 0,370 "hidden": false,371 "can_act": false372 },373 {374 "id": 7,375 "count": 0,376 "hidden": false,377 "can_act": false378 }379 ],380 "chunk_size": 20,381 "bookmarked": false,382 "topic_timer": null,383 "message_bus_last_id": 0,384 "participant_count": 1,385 "show_read_indicator": false,386 "thumbnails": null,387 "slow_mode_enabled_until": null,388 "can_vote": false,389 "vote_count": 0,390 "user_voted": false,391 "discourse_zendesk_plugin_zendesk_id": null,392 "discourse_zendesk_plugin_zendesk_url": "https://your-url.zendesk.com/agent/tickets/",393 "details": {394 "can_edit": false,395 "notification_level": 1,396 "participants": [397 {398 "id": 27578,399 "username": "vyaslkv",400 "name": "LALIT VYAS",401 "avatar_template": "/user_avatar/discuss.pytorch.org/vyaslkv/{size}/20509_2.png",402 "post_count": 1,403 "primary_group_name": null,404 "flair_name": null,405 "flair_url": null,406 "flair_color": null,407 "flair_bg_color": null,408 "flair_group_id": null,409 "trust_level": 1410 }411 ],412 "created_by": {413 "id": 27578,414 "username": "vyaslkv",415 "name": "LALIT VYAS",416 "avatar_template": "/user_avatar/discuss.pytorch.org/vyaslkv/{size}/20509_2.png"417 },418 "last_poster": {419 "id": 27578,420 "username": "vyaslkv",421 "name": "LALIT VYAS",422 "avatar_template": "/user_avatar/discuss.pytorch.org/vyaslkv/{size}/20509_2.png"423 }424 },425 "bookmarks": []426 },427 {428 "post_stream": {429 "posts": [430 {431 "id": 257328,432 "name": "Federico Strati",433 "username": "fstrati70",434 "avatar_template": "/letter_avatar_proxy/v4/letter/f/5f9b8f/{size}.png",435 "created_at": "2021-01-15T16:44:33.944Z",436 "cooked": "<p>I’m trying to interpret the output of FasterRCNN in C++ and I’m fighting with the GenericDict type.</p>\n<p>My code is as follows:</p>\n<pre><code class=\"lang-auto\">#include <opencv4/opencv2/opencv.hpp>\n#include <opencv4/opencv2/shape.hpp>\n#include <opencv4/opencv2/imgcodecs.hpp>\n#include <opencv4/opencv2/highgui.hpp>\n#include <opencv4/opencv2/imgproc.hpp>\n#include <opencv4/opencv2/core/utility.hpp>\n#include <opencv4/opencv2/core/mat.hpp>\n\n#include <c10/cuda/CUDAStream.h>\n#include <torch/csrc/autograd/grad_mode.h>\n\n#include <torch/csrc/api/include/torch/torch.h>\n#include <torch/script.h>\n#include <torchvision/vision.h>\n#include <torchvision/nms.h>\n\n#include <iostream>\n#include <memory>\n#include <string>\n\nint main(int argc, const char* argv[])\n{\n if (argc != 3)\n {\n printf(\"usage: %s <path-to-exported-script-module> <image_to_test>\\n\",argv[0]);\n return -1;\n }\n\n std::string module_filename = argv[1];\n std::string image_file = argv[2];\n\n try\n {\n cv::Mat input_img = cv::imread(image_file, cv::IMREAD_GRAYSCALE);\n\n torch::autograd::AutoGradMode guard(false);\n // Deserialize the ScriptModule from a file using torch::jit::load().\n torch::jit::script::Module module = torch::jit::load(module_filename);\n\n assert(module.buffers().size() > 0);\n\n module.eval();\n\n // Assume that the entire model is on the same device.\n // We just put input to this device.\n auto device = (*std::begin(module.buffers())).device();\n\n const int height = input_img.rows;\n const int width = input_img.cols;\n const int channels = 1;\n\n auto input = torch::from_blob(input_img.data, {height, width, channels}, torch::kUInt8);\n // HWC to CHW\n // input = input.to(device, torch::kFloat).permute({2, 0, 1}).contiguous();\n input = input.to(device, torch::kFloat).permute({2, 0, 1}).contiguous();\n\n // run the network\n std::vector<at::Tensor> inputs;\n inputs.push_back(input);\n auto output = module.forward({inputs});\n if (device.is_cuda())\n c10::cuda::getCurrentCUDAStream().synchronize();\n\n std::cout << \"output: \" << output << std::endl;\n\n auto outputs = output.toTuple()->elements();\n\n std::cout << \"outputs: \" << outputs << std::endl;\n\n for( auto& elem : outputs )\n {\n std::cout << \"elem: \" << elem << std::endl;\n if( elem.isGenericDict() )\n {\n std::cout << \"elem is generic dict: \" << elem << std::endl;\n c10::Dict<c10::IValue, c10::IValue> dict = elem.toGenericDict();\n\n auto elem_vector_0 = dict.at(c10::IValue(\"scores\")).toIntVector();\n auto elem_vector_1 = dict.at(c10::IValue(\"boxes\")).toIntVector();\n auto elem_vector_2 = dict.at(c10::IValue(\"labels\")).toIntVector();\n\n for( auto& ee0 : elem_vector_0 )\n {\n std::cout << \"elem_vector_0\" << ee0 << std::endl;\n }\n for( auto& ee0 : elem_vector_1 )\n {\n std::cout << \"elem_vector_1\" << ee0 << std::endl;\n }\n for( auto& ee0 : elem_vector_2 )\n {\n std::cout << \"elem_vector_2\" << ee0 << std::endl;\n }\n }\n }\n\n cv::namedWindow(\"Display Image\", cv::WINDOW_AUTOSIZE );\n cv::imshow(\"Display Image\", input_img);\n cv::waitKey(0);\n }\n catch(const c10::Error& e)\n {\n std::cerr << e.what() << std::endl;\n return -1;\n }\n catch(const cv::Exception& e)\n {\n std::cerr << e.what() << std::endl;\n return -1;\n }\n catch(const std::exception& e)\n {\n std::cerr << e.what() << std::endl;\n return -1;\n }\n catch(...)\n {\n std::cerr << \"Unknown error\" << std::endl;\n return -1;\n }\n\n std::cout << \"ok\\n\";\n return 0;\n}\n</code></pre>\n<p>and the output is:</p>\n<pre><code class=\"lang-auto\">(base) fstrati@fstrati-desktop:~/libtorch_shared_cuda_10.1/load_and_run_model/Release$ ./load_and_run_model ./torch_script_v0.2.pt test_img.png \n[W faster_rcnn.py:95] Warning: RCNN always returns a (Losses, Detections) tuple in scripting (function )\noutput: ({}, [{boxes: [ CPUFloatType{0,4} ], labels: [ CPULongType{0} ], scores: [ CPUFloatType{0} ]}])\noutputs: {} [{boxes: [ CPUFloatType{0,4} ], labels: [ CPULongType{0} ], scores: [ CPUFloatType{0} ]}]\nelem: {}\nelem is generic dict: {}\nArgument passed to at() was not in the map.\n</code></pre>\n<p>I’m struggling to find a way to extract the boxes, labels and scores from the dictionary GenericDict.</p>\n<p>This map is strange, I cannot iterate on it and I cannot access first and second types… with it->first it->second</p>\n<p>Any ideas ?</p>\n<p>Thanks in advance</p>",437 "post_number": 1,438 "post_type": 1,439 "posts_count": 9,440 "updated_at": "2021-01-15T16:44:33.944Z",441 "reply_count": 0,442 "reply_to_post_number": null,443 "quote_count": 0,444 "incoming_link_count": 490,445 "reads": 27,446 "readers_count": 26,447 "score": 2470.4,448 "yours": false,449 "topic_id": 108959,450 "topic_slug": "question-on-how-to-interpret-the-output-of-fasterrcnn-in-c-with-the-genericdict-type",451 "display_username": "Federico Strati",452 "primary_group_name": null,453 "flair_name": null,454 "flair_url": null,455 "flair_bg_color": null,456 "flair_color": null,457 "flair_group_id": null,458 "badges_granted": [],459 "version": 1,460 "can_edit": false,461 "can_delete": false,462 "can_recover": false,463 "can_see_hidden_post": false,464 "can_wiki": false,465 "read": true,466 "user_title": null,467 "bookmarked": false,468 "actions_summary": [469 {470 "id": 2,471 "count": 1472 }473 ],474 "moderator": false,475 "admin": false,476 "staff": false,477 "user_id": 41063,478 "hidden": false,479 "trust_level": 1,480 "deleted_at": null,481 "user_deleted": false,482 "edit_reason": null,483 "can_view_edit_history": true,484 "wiki": false,485 "post_url": "/t/question-on-how-to-interpret-the-output-of-fasterrcnn-in-c-with-the-genericdict-type/108959/1",486 "can_accept_answer": false,487 "can_unaccept_answer": false,488 "accepted_answer": false,489 "topic_accepted_answer": null,490 "can_vote": false491 },492 {493 "id": 269879,494 "name": "",495 "username": "ms28",496 "avatar_template": "/letter_avatar_proxy/v4/letter/m/bbce88/{size}.png",497 "created_at": "2021-03-12T16:26:45.040Z",498 "cooked": "<p>Hi, I am having the same problem. Have you found a solution ?</p>",499 "post_number": 2,500 "post_type": 1,501 "posts_count": 9,502 "updated_at": "2021-03-12T16:26:45.040Z",503 "reply_count": 0,504 "reply_to_post_number": null,505 "quote_count": 0,506 "incoming_link_count": 5,507 "reads": 22,508 "readers_count": 21,509 "score": 29.4,510 "yours": false,511 "topic_id": 108959,512 "topic_slug": "question-on-how-to-interpret-the-output-of-fasterrcnn-in-c-with-the-genericdict-type",513 "display_username": "",514 "primary_group_name": null,515 "flair_name": null,516 "flair_url": null,517 "flair_bg_color": null,518 "flair_color": null,519 "flair_group_id": null,520 "badges_granted": [],521 "version": 1,522 "can_edit": false,523 "can_delete": false,524 "can_recover": false,525 "can_see_hidden_post": false,526 "can_wiki": false,527 "read": true,528 "user_title": null,529 "bookmarked": false,530 "actions_summary": [],531 "moderator": false,532 "admin": false,533 "staff": false,534 "user_id": 43027,535 "hidden": false,536 "trust_level": 1,537 "deleted_at": null,538 "user_deleted": false,539 "edit_reason": null,540 "can_view_edit_history": true,541 "wiki": false,542 "post_url": "/t/question-on-how-to-interpret-the-output-of-fasterrcnn-in-c-with-the-genericdict-type/108959/2",543 "can_accept_answer": false,544 "can_unaccept_answer": false,545 "accepted_answer": false,546 "topic_accepted_answer": null547 },548 {549 "id": 287827,550 "name": "Mikhail Miha",551 "username": "Mikhail_Miha",552 "avatar_template": "/user_avatar/discuss.pytorch.org/mikhail_miha/{size}/30049_2.png",553 "created_at": "2021-06-02T21:09:52.164Z",554 "cooked": "<p>Hi! I’ve got the same. Did you overcame that obstacle? Could you advise something?</p>",555 "post_number": 4,556 "post_type": 1,557 "posts_count": 9,558 "updated_at": "2021-06-02T21:10:36.499Z",559 "reply_count": 0,560 "reply_to_post_number": null,561 "quote_count": 0,562 "incoming_link_count": 12,563 "reads": 19,564 "readers_count": 18,565 "score": 63.8,566 "yours": false,567 "topic_id": 108959,568 "topic_slug": "question-on-how-to-interpret-the-output-of-fasterrcnn-in-c-with-the-genericdict-type",569 "display_username": "Mikhail Miha",570 "primary_group_name": null,571 "flair_name": null,572 "flair_url": null,573 "flair_bg_color": null,574 "flair_color": null,575 "flair_group_id": null,576 "badges_granted": [],577 "version": 1,578 "can_edit": false,579 "can_delete": false,580 "can_recover": false,581 "can_see_hidden_post": false,582 "can_wiki": false,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": 43732,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/question-on-how-to-interpret-the-output-of-fasterrcnn-in-c-with-the-genericdict-type/108959/4",599 "can_accept_answer": false,600 "can_unaccept_answer": false,601 "accepted_answer": false,602 "topic_accepted_answer": null603 },604 {605 "id": 293563,606 "name": "Kou Wei Bin",607 "username": "KouWeiBin",608 "avatar_template": "/user_avatar/discuss.pytorch.org/kouweibin/{size}/39771_2.png",609 "created_at": "2021-07-02T06:59:30.822Z",610 "cooked": "<p>you can try following code:</p>\n<pre><code class=\"lang-auto\">\n auto val_out = out[1].toList().get(0).toGenericDict();\n auto boxes = val_out.at(\"boxes\");\n auto scores = val_out.at(\"scores\");\n\n\n at::Tensor bbox = boxes.toTensor().data();\n at::Tensor bscore = scores.toTensor().data();\n</code></pre>",611 "post_number": 5,612 "post_type": 1,613 "posts_count": 9,614 "updated_at": "2021-07-02T06:59:30.822Z",615 "reply_count": 1,616 "reply_to_post_number": null,617 "quote_count": 0,618 "incoming_link_count": 4,619 "reads": 19,620 "readers_count": 18,621 "score": 43.8,622 "yours": false,623 "topic_id": 108959,624 "topic_slug": "question-on-how-to-interpret-the-output-of-fasterrcnn-in-c-with-the-genericdict-type",625 "display_username": "Kou Wei Bin",626 "primary_group_name": null,627 "flair_name": null,628 "flair_url": null,629 "flair_bg_color": null,630 "flair_color": null,631 "flair_group_id": null,632 "badges_granted": [],633 "version": 1,634 "can_edit": false,635 "can_delete": false,636 "can_recover": false,637 "can_see_hidden_post": false,638 "can_wiki": false,639 "read": true,640 "user_title": null,641 "bookmarked": false,642 "actions_summary": [643 {644 "id": 2,645 "count": 1646 }647 ],648 "moderator": false,649 "admin": false,650 "staff": false,651 "user_id": 46718,652 "hidden": false,653 "trust_level": 1,654 "deleted_at": null,655 "user_deleted": false,656 "edit_reason": null,657 "can_view_edit_history": true,658 "wiki": false,659 "post_url": "/t/question-on-how-to-interpret-the-output-of-fasterrcnn-in-c-with-the-genericdict-type/108959/5",660 "can_accept_answer": false,661 "can_unaccept_answer": false,662 "accepted_answer": false,663 "topic_accepted_answer": null664 },665 {666 "id": 293567,667 "name": "Kou Wei Bin",668 "username": "KouWeiBin",669 "avatar_template": "/user_avatar/discuss.pytorch.org/kouweibin/{size}/39771_2.png",670 "created_at": "2021-07-02T07:10:57.597Z",671 "cooked": "<p>Can you share me your code which is used to convert the model trained by python to Torchscript model? Actually I used my code to convert. but the torchscipt model always occur issue in forward function.</p>",672 "post_number": 6,673 "post_type": 1,674 "posts_count": 9,675 "updated_at": "2021-07-02T07:10:57.597Z",676 "reply_count": 0,677 "reply_to_post_number": null,678 "quote_count": 0,679 "incoming_link_count": 1,680 "reads": 18,681 "readers_count": 17,682 "score": 8.6,683 "yours": false,684 "topic_id": 108959,685 "topic_slug": "question-on-how-to-interpret-the-output-of-fasterrcnn-in-c-with-the-genericdict-type",686 "display_username": "Kou Wei Bin",687 "primary_group_name": null,688 "flair_name": null,689 "flair_url": null,690 "flair_bg_color": null,691 "flair_color": null,692 "flair_group_id": null,693 "badges_granted": [],694 "version": 1,695 "can_edit": false,696 "can_delete": false,697 "can_recover": false,698 "can_see_hidden_post": false,699 "can_wiki": false,700 "read": true,701 "user_title": null,702 "bookmarked": false,703 "actions_summary": [],704 "moderator": false,705 "admin": false,706 "staff": false,707 "user_id": 46718,708 "hidden": false,709 "trust_level": 1,710 "deleted_at": null,711 "user_deleted": false,712 "edit_reason": null,713 "can_view_edit_history": true,714 "wiki": false,715 "post_url": "/t/question-on-how-to-interpret-the-output-of-fasterrcnn-in-c-with-the-genericdict-type/108959/6",716 "can_accept_answer": false,717 "can_unaccept_answer": false,718 "accepted_answer": false,719 "topic_accepted_answer": null720 },721 {722 "id": 293665,723 "name": "Mikhail Miha",724 "username": "Mikhail_Miha",725 "avatar_template": "/user_avatar/discuss.pytorch.org/mikhail_miha/{size}/30049_2.png",726 "created_at": "2021-07-02T16:32:53.419Z",727 "cooked": "<p>Yes it works!!! <img src=\"https://discuss.pytorch.org/images/emoji/apple/+1.png?v=9\" title=\":+1:\" class=\"emoji\" alt=\":+1:\"></p>",728 "post_number": 7,729 "post_type": 1,730 "posts_count": 9,731 "updated_at": "2021-07-02T16:32:53.419Z",732 "reply_count": 1,733 "reply_to_post_number": 5,734 "quote_count": 0,735 "incoming_link_count": 0,736 "reads": 17,737 "readers_count": 16,738 "score": 8.4,739 "yours": false,740 "topic_id": 108959,741 "topic_slug": "question-on-how-to-interpret-the-output-of-fasterrcnn-in-c-with-the-genericdict-type",742 "display_username": "Mikhail Miha",743 "primary_group_name": null,744 "flair_name": null,745 "flair_url": null,746 "flair_bg_color": null,747 "flair_color": null,748 "flair_group_id": null,749 "badges_granted": [],750 "version": 1,751 "can_edit": false,752 "can_delete": false,753 "can_recover": false,754 "can_see_hidden_post": false,755 "can_wiki": false,756 "read": true,757 "user_title": null,758 "reply_to_user": {759 "id": 46718,760 "username": "KouWeiBin",761 "name": "Kou Wei Bin",762 "avatar_template": "/user_avatar/discuss.pytorch.org/kouweibin/{size}/39771_2.png"763 },764 "bookmarked": false,765 "actions_summary": [],766 "moderator": false,767 "admin": false,768 "staff": false,769 "user_id": 43732,770 "hidden": false,771 "trust_level": 1,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/question-on-how-to-interpret-the-output-of-fasterrcnn-in-c-with-the-genericdict-type/108959/7",778 "can_accept_answer": false,779 "can_unaccept_answer": false,780 "accepted_answer": false,781 "topic_accepted_answer": null782 },783 {784 "id": 293719,785 "name": "Kou Wei Bin",786 "username": "KouWeiBin",787 "avatar_template": "/user_avatar/discuss.pytorch.org/kouweibin/{size}/39771_2.png",788 "created_at": "2021-07-03T00:20:05.597Z",789 "cooked": "<p>I am very glad that it can benefit for you.<br>\ncan you share me your code which is used to convert the the trained model by python to Torchscript?</p>",790 "post_number": 8,791 "post_type": 1,792 "posts_count": 9,793 "updated_at": "2021-07-03T00:20:05.597Z",794 "reply_count": 1,795 "reply_to_post_number": 7,796 "quote_count": 0,797 "incoming_link_count": 2,798 "reads": 14,799 "readers_count": 13,800 "score": 17.8,801 "yours": false,802 "topic_id": 108959,803 "topic_slug": "question-on-how-to-interpret-the-output-of-fasterrcnn-in-c-with-the-genericdict-type",804 "display_username": "Kou Wei Bin",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": 43732,822 "username": "Mikhail_Miha",823 "name": "Mikhail Miha",824 "avatar_template": "/user_avatar/discuss.pytorch.org/mikhail_miha/{size}/30049_2.png"825 },826 "bookmarked": false,827 "actions_summary": [],828 "moderator": false,829 "admin": false,830 "staff": false,831 "user_id": 46718,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/question-on-how-to-interpret-the-output-of-fasterrcnn-in-c-with-the-genericdict-type/108959/8",840 "can_accept_answer": false,841 "can_unaccept_answer": false,842 "accepted_answer": false,843 "topic_accepted_answer": null844 },845 {846 "id": 293743,847 "name": "Mikhail Miha",848 "username": "Mikhail_Miha",849 "avatar_template": "/user_avatar/discuss.pytorch.org/mikhail_miha/{size}/30049_2.png",850 "created_at": "2021-07-03T07:14:59.347Z",851 "cooked": "<p>Hello<br>\nWhere to send code?</p>",852 "post_number": 9,853 "post_type": 1,854 "posts_count": 9,855 "updated_at": "2021-07-03T07:14:59.347Z",856 "reply_count": 1,857 "reply_to_post_number": 8,858 "quote_count": 0,859 "incoming_link_count": 1,860 "reads": 13,861 "readers_count": 12,862 "score": 12.6,863 "yours": false,864 "topic_id": 108959,865 "topic_slug": "question-on-how-to-interpret-the-output-of-fasterrcnn-in-c-with-the-genericdict-type",866 "display_username": "Mikhail Miha",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": null,882 "reply_to_user": {883 "id": 46718,884 "username": "KouWeiBin",885 "name": "Kou Wei Bin",886 "avatar_template": "/user_avatar/discuss.pytorch.org/kouweibin/{size}/39771_2.png"887 },888 "bookmarked": false,889 "actions_summary": [],890 "moderator": false,891 "admin": false,892 "staff": false,893 "user_id": 43732,894 "hidden": false,895 "trust_level": 1,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/question-on-how-to-interpret-the-output-of-fasterrcnn-in-c-with-the-genericdict-type/108959/9",902 "can_accept_answer": false,903 "can_unaccept_answer": false,904 "accepted_answer": false,905 "topic_accepted_answer": null906 },907 {908 "id": 293745,909 "name": "Kou Wei Bin",910 "username": "KouWeiBin",911 "avatar_template": "/user_avatar/discuss.pytorch.org/kouweibin/{size}/39771_2.png",912 "created_at": "2021-07-03T07:30:23.450Z",913 "cooked": "<p>Thanks for your reply!</p>\n<p>you can send the code to <a href=\"mailto:qvb751201402@163.com\">qvb751201402@163.com</a>; or you can pose the code between <code> </code> here!</p>",914 "post_number": 10,915 "post_type": 1,916 "posts_count": 9,917 "updated_at": "2021-07-03T07:30:23.450Z",918 "reply_count": 0,919 "reply_to_post_number": 9,920 "quote_count": 0,921 "incoming_link_count": 4,922 "reads": 13,923 "readers_count": 12,924 "score": 22.6,925 "yours": false,926 "topic_id": 108959,927 "topic_slug": "question-on-how-to-interpret-the-output-of-fasterrcnn-in-c-with-the-genericdict-type",928 "display_username": "Kou Wei Bin",929 "primary_group_name": null,930 "flair_name": null,931 "flair_url": null,932 "flair_bg_color": null,933 "flair_color": null,934 "flair_group_id": null,935 "badges_granted": [],936 "version": 1,937 "can_edit": false,938 "can_delete": false,939 "can_recover": false,940 "can_see_hidden_post": false,941 "can_wiki": false,942 "read": true,943 "user_title": null,944 "reply_to_user": {945 "id": 43732,946 "username": "Mikhail_Miha",947 "name": "Mikhail Miha",948 "avatar_template": "/user_avatar/discuss.pytorch.org/mikhail_miha/{size}/30049_2.png"949 },950 "bookmarked": false,951 "actions_summary": [],952 "moderator": false,953 "admin": false,954 "staff": false,955 "user_id": 46718,956 "hidden": false,957 "trust_level": 1,958 "deleted_at": null,959 "user_deleted": false,960 "edit_reason": null,961 "can_view_edit_history": true,962 "wiki": false,963 "post_url": "/t/question-on-how-to-interpret-the-output-of-fasterrcnn-in-c-with-the-genericdict-type/108959/10",964 "can_accept_answer": false,965 "can_unaccept_answer": false,966 "accepted_answer": false,967 "topic_accepted_answer": null968 }969 ],970 "stream": [971 257328,972 269879,973 287827,974 293563,975 293567,976 293665,977 293719,978 293743,979 293745980 ]981 },982 "timeline_lookup": [983 [984 1,985 1744986 ],987 [988 2,989 1688990 ],991 [992 3,993 1606994 ],995 [996 4,997 1577998 ],999 [1000 6,1001 15761002 ]1003 ],1004 "suggested_topics": [1005 {1006 "fancy_title": "TorchScript Model Performance and Multi-Threading Issue",1007 "id": 217089,1008 "title": "TorchScript Model Performance and Multi-Threading Issue",1009 "slug": "torchscript-model-performance-and-multi-threading-issue",1010 "posts_count": 1,1011 "reply_count": 0,1012 "highest_post_number": 1,1013 "image_url": null,1014 "created_at": "2025-02-24T09:04:05.036Z",1015 "last_posted_at": "2025-02-24T09:04:05.077Z",1016 "bumped": true,1017 "bumped_at": "2025-02-24T09:04:05.077Z",1018 "archetype": "regular",1019 "unseen": false,1020 "pinned": false,1021 "unpinned": null,1022 "visible": true,1023 "closed": false,1024 "archived": false,1025 "bookmarked": null,1026 "liked": null,1027 "tags_descriptions": {},1028 "like_count": 0,1029 "views": 37,1030 "category_id": 11,1031 "featured_link": null,1032 "has_accepted_answer": false,1033 "posters": [1034 {1035 "extras": "latest single",1036 "description": "Original Poster, Most Recent Poster",1037 "user": {1038 "id": 69528,1039 "username": "Ella_Mendelson",1040 "name": "Ella Mendelson",1041 "avatar_template": "/user_avatar/discuss.pytorch.org/ella_mendelson/{size}/63999_2.png",1042 "trust_level": 11043 }1044 }1045 ]1046 },1047 {1048 "fancy_title": "Access cuDNN convolution grad input and grad weight computation function",1049 "id": 214064,1050 "title": "Access cuDNN convolution grad input and grad weight computation function",1051 "slug": "access-cudnn-convolution-grad-input-and-grad-weight-computation-function",1052 "posts_count": 3,1053 "reply_count": 0,1054 "highest_post_number": 3,1055 "image_url": null,1056 "created_at": "2024-12-10T16:18:12.287Z",1057 "last_posted_at": "2024-12-13T14:18:10.237Z",1058 "bumped": true,1059 "bumped_at": "2024-12-13T14:24:11.703Z",1060 "archetype": "regular",1061 "unseen": false,1062 "pinned": false,1063 "unpinned": null,1064 "visible": true,1065 "closed": false,1066 "archived": false,1067 "bookmarked": null,1068 "liked": null,1069 "tags_descriptions": {},1070 "like_count": 0,1071 "views": 133,1072 "category_id": 11,1073 "featured_link": null,1074 "has_accepted_answer": true,1075 "posters": [1076 {1077 "extras": "latest",1078 "description": "Original Poster, Most Recent Poster",1079 "user": {1080 "id": 81429,1081 "username": "flauron",1082 "name": "",1083 "avatar_template": "/letter_avatar_proxy/v4/letter/f/ba8739/{size}.png",1084 "trust_level": 11085 }1086 },1087 {1088 "extras": null,1089 "description": "Frequent Poster, Accepted Answer",1090 "user": {1091 "id": 3534,1092 "username": "ptrblck",1093 "name": "",1094 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",1095 "admin": true,1096 "moderator": true,1097 "trust_level": 21098 }1099 }1100 ]1101 },1102 {1103 "fancy_title": "Permute function has the different values in CPP and python3",1104 "id": 215839,1105 "title": "Permute function has the different values in CPP and python3",1106 "slug": "permute-function-has-the-different-values-in-cpp-and-python3",1107 "posts_count": 2,1108 "reply_count": 0,1109 "highest_post_number": 2,1110 "image_url": null,1111 "created_at": "2025-01-24T23:13:40.325Z",1112 "last_posted_at": "2025-01-24T23:35:27.153Z",1113 "bumped": true,1114 "bumped_at": "2025-01-24T23:35:27.153Z",1115 "archetype": "regular",1116 "unseen": false,1117 "pinned": false,1118 "unpinned": null,1119 "visible": true,1120 "closed": false,1121 "archived": false,1122 "bookmarked": null,1123 "liked": null,1124 "tags_descriptions": {},1125 "like_count": 0,1126 "views": 33,1127 "category_id": 11,1128 "featured_link": null,1129 "has_accepted_answer": false,1130 "posters": [1131 {1132 "extras": null,1133 "description": "Original Poster",1134 "user": {1135 "id": 51287,1136 "username": "Qirui_Sun",1137 "name": "Qirui Sun",1138 "avatar_template": "/user_avatar/discuss.pytorch.org/qirui_sun/{size}/44579_2.png",1139 "trust_level": 11140 }1141 },1142 {1143 "extras": "latest",1144 "description": "Most Recent Poster",1145 "user": {1146 "id": 3534,1147 "username": "ptrblck",1148 "name": "",1149 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",1150 "admin": true,1151 "moderator": true,1152 "trust_level": 21153 }1154 }1155 ]1156 },1157 {1158 "fancy_title": "Assigning value in a for loop is very slow",1159 "id": 213604,1160 "title": "Assigning value in a for loop is very slow",1161 "slug": "assigning-value-in-a-for-loop-is-very-slow",1162 "posts_count": 1,1163 "reply_count": 0,1164 "highest_post_number": 1,1165 "image_url": null,1166 "created_at": "2024-11-29T08:43:05.282Z",1167 "last_posted_at": "2024-11-29T08:43:05.332Z",1168 "bumped": true,1169 "bumped_at": "2024-11-29T08:43:05.332Z",1170 "archetype": "regular",1171 "unseen": false,1172 "pinned": false,1173 "unpinned": null,1174 "visible": true,1175 "closed": false,1176 "archived": false,1177 "bookmarked": null,1178 "liked": null,1179 "tags_descriptions": {},1180 "like_count": 0,1181 "views": 24,1182 "category_id": 11,1183 "featured_link": null,1184 "has_accepted_answer": false,1185 "posters": [1186 {1187 "extras": "latest single",1188 "description": "Original Poster, Most Recent Poster",1189 "user": {1190 "id": 81205,1191 "username": "kevin2004",1192 "name": "",1193 "avatar_template": "/user_avatar/discuss.pytorch.org/kevin2004/{size}/74269_2.png",1194 "trust_level": 01195 }1196 }1197 ]1198 },1199 {1200 "fancy_title": "Custom mnist-like dataset",