Hi @ptrblck thanks for your responses! Greatly appreciated 
I am curious, why is it not recommended to store the whole python program state? (or as close to that as possible).
I am currently using dill to simulate this as much as possible because my neural network module classes contain pointers to many things, including lambda functions I’d like to restore properly.
reference:

  
      stackoverflow.com
  
  
      
    
  

  Can Python pickle lambda functions? 19



  python, python-2.7, lambda, pickle



  asked by
  
  
    Lars
  
  on 10:52AM - 17 Aug 14 UTC