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.

How to import cfg from from maskrcnn_benchmark??

See original GitHub issue

❓ Questions and Help

Sorry to ask a stupid question: I am confused by following code in the given demo webcam.py: from maskrcnn_benchmark.config import cfg Firstly, there is no maskrcnn_benchmark folder in current directory; Secondly , the installed package named maskrcnn-benchmark ,instead of maskrcnn_benchmark ,it can not be called directly Using ipdb to debug,and I figure out the location… image Why in yacs???the code doesn’t call it at all …

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
aumurphycommented, May 29, 2019

@LeviViana I followed the linked installation steps (option 1) with one edit - changed cudatoolkit to 10.0. However, when I try to run Mask_R-CNN_demo.ipynb in demo, I get this:

Screen Shot 2019-05-29 at 1 10 11 PM

I’m not quite sure this isn’t working. Any help is appreciated.

0reactions
fmassacommented, Mar 24, 2019

Closing following to the comments from @LeviViana

If you can’t import maskrcnn_benchmark, this means that your installation didn’t succeed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

facebookresearch/maskrcnn-benchmark - GitHub - JOYK
GitHub - facebookresearch/maskrcnn-benchmark: Fast, modular reference ... from maskrcnn_benchmark.config import cfg from predictor import COCODemo ...
Read more >
maskrcnn_benchmark · master · 北屿白 / maskrcnn-benchmark ...
Faster R-CNN and Mask R-CNN in PyTorch 1.0 ; from maskrcnn_benchmark.config import cfg · predictions ; export NGPUS=8 · -m ; export NGPUS=8...
Read more >
vqa-maskrcnn-benchmark - Vedanuj Goswami - GitLab
Fork of Mask-RCNN benchmark for VQA specific pretraining and feature ... from maskrcnn_benchmark.config import cfg from predictor import ...
Read more >
计算机视觉:maskrcnn_benchmark代码平铺 - 51CTO博客
from torch.nn.modules.utils import _ntuple ... from maskrcnn_benchmark.config import cfg ... 计算机视觉:maskrcnn-benchmark学习笔记.
Read more >
Training an Object Detection Model in a few minutes using ...
... it started with maskrcnn benchmark and maskrcnn is mainly for object segmentation. ... from detectron2.engine import DefaultTrainercfg ...
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