question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

A problem about nms

See original GitHub issue

Hi Rowan, thanks for your codes sharing. However, I find nms.nms_apply(keep, boxes_sorted, nms_thresh) in lib/fpn/nms/functions/nms.py would make pytorch break up. Before I execute that line, the operation of Tensor.cuda()+int() is legal, but after I execute that line this operation will raise error: RuntimeError: cuda runtime error (48) : no kernel image is available for execution on the device at /pytorch/torch/lib/THC/generic/THCTensorMathPairwise.cu:21 when it goes on keep_im + s at line 24. Could you please help me? Thanks!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
alibabadoufucommented, Dec 15, 2019

For those who are still solving this issues, here are the steps you should consider to follow:

  1. Change SM_# (at places listed below) that suits your current GPU cards (see this for your reference)
  • lib/lstm/highway_lstm_cuda/make.sh (line 15)
  • lib/fpn/roi_align/src/cuda/Makefile (line 2)
  • lib/fpn/nms/src/cuda/Makefile (line 2)
  1. Afterwards, you should also delete *.o files (at places listed below) before you try recompiling nms, roi_align and highway_lstm)
  • lib/lstm/highway_lstm_cuda/src/highway_lstm_kernel.cu.o
  • lib/fpn/roi_align/src/cuda/roi_align.cu.o
  • lib/fpn/nms/src/cuda/nms.cu.o
  1. Run ‘make’ in your home directory.

That’s all you need to do to change your faulty SM setup to the correct one.

0reactions
YiwuZhongcommented, Oct 4, 2018

Hi, I’ve met the same problem using Tesla P100. So did you solve your problem only changing from _61 to _60 in 3 files (nms, roi_align and highway_lstm_cuda)? And you said “replaced nms and roi_align with other’s codes”, could you please tell what “other’s codes” did you use to solve the problem? Thanks. 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

No man's sky down? Current problems and outages
Real-time problems and outages for No man's sky. Can't log in? Is the server down? Here you see what is going on.
Read more >
I have an issue to report in NMS - Hello Games' Zendesk
To report a bug, crash or other issue you've experienced, simply head to our dedicated bug reporting form.
Read more >
No Man's Sky Has A Serious Problem - YouTube
No Man's Sky Has A Serious Problem ... Supercharged Slots - The Ultimate Guide - No Man's Sky Waypoint Update NMS Xaine's World...
Read more >
The Problem of Atypical Neuroleptic Malignant Syndrome - PMC
Atypical NMS remains a problematic entity. Current reviews suggest that atypical NMS can be diagnosed with the presentation of three of the four...
Read more >
A problem with nms : r/NoMansSkyTheGame - Reddit
Play in survival or permadeath and you'll find less named systems. also, it seems you're in a very populated area. Travel a long...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found