ImportError: cannot import name task_evaluation
See original GitHub issueWhen invoke this command:
python2 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
got this error:
Traceback (most recent call last):
File "tools/infer_simple.py", line 42, in <module>
import core.test_engine as infer_engine
File "/home/ylzhao/develop/detectron/lib/core/test_engine.py", line 36, in <module>
from datasets import task_evaluation
ImportError: cannot import name task_evaluation
Issue Analytics
- State:
- Created 6 years ago
- Comments:5
Top Results From Across the Web
Django, ImportError: cannot import name 'task' from 'celery'
I have Django application that was using Celery version 4.4.2, which was working fine. from celery import task import logging @task( ...
Read more >How to Fix ImportError: Cannot Import Name in Python
This error generally occurs when a class cannot be imported due to one of the following reasons: The imported class is in a...
Read more >How to Fix : “ImportError: Cannot import name X” in Python
The following are the major reasons for the occurrence of "ImportError: cannot import name": The imported class is in a circular dependency.
Read more >Flow run with Ray and agent throws: `ImportError: cannot ...
Flow run with Ray and agent throws: ImportError: cannot import name 'SubprocessFlowRunner' from partially initialized module 'prefect.flow_runners' #5976.
Read more >[Solved] ImportError: Cannot Import Name - Python Pool
ImportError : Cannot Import Name: In this article, we will see what are the reasons for importerror cannot import name and find its...
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
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
Encountered same issue, resolved by adding ‘lib’ to python path.
Can’t find lib in detectron anymore! i’m getting the following error while using Detectron as backend: File “tools/test_net.py”, line 41, in <module> from core.test_retinanet import test_retinanet ImportError: cannot import name test_retinanet