# 错误1: pip install torchcrf
# 错误2: pip install pytorch-crf==0.4.0
# 解决:如果安装了pytorch-crf==0.4.0需要先卸载:
pip uninstall pytorch-crf==0.4.0 # (没安装过可跳过这一步)
pip install pytorch-crf
03-02
2851
# 错误1: pip install torchcrf
# 错误2: pip install pytorch-crf==0.4.0
# 解决:如果安装了pytorch-crf==0.4.0需要先卸载:
pip uninstall pytorch-crf==0.4.0 # (没安装过可跳过这一步)
pip install pytorch-crf