alexwalterbos / image-reconstruction

Neural Network seminar image reconstruction project
0 stars 0 forks source link

Graphical Exception handling #17

Closed festen closed 10 years ago

festen commented 10 years ago

Added a graphical catcher for uncatched exceptions so that the program doesn't quit but shows the exception

alexwalterbos commented 10 years ago

Does this save the state of the program? Could we attempt to do that before shutting down?

festen commented 10 years ago

You mean saving the GUI state? why would you want to do that? you could save the fittest canvas when an error occurs. You could save the stack trace to a log file or something.

On 2 jun. 2014, at 11:14, Alex Walterbos notifications@github.com wrote:

Does this save the state of the program? Could we attempt to do that before shutting down?

— Reply to this email directly or view it on GitHub.

alexwalterbos commented 10 years ago

No, the same thing you do with the save/load functionality

festen commented 10 years ago

You could, but lots of work because at this scope you don't know anything about the algorithm. It saves a suspended state every 1000th epoch anyway so you can quickly recover if you have save checked while running your algorithm.

alexwalterbos commented 10 years ago

That's true! Nevermind, merging this.