Different training effect values

I discovered that training effect values displayed during workout are not the same as values displayed after the workout. And sometimes the difference is quite significant. Is this a bug?

Here are two photos of the same workout just before finish and after it: