Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is Problem? [Bug]: Traceback (most recent call last): File "train.py", line 9, in <module> from damo.apis import Trainer ModuleNotFoundError: No module named 'damo.apis' #114

Open
3 tasks done
Picrew opened this issue Jun 20, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@Picrew
Copy link

Picrew commented Jun 20, 2023

Before Reporting

  • I have pulled the latest code of main branch to run again and the bug still existed. 我已经拉取了主分支上最新的代码,重新运行之后,问题仍不能解决。

  • I have read the README carefully and no error occured during the installation process. (Otherwise, we recommand that you can ask a question using the Question template) 我已经仔细阅读了README上的操作指引,并且在安装过程中没有错误发生。(否则,我们建议您使用Question模板向我们进行提问)

Search before reporting

  • I have searched the DAMO-YOLO issues and found no similar bugs. 我已经在issue列表中搜索但是没有发现类似的bug报告。

OS

ubuntu

Device

2080ti

CUDA version

11.3

TensorRT version

no

Python version

3.8

PyTorch version

1.12

torchvision version

配套

Describe the bug

Traceback (most recent call last):
File "train.py", line 9, in
from damo.apis import Trainer
ModuleNotFoundError: No module named 'damo.apis'

To Reproduce

Traceback (most recent call last):
File "train.py", line 9, in
from damo.apis import Trainer
ModuleNotFoundError: No module named 'damo.apis'

Hyper-parameters/Configs

Traceback (most recent call last):
File "train.py", line 9, in
from damo.apis import Trainer
ModuleNotFoundError: No module named 'damo.apis'

Logs

Traceback (most recent call last):
File "train.py", line 9, in
from damo.apis import Trainer
ModuleNotFoundError: No module named 'damo.apis'

Screenshots

Traceback (most recent call last):
File "train.py", line 9, in
from damo.apis import Trainer
ModuleNotFoundError: No module named 'damo.apis'

Additional

Traceback (most recent call last):
File "train.py", line 9, in
from damo.apis import Trainer
ModuleNotFoundError: No module named 'damo.apis'

@Picrew Picrew added the bug Something isn't working label Jun 20, 2023
@yanrihong
Copy link

have u solved that? i have the same problem

@mellow-75
Copy link

@yanrihong did you find any solution to it ?? i am having the same problem

@LiaoZihZrong
Copy link

use export PYTHONPATH=current_project_path'
and see if it can run successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants