‘from keras_contrib.layers import CRF’报错
首先参考from keras_contrib.layers import CRF报错处理
pip install git+https://www.github.com/keras-team/keras-contrib.git
然后报错:‘ERROR: Command errored out with exit status 128:’
参考解决 ERROR: Command errored out with exit status 128: git clone -q
进行如下修改:
pip install git+git://www.github.com/keras-team/keras-contrib.git
ok!
不爽勿喷,拒绝网暴!