运行inference_fcnn.py进行验证时出现以下错误
Traceback (most recent call last):
File "/content/DeepRiverFCN/inference_fcnn.py", line 9, in
import segmentation_models as sm
File "/content/DeepRiverFCN/segmentation_models/init.py", line 1, in
from .segmentation_models import *
File "/content/DeepRiverFCN/segmentation_models/segmentation_models/init.py", line 4, in
from . import base
ImportError: cannot import name 'base' from partially initialized module 'segmentation_models.segmentation_models' (most likely due to a circular import) (/content/DeepRiverFCN/segmentation_models/segmentation_models/init.py)
没有在项目中找到相对应的base模块,我是菜鸟,请求解答,感谢!!
运行inference_fcnn.py进行验证时出现以下错误 Traceback (most recent call last): File "/content/DeepRiverFCN/inference_fcnn.py", line 9, in
import segmentation_models as sm
File "/content/DeepRiverFCN/segmentation_models/init.py", line 1, in
from .segmentation_models import *
File "/content/DeepRiverFCN/segmentation_models/segmentation_models/init.py", line 4, in
from . import base
ImportError: cannot import name 'base' from partially initialized module 'segmentation_models.segmentation_models' (most likely due to a circular import) (/content/DeepRiverFCN/segmentation_models/segmentation_models/init.py)
没有在项目中找到相对应的base模块,我是菜鸟,请求解答,感谢!!