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.

The nms seems not working?

See original GitHub issue

Thanks for your nice code. In visualize.py I changed the code: retinanet = model.resnet50(num_classes=dataset_val.num_classes(),) retinanet.load_state_dict(torch.load(parser.model)) And I ran this command: python visualize.py --dataset coco --coco_path /data/COCO --model models/coco_resnet_50_map_0_335_state_dict.pt but I got this result: image

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
Lam1360commented, Mar 21, 2019

Hey, I solve this problem! The problem lies in lib/build.sh. What I do is just to add ‘-gencode arch=compute_70,code=sm_70’ (according to my GPU device RTX2070) to the CUDA_ARCH and recompile the NMS extension. Now everything works well! Hope this help someone and sorry for my poor English.

1reaction
mahalingcommented, Nov 12, 2018

Here’s a bug I found in compiling nms… hope it is useful to someone. The build.sh file is saying “$CUDA_ARCH” as a parameter to nvcc command which was not set inside my docker environment. The actual nvcc command goes like the one in the link below. https://github.com/multimodallearning/pytorch-mask-rcnn

I replaced $CUDA_ARCH with --arch=sm_52 (I have a titanx).

I was getting a “no gpu_nms” module found error before and it was gone after compiling nms properly.

Hope this helps someone.

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 >
Fix: No Man's Sky Won't Launch or Not Loading on PC
Launch Steam > Click on Library. · Right-click on No Man's Sky from the list of installed games. · Now, click on Properties...
Read more >
No Man's Sky crashing, or servers not working, Dec 2022
It's playable with multi-player off but it still suffers from frequent crashes which makes the game alot less enjoyable. It seems really messed...
Read more >
Online issues (Solved) :: No Man's Sky General Discussion
Check your anti-virus or firewall and make sure NMS isn't blocked. I've tried this and it seems NMS isn't blocked. #2. Astasia.
Read more >
NMS is not working · Issue #680 · fizyr/keras-retinanet - GitHub
It seems that the NMS is not working. I am using the version from ... Could you show an image of your problem?...
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