-
Notifications
You must be signed in to change notification settings - Fork 12
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
Training report error #4
Comments
It was a typo. I've changed 'bfg' to 'bgf'. Thank you! |
@clk-ad 你在导入这个项目的时候,在train.py第七行是否报错,提升未引用包的问题。请问一下你怎么解决的 |
from ...nn.tasks import DetectionModel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
1.root@7s26acs0ob5sl-0:/E22201117/clk/code/BGF-YOLO-main# python yolo/bgf/detect/train.py
Traceback (most recent call last):
File "yolo/bgf/detect/train.py", line 7, in
from ...nn.tasks import DetectionModel
ValueError: attempted relative import beyond top-level package
2.BGF-YOLO/yolo/init.py
from . import bfg
all = 'bfg', # tuple or list
May I ask if it should be bgf?
from . import bgf
all = 'bgf', # tuple or list
The text was updated successfully, but these errors were encountered: