-
Notifications
You must be signed in to change notification settings - Fork 5.5k
ImportError: cannot import name task_evaluation #20
Comments
I have the same issue. |
Hi @zhangjinsong3 and @jungalwala, we're unable to reproduce this issue on our side. Could you please both provide us with more information, which might help us identify the issue? In particular:
|
Hi @ir413 , I have the same issue as well. Ubuntu16.04, Python2.7.12, setuptools 38.4.0, Cython 0.27.3. It seems really odd, because Pycharm doesn't give any warning or raise any error. |
I am in the same trouble. |
@Labyrins , maybe you just forgot to do “cd $DETECTRON/lib && make” in the INSTALL.md. |
@XYAskWhy Nope. I already did that and does not work.. thanks for your comment. |
Hi @ir413 ,my computer is Ubuntu 16.04 ,python 2.7 , setuptools 38.4.0, Cython 0.23.4, opencv-python 3.4.0.12..thanks for your comment. |
I have the same issue. |
I had the same issue. I've solved the problem by removing tensorflow from the python path. |
Hi @XYAskWhy and @zhangjinsong3, thank you for the details. We are not able to reproduce this issue using the system/package versions you posted above. Could you please provide information about the exact installation steps you took (w/ commands) and the command you are running when seeing this error? Please also include the complete output of running Additionally, please include the output of the following two commands:
Edit:
|
@assafmus That was the cause of my issue, too! |
@ir413 the output of running: |
@assafmus It works for me too,although I don't know why.Thanks very much! |
@assafmus Thank you so much for your tip! Now, it works! |
@assafmus It works well for me, many thanks. For the record, @ir413 , I removed |
There is a "datasets" submodule in slim: https://github.com/tensorflow/models/tree/master/research/slim/datasets. |
@ppwwyyxx exactly |
Thanks all. |
Traceback (most recent call last):
File "tools/infer_simple.py", line 42, in
import core.test_engine as infer_engine
File "/home/user523/zjs/detectron/lib/core/test_engine.py", line 36, in
from datasets import task_evaluation
ImportError: cannot import name task_evaluation
I have added
detectron/lib
to pythonpath,but it still can not work.The text was updated successfully, but these errors were encountered: