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

需要在同一个环境中同时安装pytorch和tensorflow吗 #18

Open
Ariel-lu opened this issue Aug 5, 2023 · 2 comments
Open

需要在同一个环境中同时安装pytorch和tensorflow吗 #18

Ariel-lu opened this issue Aug 5, 2023 · 2 comments

Comments

@Ariel-lu
Copy link

Ariel-lu commented Aug 5, 2023

您好,我想复现一下代码但是提示No module named 'keras.engine',请问是要把pytorch和tensorflow放在同一个环境中吗?

@taishan1994
Copy link
Owner

您好,我想复现一下代码但是提示No module named 'keras.engine',请问是要把pytorch和tensorflow放在同一个环境中吗?

应该不需要keras了,是哪个地方报错。

@Ariel-lu
Copy link
Author

Ariel-lu commented Aug 6, 2023

谢谢您,是rel_model.py文件中from transformers import *这里报错,我改为from transformers import BertModel之后没有了

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

2 participants