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.

ModuleNotFoundError: No module named 'detectron.utils.cython_bbox'

See original GitHub issue
Detectron git:(master) ✗ python tools/infer_simple.py \                                                                     
    --cfg configs/12_2017_baselines/e2e_mask_rcnn_R-101-FPN_2x.yaml \
    --output-dir /tmp/detectron-visualizations \
    --image-ext jpg \
    --wts https://s3-us-west-2.amazonaws.com/detectron/35861858/12_2017_baselines/e2e_mask_rcnn_R-101-FPN_2x.yaml.02_32_51.SgT4y1cO/output/train/coco_2014_train:coco_2014_valminusminival/generalized_rcnn/model_final.pkl \
    demo
Traceback (most recent call last):
  File "tools/infer_simple.py", line 44, in <module>
    import detectron.core.test_engine as infer_engine
  File "....../Detectron/detectron/core/test_engine.py", line 34, in <module>
    from detectron.core.rpn_generator import generate_rpn_on_dataset
  File "....../Detectron/detectron/core/rpn_generator.py", line 41, in <module>
    from detectron.datasets import task_evaluation
  File "....../Detectron/detectron/datasets/task_evaluation.py", line 47, in <module>
    import detectron.datasets.json_dataset_evaluator as json_dataset_evaluator
  File "....../Detectron/detectron/datasets/json_dataset_evaluator.py", line 34, in <module>
    import detectron.utils.boxes as box_utils
  File "....../Detectron/detectron/utils/boxes.py", line 51, in <module>
    import detectron.utils.cython_bbox as cython_bbox
ModuleNotFoundError: No module named 'detectron.utils.cython_bbox'

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
ir413commented, Dec 24, 2018

Hi @jiapei100, have you run make to set up python detectron modules? (as described here) If this doesn’t solve the issue, please re-open with the instructions on how to reproduce together with your system / environment info (following the issue template).

0reactions
jiapei100commented, Oct 19, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

ModuleNotFoundError: No module named 'utils.cython_bbox'
I'm using Windows 10 64 bit, Python 3.10.5, and as far as I can tell I've installed all dependencies including Visual Studio Code...
Read more >
ModuleNotFoundError no module named utils How ... - YouTube
ModuleNotFoundError no module named utilsHow to install curlHow to install pip# 👇️ in a virtual environment or using Python 2pip install ...
Read more >
ModuleNotFoundError:No module named 'utils' - YouTube
Science , Engineering & Technology Related Video Lectures , Courses , Tutorials & Study Materials are Here."School of Engineering" provides ...
Read more >
How To Fix ModuleNotFoundError (No Module Named) in ...
This error is encountered for other popular modules. A separate tutorial exists for each @ utils, mysql, jwt, docker, matplotlib, selenium, pandas, pygame, ......
Read more >
ModuleNotFoundError: No module named 'cython-bbox'
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'cython-bbox' How to remove the Module.
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