Lightning-AI / deep-learning-project-template

Pytorch Lightning code guideline for conferences
Apache License 2.0
1.24k stars 272 forks source link

Update seed for 1.0.0. TrainResult and EvalResult are deprecated and throws an error #16

Closed NumesSanguis closed 4 years ago

NumesSanguis commented 4 years ago

In my own project using this seed, I updated to 1.0.0rc2 to discover that TrainResult and EvalResult are deprecated.

For example, I got the error: AttributeError: module 'pytorch_lightning' has no attribute 'EvalResult'

It would be great if this repo can be used with the upcoming 1.0.0 release.

NumesSanguis commented 4 years ago

Solved with this commit: https://github.com/PyTorchLightning/deep-learning-project-template/commit/faef5bbf4f3c392b9e4d71e606edaab5ce4d0aaf