You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
不同级别目录的.py文件不能相互调用
Traceback (most recent call last):
File "segment/predict.py", line 24, in
from models.common import DetectMultiBackend
File "/mnt/yolov7-segmentation/models/common.py", line 28, in
from utils.general import (LOGGER, ROOT, Profile, check_requirements, check_suffix, check_version, colorstr,
ModuleNotFoundError: No module named 'utils.general'
The text was updated successfully, but these errors were encountered:
@2662448726! Uninstall the utils package with the mentioned command below and then try again. Seems like the utils package is pre-installed and the code is using the function from that package instead of a specifically defined and implemented function.
不同级别目录的.py文件不能相互调用
Traceback (most recent call last):
File "segment/predict.py", line 24, in
from models.common import DetectMultiBackend
File "/mnt/yolov7-segmentation/models/common.py", line 28, in
from utils.general import (LOGGER, ROOT, Profile, check_requirements, check_suffix, check_version, colorstr,
ModuleNotFoundError: No module named 'utils.general'
The text was updated successfully, but these errors were encountered: