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_lightning的版本 #5

Open
lizhixi212 opened this issue Sep 20, 2023 · 2 comments
Open

请问pytorch_lightning的版本 #5

lizhixi212 opened this issue Sep 20, 2023 · 2 comments

Comments

@lizhixi212
Copy link

from pytorch_lightning import Trainer
from pytorch_lightning.utilities.seed import seed_everything

AttributeError: type object 'Trainer' has no attribute 'from_argparse_args'
no seed_everything

希望能得到学长的回复,非常感谢.

@lizhixi212
Copy link
Author

pytorch_lightning 2.xx和1.xx不兼容.
作者应该使用的是1.xx.

@lizhixi212
Copy link
Author

使用1.9.5解决上面问题

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

1 participant