tinyvision / DAMO-YOLO

DAMO-YOLO: a fast and accurate object detection method with some new techs, including NAS backbones, efficient RepGFPN, ZeroHead, AlignedOTA, and distillation enhancement.
Apache License 2.0
3.77k stars 473 forks source link

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 Picrew opened 1 year ago

Picrew commented 1 year ago

Before Reporting

Search before reporting

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'

yanrihong commented 11 months ago

have u solved that? i have the same problem

mellow-75 commented 10 months ago

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

LiaoZihZrong commented 7 months ago

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