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…
Why in yacs???the code doesn’t call it at all …
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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:
I’m not quite sure this isn’t working. Any help is appreciated.
Closing following to the comments from @LeviViana
If you can’t import
maskrcnn_benchmark
, this means that your installation didn’t succeed.