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

ImportError: cannot import name 'EPOCH_OUTPUT' from 'pytorch_lightning.utilities.types' #6

Open
nanshanvv opened this issue Apr 26, 2023 · 2 comments

Comments

@nanshanvv
Copy link

When I run the code I get the following error, how do I fix it?
image

@J4k3j4k3
Copy link

I believe this was trained perhaps on a previous version of lightning? But I'm not sure which one. That epoch_output doesnt exist now

@J4k3j4k3
Copy link

Downgrading to pytorch-lightning v1.9,4 fixed that issue for me: pip install pytorch-lightning==1.9.4

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