Open Kao404 opened 4 months ago
Please try the absolute directory path: from BGF-YOLO-main.nn.tasks import DetectionModel
Hello, when I run with your comment. It appears like that. from BGF-YOLO-main.nn.tasks import DetectionModel ^ SyntaxError: invalid syntax
how can I solve it?
Traceback (most recent call last): File "yolo/bgf/detect/train.py", line 7, in
from ...nn.tasks import DetectionModel
ImportError: attempted relative import with no known parent package