added dealloc correcting spsfy code commited in last commit. Now model_trainer works again
added dealloc correcting spsfy code commited in last commit. Now model_trainer works again

devinamatthews/ctf,devinamatthews/ctf,devinamatthews/ctf