Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: dense is not available with Keras 3 #1

Open
pasdy1 opened this issue Dec 10, 2024 · 4 comments
Open

AttributeError: dense is not available with Keras 3 #1

pasdy1 opened this issue Dec 10, 2024 · 4 comments

Comments

@pasdy1
Copy link

pasdy1 commented Dec 10, 2024

image
报错如下

@zhaoyangpp
Copy link
Owner

已修复

@GBQbq
Copy link

GBQbq commented Dec 11, 2024

微信图片_20241211105235 torchcrf1.3.0版本依赖安装不了,有其他解决方法嘛,替换了其他版本很多依赖又匹配不上,是因为pycharm版本的原因嘛,我是2022的版本

@zhaoyangpp
Copy link
Owner

微信图片_20241211105235 torchcrf1.3.0版本依赖安装不了,有其他解决方法嘛,替换了其他版本很多依赖又匹配不上,是因为pycharm版本的原因嘛,我是2022的版本

可以通过从 GitHub 克隆并手动安装:
git clone https://github.com/kmkurn/pytorch-crf.git
cd pytorch-crf
python setup.py install
即可使用pytorch

@GBQbq
Copy link

GBQbq commented Dec 12, 2024

已解决,感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants