Closed xcharxlie closed 3 years ago
I believe I follow the instruction strictly. I have built the detectron2 and run the setup.py, and the Adet folder does exist.
Stupid question. Now I solved it, but now also face a new problem. I will post it in a different thread. Thanks
How did you solve it? Same problem here
你好 问下你是怎么解决的ModuleNotFoundError: No module named 'adet'
你好 问下你是怎么解决的ModuleNotFoundError: No module named 'adet'
he didn't run setup.py
I could’ve really remember how I dealt with it. No adet means something wrong during the installation process. Maybe you could check with other threads. Sorry about that
On Fri, Sep 17, 2021 at 5:13 PM km1562 @.***> wrote:
你好 问下你是怎么解决的ModuleNotFoundError: No module named 'adet'
he didn't run setup.py
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/aim-uofa/AdelaiDet/issues/408#issuecomment-921599471, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM3C5E4JKKBX6ULART5QHGDUCL2BRANCNFSM5AIB52XA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
@xcharxlie how did you solve it?
你好 问下你是怎么解决的ModuleNotFoundError: No module named 'adet'
he didn't run setup.py
我编译了,而且编译成功了,但是还是报这个错误
import sys sys.path.append("/root/thirdparty/detectron2/") sys.path.append("/root/thirdparty/AdelaiDet")
you should put this in the front of your py file.
Now I'm using Ubuntu 16.04 and CUDA10.2, trying to run the ABCnet demo. However, I got a complaint as No module called 'Adet'.
python demo/demo.py --config-file configs/BAText/TotalText/attn_R_50.yaml --input datasets/totaltext/test_images/ --opts MODEL.WEIGHTS tt_attn_R_50.pth
Traceback (most recent call last): File "demo/demo.py", line 13, in
from predictor import VisualizationDemo
File "/home/AdelaiDet/demo/predictor.py", line 16, in
from adet.utils.visualizer import TextVisualizer
ModuleNotFoundError: No module named 'adet'
Thanks for any idea in advance