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 'd2go.data.fb'

See original GitHub issue

I’ve just rebuilt d2go again in a Docker Container:

When I try to import d2go I get the following error:

>>> import d2go
X11 connection rejected because of wrong authentication.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/appuser/.local/lib/python3.8/site-packages/d2go/__init__.py", line 7, in <module>
    from d2go import initializer, optimizer  # NOQA
  File "/home/appuser/.local/lib/python3.8/site-packages/d2go/initializer.py", line 66, in <module>
    initialize_all()
  File "/home/appuser/.local/lib/python3.8/site-packages/d2go/initializer.py", line 61, in initialize_all
    _register()
  File "/home/appuser/.local/lib/python3.8/site-packages/d2go/initializer.py", line 17, in timed_f
    ret = f(*args, **kwargs)
  File "/home/appuser/.local/lib/python3.8/site-packages/d2go/initializer.py", line 46, in _register
    from d2go.data import dataset_mappers # NOQA
  File "/home/appuser/.local/lib/python3.8/site-packages/d2go/data/__init__.py", line 5, in <module>
    import d2go.data.datasets
  File "/home/appuser/.local/lib/python3.8/site-packages/d2go/data/datasets.py", line 10, in <module>
    from d2go.data.fb.adhoc_hive_dataset import COCOHiveLoaderConfig
ModuleNotFoundError: No module named 'd2go.data.fb'

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
zhanghang1989commented, Jun 21, 2021

Sorry about the issue. Could you comment out these two lines for now? https://github.com/facebookresearch/d2go/commit/58f0ae3daa7114c284f3e7684aa62b763a55148a

0reactions
AaronReidCIcommented, Jun 24, 2021

Sweet - thanks for the quick response!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python ModuleNotFoundError: No module named 'name', with ...
This means that if your program raise an exception different from ModuleNotFoundError or ImportError , it will run silently. Share.
Read more >
The Mobile Vision Team at Facebook Introduces ... - Kaggle
Expanding Detectron2, the Mobile Vision team at Facebook Reality Labs released Detectron2Go (D2Go). D2Go is a new, state-of-the-art extension for training and ...
Read more >
Detectron2 - Object Detection with PyTorch - Gilbert Tanner
Alongside PyTorch version 1.3, Facebook also released a ground-up rewrite of their object detection framework Detectron. The new framework is called ...
Read more >
importerror: cannot import name 'metanet_pb2' from partially ...
ModuleNotFoundError : No module named 'detectron' ... import copy from detectron2.data import build_detection_test_loader from d2go.export.api import ...
Read more >
PyTorch for Jetson - NVIDIA Developer Forums
ModuleNotFoundError : No module named 'torch'. Embedded Realtime Neural Audio ... Can I use d2go made by facebook AI on jetson nano?
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