Sorry to see you here, like any of us. A couple of things to keep in mind here:
Failure is in the eye of the beholder.
A divorce is only a piece of paper.
If you're not ready to give up on your comittment to her, then you get to make that choice. Keep your changes going for you anyway. Whether she's in the picture or not is not relevant to those changes. It's your picture you're changing. And whether or not you do that is really the only measure of success to me. You've got it in yourself to make a happy life. You want her to share it. If she can't see far enough to want to, you've still got it.