ModuleNotFoundError:没有名为efficiencynet.tfkeras的模块

时间:2019-08-15 00:11:44

标签: python keras

我尝试做import segmentation_models as sm,但是遇到一个错误,说找不到efficientnet。因此,我做了pip install efficientnet,然后再试一次。我现在得到了ModuleNotFoundError: no module named efficientnet.tfkeras,即使安装了Keras即可使用from keras.models import *或使用Keras完成其他任何操作

如何摆脱这个错误?

1 个答案:

答案 0 :(得分:0)

要安装细分模型,请使用以下命令:pip install git+https://github.com/qubvel/segmentation_models