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

您好,请问在服务器上无法导入nms_rotated_ext这个cpp文件应该如何处理呢,导致无法正常训练 #8

Open
lanmmn opened this issue Nov 13, 2023 · 0 comments

Comments

@lanmmn
Copy link

lanmmn commented Nov 13, 2023

(lanmm) [ai2010813940@g01 yolov7-tiny-obb]$ python train.py
Traceback (most recent call last):
File "/dssg/home/ai2010813940/lzh/yolov7-tiny-obb/train.py", line 18, in
from utils.callbacks import EvalCallback, LossHistory
File "/dssg/home/ai2010813940/lzh/yolov7-tiny-obb/utils/callbacks.py", line 17, in
from .utils_bbox import DecodeBox
File "/dssg/home/ai2010813940/lzh/yolov7-tiny-obb/utils/utils_bbox.py", line 5, in
from utils.nms_rotated import obb_nms
File "/dssg/home/ai2010813940/lzh/yolov7-tiny-obb/utils/nms_rotated/init.py", line 1, in
from .nms_rotated_wrapper import obb_nms, poly_nms
File "/dssg/home/ai2010813940/lzh/yolov7-tiny-obb/utils/nms_rotated/nms_rotated_wrapper.py", line 4, in
from . import nms_rotated_ext
ImportError: cannot import name 'nms_rotated_ext' from partially initialized module 'utils.nms_rotated' (most likely due to a circular import) (/dssg/home/ai2010813940/lzh/yolov7-tiny-obb/utils/nms_rotated/init.py)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant